.htaccess & hotlinking pictures
I was just reading over my stats for yesterday and saw quite a few people leeching by directly hotlinking. Should I just block the domains of the leechers or is there a better way to prevent hotlinking?
I was going to use this:
RewriteEngine on
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?http://www.allhiphop.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?http://www.siccness.net/.*$ [NC]
RewriteRule .* - [F,L]
I've never had to do this on my regular webpages so this is a little new to me. Any help would be appreciated.
|