No Hotlinking htaccess file
-
Thanks for such a great plugin!
In Advanced settings -> System -> I -> Item 22: Enable photo html access, I have selected create ‘no hotlinking’ .htaccess files. It is writing the .htaccess file, but I am still able to go directly to the image using https://example.com/wp-content/uploads/wppa/1.jpg
The .htaccess file in the /uploads/wppa folder is:
RewriteEngine OnRewriteCond %{HTTP_REFERER} !^http(s)?://(www.)?example.com [NC]RewriteCond %{HTTP_REFERER} !^http(s)?://(www.)?example.com.*$ [NC]RewriteRule .(jpg|jpeg|png|gif|mp4|ogv|webm|mp3|wav|ogg)$ - [NC,F]Any suggestions or is there something I am missing? Thanks for your time.
The topic ‘No Hotlinking htaccess file’ is closed to new replies.