htaccess Question
-
I placed a htaccess file in each of my image folders in my blog to try to stop people hotlinking the images. This was the rule that I used:
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^https://(www\.)?yoursite\.com/dir/ [NC
RewriteCond %{HTTP_REFERER} !^$
RewriteRule \.(jpe?g|gif|bmp|png)$ images/nohotlink.jpg [L]The problem with this was that it completely stopped the images from showing up on my blog. Please can someone tell me if this was the incorrect rule to use or point me in the right direction. Thanks for your time I do appreciate it as I am totally new to this particular sort of thing. Cheers,
Mike
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘htaccess Question’ is closed to new replies.