Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Hello I just bought new domain for my web page. Is it good to use php redirection to the new domain and what are the exact headers that I must send to google bot to just renew the address and keep the page rank without loosing position in search results for the specific keyword ? Regards

share|improve this question

migrated from Mar 28 '10 at 10:52

This question came from our site for professional and enthusiast programmers.

up vote 3 down vote accepted

301 permanent redirect.

It is not full proof, but it is the best approach.

share|improve this answer
Thanks for your answer. I'm reading something about '301 VS 303' What is you opinion? – T1000 Mar 26 '10 at 23:29
You can probably set up the redirect and, after Google notices it, you can delete the old domain. NOTE: That's just my guess. – Maxim Zaslavsky Mar 26 '10 at 23:31

have a look at once you set your site up in there, they have a whole page of info about changing domain names,etc

share|improve this answer
Thanks for your answer. Just found this topic… If you got better post it. – T1000 Mar 26 '10 at 23:28
Also found this… Thnks again and have a good night :) – T1000 Mar 26 '10 at 23:32

You should also do a change of address after you've done your 301 redirects, so Google knows your intentions:

The 301 redirects should be mapped page - to - page, so that the content on each indexed page is relevant to the content on the mapped page on the new domain.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.