A recent thread on the WebDesign-L raised the question of whether search
engines can detect (and penalize sites for) PHP redirects of the form:

header("Location: http://www.whatever.com/";);

I don't see how that could be the case, since the redirect occurs on the
server before any HTML is output to the browser. Someone else says:

> No, the header() redirect immediately tells the /client/ to make a second
> GET request at a different location and the client (search bot) must
> actively make that 2nd request to the "Location:" URL (what happens if you
> request amazon.com)  Note this is different from simply sniffing the UA
> string from a single request and serving altered content.

What say you, PHP list? Would it be better (in terms of search engine
detection) to use include() to serve different or altered content?

TIA

--
Lowell Allen 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to