Welcome to WebmasterWorld Guest from 220.127.116.11
Forum Moderators: open
if(preg_match("/MSIE/i",$HTTP_USER_AGENT)) header("Location: www.widgets.com");
So the code would detect if the user had an IE browser, and if so, forward them to another URL. Could Google detect this, and if so, they would penalize the site correct?
(edited by: jrap at 4:05 am (utc) on May 26, 2002)
Using redirection is not a good idea, most likely it will be penalized or it will be handled badly (i.e. wrong page indexed).
True cloaking does not return any redirect code(that's how search engines detect redirects), it simply delivers the page to the requesting entity, usually by server side code.
thats what a viewer would see.
now if it was a spider
it would redir to