Avoid “Hotlink Protection” feature in cPanel 11.25, 11.26

In cPanel 11.25 and 11.26 (not tested earlier versions) when you add “Hotlink Protection” in cPanel it will add the appropriate mod_rewrite code to all domains, subdomains, add-on domains. It looks similar to this: Code: RewriteEngine on RewriteCond %{HTTP_REFERER} !^http://test-cpanel.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://test-cpanel.com$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.test-cpanel.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.test-cpanel.com$ [NC] RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$…

Share
Read more...