How do I make redirects in htaccess for traffic comming from "new" google images (google.com/images), instead of the old one (images.google.com) ?
+1
A:
Try this in your .htaccess:
RewriteEngine on
RewriteCond %{HTTP_REFERER} ^http://google.com/images [NC]
RewriteRule .* new-redirect-url [NC,L]
Optionally, you can append R=301 to RewriteRule flags if you wish to do 301 redirect, like: NC,L,R=301
.
Also, adjust referer URL if needed, this is sort of generic solution.
mr.b
2010-07-12 13:17:15