Thread: Hotlinker
View Single Post
Old 2003-04-04, 10:59 AM   #1
Picplace
Internet! Is that thing still around?
 
Join Date: Apr 2003
Posts: 6
Hotlinker

Well, I hate hotlinkers, especially when it's my bandwidth.

Of course ew all should have hotlinking blocked, but I know many of us don't for various reasons. So with that, be careful of whitegirl.com blackgirl.com and I'm sure others. I'm showing an IP in my logs for their message boards.

http://66.154.81.226/ubbthreads/ubbthreads.php?Cat=&C=1

Might want to browse around and see if they're hotlinking any of your domains.

If you don't know the .htaccess to stop them here it is:

###STOP HOT LINKERS - BEGIN
RewriteEngine on
RewriteBase /
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://YOURDOMAIN.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.YOURDOMAIN.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://XXX.XXX.XXX.XXX/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://YOURDOMAIN.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.YOURDOMAIN.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://XXX.XXX.XXX.XXX/.*$ [NC]
RewriteRule .*\.(bmp|gif|GIF|jpg|JPG|exe|zip|mpeg|avi|mpg|wmv)$
###STOP HOT LINKERS - END

Obviously you need to change the XXX.XXX.XXX.XXX to your IP
Picplace is offline   Reply With Quote