Anti-HotLinking Via .HTACCESS
The below few lines in our.htaccess file are doing an excellent job of protecting me and my wife’s three domains against hotlinking (bandwidth theft).
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://linmu.robert-pace.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://linmu.robert-pace.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://members.robert-pace.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://members.robert-pace.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://mesmeraj.robert-pace.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://mesmeraj.robert-pace.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.robert-pace.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://robert-pace.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.linmu.robert-pace.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.linmu.robert-pace.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.members.robert-pace.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.members.robert-pace.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mesmeraj.robert-pace.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mesmeraj.robert-pace.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.robert-pace.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.robert-pace.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mesmeraj.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mesmeraj.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.lifeisnotmadeup.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.lifeisnotmadeup.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.livejournal.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.livejournal.com$ [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ images/nohotlink.jpg [L]