Is .htaccess to stop people from hotlinking your pics.
To prevent hotlinking, simple copy and paste the code below in to a text document and rename it to .htaccess and upload it to your domain root...
Code:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://(www\.)?domain.com(/)?.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?domain.com(/)?.*$ [NC]
RewriteRule .*\.(gif|jpg|jpeg|bmp)$ http://www.domain.com [R,NC]
Make sure you change domain.com to your domain name though for it to work.
I know this is really simple and something a lot of us are already using regularly but ive just been chatting with someone on ICQ who didnt know about this and they have been around for a year or so dealing with people hotlinking their pics!
Regards,
Lee
Bookmarks