I am hoping someone can offer a suggestion that works, we have a couple of images that have been hotlinked, while 1 is essential and 1 has credited the image to us there is a third one that has 3 of our images and they are on a dodgy site which points to porn.
We have tried adding (and others) the following code to the .htaccess file:
Code: Select all
RewriteCond %{HTTP_REFERER} !^http://(.+\.)?xxxxxxx\.xx\.xx/ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !google\. [NC]
RewriteCond %{HTTP_REFERER} !search\?q=cache [NC]
RewriteCond %{HTTP_REFERER} !msn\. [NC]
RewriteCond %{HTTP_REFERER} !yahoo\. [NC]
RewriteRule .*\.(jpe?g|gif|bmp|png|jpg)$ /image/data/nohotlink.jpe [L]
We do have crawltrack and crawlprotect but this still seems to allow hotlinking