This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Webmaster forum > May 2007 > preventing hotlining





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author preventing hotlining
abracad_1999@yahoo.com

2007-05-30, 6:19 pm

I want to prevent other sites hotlinking to images on my site which
appears as the urls:
japan.twinisles.com
japandesu.com

I have added the following lines to.htacces
RewriteEngine On
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?twinisles\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?japandesu\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?japan.twinisles\.com/ [NC]
RewriteRule .*\.(jpe?g|gif|bmp|png)$ - [F]

However when I test it on sites such as http://www.free-webhosts.com/hotlinking-checker.php
the images still appear.

What am I doing wrong?

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews