FAQ Database

How to prevent Hot Linking from my site?
This will prevent outside sites from linking and if they do it will show an alternate image.
Please this into a .htaccess file in your main directory.
NOTE: This will not work if you have FrontPage Extensions installed.

Options +SymLinksIfOwnerMatch
RewriteEngine on

RewriteCond %{HTTP_REFERER} !^http://YOURDOMAIN.com.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.YOURDOMAIN.com.*$ [NC]
RewriteRule .*.(gif|GIF|jpg|JPG)$ http://www.YOURDOMAIN.com/hotlink.gif [R,NC]



Copyright (c) 2004. Datona Communications. All rights reserved.