I'm looking to stop those gallery leeches who scan the quality TGPs for galleries then list them on their own sites and send nothing but shit traffic. Any htaccess wizards out there tell me if im on the right track.
RewriteEngine On
RewriteCond %{HTTP_REFERER} ^http://banned.com/.*\.shtml [NC]
RewriteCond %{HTTP_REFERER} !^http://banned.com/.*\.cgi [NC]
RewriteRule .* http://www.yourdomain.com [R,L]
RewriteEngine On
RewriteCond %{HTTP_REFERER} ^http://banned.com/.*\.shtml [NC]
RewriteCond %{HTTP_REFERER} !^http://banned.com/.*\.cgi [NC]
RewriteRule .* http://www.yourdomain.com [R,L]

Comment