Redirect a visitor based on referer, but not Google crawler
RewriteCond %{http_referer} ^http://([^.]+\.)*(linksite)\.com
RewriteRule ^$ http://siteb.com [R=301,L]
HOWEVER, if a google crawler arrives at my site through that link, I do not want to redirect it, as I'm worried I will lose the PR / link juice if I do that (I'd rather keep that on site A).
Can anyone tell me if a) I'm worrying about nothing, and google crawlers will still see that link as going to Site A, or b) I need to put in a "except for Google crawlers* line in my htaccess? Any thoughts how to do that, if so?
-
mariya20 -
Thanks
{{ DiscussionBoard.errors[8031705].message }} -
-
Night Dreamz -
Thanks
{{ DiscussionBoard.errors[8033215].message }} -
-
phpg -
Thanks
{{ DiscussionBoard.errors[8034616].message }} -