Does header redirecting interfere with search bots?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
tehhparadox
Forum Newbie
Posts: 18
Joined: Thu Oct 01, 2009 11:55 am

Does header redirecting interfere with search bots?

Post by tehhparadox »

Hi

I have a website which I am trying to include in search engines. I tried many SEO methods and it did come up on google search for a bit, then shortly after disappeared. I think it might be something to do with header redirecting on my website.

The first thing my php homepage does is checks if the url starts with www, and if not, redirects by using header location to the url with www in front of it.
Does this matter when optimizing for search engines? If not, what should I do to get my site on search engines?
User avatar
php3ch0
Forum Contributor
Posts: 212
Joined: Sun Nov 13, 2005 7:35 am
Location: Folkestone, Kent, UK

Re: Does header redirecting interfere with search bots?

Post by php3ch0 »

what is your website address and we could have a look. The fact you appeared in google then dissapeared seems to me that you could have been sandboxed due to some blackhat SEO tactics.
coolpriya073
Forum Newbie
Posts: 4
Joined: Thu Jan 05, 2012 11:11 pm

Re: Does header redirecting interfere with search bots?

Post by coolpriya073 »

hi,

instead of using header redirect use permanent redirect or link rel canonical.

There is a blog from matt cutt, do read it and you will be able to get the difference between canonical and simple redirect.
Post Reply