Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Disabling Hotlink Protection Using FTP

Discussion in 'General Discussion' started by JS_XML, Feb 11, 2018.

  1. JS_XML

    JS_XML Registered

    Joined:
    Feb 11, 2018
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    US
    cPanel Access Level:
    Website Owner
    Is it possible to disable hotlink protection using just FTP?
    My license is expired currently and we are working on fixing it, but I need hotlink protection disabled for a project i'm working on, is it possible to do it manually using ftp?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    41,455
    Likes Received:
    1,608
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    You can download the .htaccess file from the website's document root (e.g. /home/username/public_html/.htaccess), remove the rewrite rules associated with Hotlink Protection (e.g. RewriteCond %{HTTP_REFERER} entries), and then upload the saved .htaccess file back to the account.

    Thank you.
     
Loading...

Share This Page