View Full Version : prevent hotlinking code?
kingping
03-21-2000, 07:56 PM
can someone paste the code to add to your '.htaccess' file to prevent other sites from hotlinking your images.
thank you
shane
03-21-2000, 09:21 PM
AuthUserFile /dev/null
AuthGroupFile /dev/null
RewriteEngine On
RewriteOptions inherit
RewriteCond %{HTTP_REFERER} !^http://www.yourURL.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://yourURL.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://yourIP.*$ [NC]
RewriteRule .*[Jj][Pp][Gg]$|.*[Gg][Ii][Ff]$ http://yoursite/bannerfarm.htm
thats a good one, when they right click to view the broken image they will be redirected to your banner farm http://adultwebmasterinfo.com/ubb/smile.gif
vBulletin® v3.7.3, Copyright ©2000-2012, Jelsoft Enterprises Ltd.