Re: Can PHP redirects be detected?
| From: | joel boonstra | Date: | Mon, 09 Feb 2004 19:57:53 +0000 |
| Subject: | Re: Can PHP redirects be detected? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-177230@lists.php.net to get a copy of this message | ||
On Mon, Feb 09, 2004 at 02:48:07PM -0500, John W. Holmes wrote:
<snip>
> As for whether a redirect is penalized or not, I doubt it. It'd be in the
> best interest of the search engine to follow the link just like it's going
> to follow any link on a page and index the content. Now, whether the indexed
> content will show up at domain.com in the search engine or
> domain.com/redirected/url/page.php, I don't know.
In my experience, it depends on the status code sent with the redirect.
If it's a 302, then the original URL is indexed. If it's a 301 (Moved
Permanently), then the redirected URL is indexed.
I have nothing to back this up other than trying it out with some sites,
and watching the results (with Google) over a few months, but it makes
sense to me.
joel
--
[ joel boonstra | gospelcom.net ]