Having moved to a server where I get charged for bandwidth I am keen to remove hotlinking.
I am not too bothered about banning all hotlinking in forums as we do receive traffic from them so I don't want to implement a blanket ban.
I am trying to ban one particular site, and ebay.
I can ban them using a .htaccess file (details below) but this just leaves an empty place holder. I would like to add an alternate image advertising the website instead, the image is in place but just doesn't load in.
Any ideas on what I am doing wrong?
I am not too bothered about banning all hotlinking in forums as we do receive traffic from them so I don't want to implement a blanket ban.
I am trying to ban one particular site, and ebay.
I can ban them using a .htaccess file (details below) but this just leaves an empty place holder. I would like to add an alternate image advertising the website instead, the image is in place but just doesn't load in.
Any ideas on what I am doing wrong?
Code:
RewriteEngine On RewriteCond %{HTTP_REFERER} ^http://(.+\.)?bloguez\.com/ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(.+\.)?omurtlak\.com/ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(.+\.)?ebay\.com/ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(.+\.)?ebay\.co.uk/ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(.+\.)?facebook\.co.uk/ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(.+\.)?facebook\.com/ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(.+\.)?ebay\.co.uk/ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(.+\.)?cgi.ebay\.co.uk/ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(.+\.)?tungstenring\.co.uk/ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(.+\.)?livejournal\.com/ [NC] RewriteRule .*\.(jpe?g|gif|bmp|png)$ qualitysilver.co.uk/acatalog/Stolen-Image.jpg [L]
Comment