Thread: Major Hotlinker
View Single Post
Old 2004-07-27, 08:44 AM   #16
abe
Just because I don't care doesn't mean I don't understand!
 
Join Date: Sep 2003
Location: Belgium
Posts: 99
Quote:
Originally posted by Greenguy
You can redirect them to another domain/page (not on the same domain) by using this:

RewriteEngine on
RewriteOptions inherit
RewriteCond %{HTTP_REFERER} ^.*tbig10k.*$ [OR]
RewriteCond %{HTTP_REFERER} ^.*anotherdomain.*$
RewriteRule /* http://www.redirect-to.com/ [R,L]

If it sees that combo of letters in the referral, it will kick them to the redirect-to domain.

(and please - all you htaccess guru's, if this is incorrect, correct me - LOL)
If you want you can redirect them to another folder on the same domain IF you put a new htaccess in that folder (in which the domains are not redirected)
abe is offline   Reply With Quote