View Single Post
Old 07-01-2009, 11:33 AM  
Doctor Feelgood
Confirmed User
 
Doctor Feelgood's Avatar
 
Industry Role:
Join Date: Nov 2005
Location: RI
Posts: 2,112
Quote:
Originally Posted by CYF View Post
Find it annoying that other sites are hotlinking your images and using your bandwidth?

Here's an easy tutorial I found on how to prevent it.

http://www.serenux.com/?p=465
thats not how to do it!
just put this in the .htaccess file

Code:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?mydomain.com/.*$ [NC]
RewriteRule \.(gif|jpg|js|css)$ - [F]
Doctor Feelgood is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote