Quote:
|
Originally Posted by Doctor Dre
What's the best way to stop it and redirect the traffic ?
I looked at my stats and the movies in one of my galleries are getting twice as much traffic as the gallery had itself ... lol
|
Prob htaccess and permit only your site to display content... something like this...
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^
http://www.domain.com [NC]
RewriteCond %{HTTP_REFERER} !^
http://domain.com [NC]
RewriteCond %{HTTP_REFERER} !^
http://123.456.789.123 [NC]
RewriteCond %{HTTP_REFERER} !^
http://123.456.789.123:80 [NC]
RewriteRule [^/]+\.(exe|mpeg|mpg|avi|mp3|gif|jpg|JPG|GIF|MP3|AVI)$ - [F]
Or if you want to block siterippers and other known grabbers - just say Doc and I'll paste up a list of HTTP user agents you can stuff straight into your htaccess.