Sat Sep 26 14:50:45 EEST 2009

Redirect a website after moving it from one server to another in a Google friendly way

I had the task to physically move a website from one host to another while doing it the best SEO way possible.
Here is how I did it:
I used mod_rewrite and the following .htaccess rules like:
redirect 301 /index.html http://new-location.com/index.html
redirect 301 /somepage.html http://new-location.com/somathing.html
From Search Engine point of view it is best to create a custom redirect for every webpage available on the old location of the website to the new one.