Is php header function bad for SEO?

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
puro1212
Forum Newbie
Posts: 1
Joined: Tue Oct 24, 2006 6:05 pm

Is php header function bad for SEO?

Post 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
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Post 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:
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Post by Burrito »

scottayy wrote:[edit] Scott is a kewlio name. :lol:
so is Yoda.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

So is pegleg.

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