View Single Post
Old 01-28-2004, 05:48 AM  
Anothers
Confirmed User
 
Join Date: Nov 2001
Location: Poland
Posts: 219
RewriteEngine on
RewriteCond %{HTTP_REFERER} ^http://(www|directory)?\.google\.com
RewriteRule .* http://www.whereyouwantit.com [R,L]


redirect from google search and google directory

Edit:
you can tweak it a little for country specific google domains like google.ca google.de etc. etc.

RewriteEngine on
RewriteCond %{HTTP_REFERER} ^http://(www|directory)?\.google\.[a-z]{2,3}/
RewriteRule .* http://www.whereyouwantit.com [R,L]

this one should be OK

Last edited by Anothers; 01-28-2004 at 05:55 AM..
Anothers is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote