Page 1 of 1

Is php header function bad for SEO?

Posted: Tue Oct 24, 2006 6:12 pm
by puro1212
I am using osCommerce for my site and when my tech guy installed osCommerce long time ago, he installed under a directory called "shop" instead of right under root. So, for my index.php under the root folder, it contains the following code:

header("Location:/shop/index.php");
exit;

Is it like a redirect? Is it bad for SEO purpose? Please advice. Thanks

Scott

Posted: Tue Oct 24, 2006 7:59 pm
by s.dot
Doesn't matter. The redirect is server-side, and the only thing the search engines will see is the resulting page, and link to the resulting URL (which is what will be spidered, anyways).

Nothing to worry about.

[edit] Scott is a kewlio name. :lol:

Posted: Tue Oct 24, 2006 8:57 pm
by Burrito
scottayy wrote:[edit] Scott is a kewlio name. :lol:
so is Yoda.

Posted: Wed Oct 25, 2006 12:02 am
by RobertGonzalez
So is pegleg.

To the OP, use full URIs in your header call, not relative ones.