Thursday, March 5, 2009

The 301 redirect

Looking to redirect to your new web address from your old without hurting search engine ratings? 301 redirect is your friend. This can be easily established by creating a .htaccess file and placing it in the web directory (E.g. public_html)
on that machine.

The .htaccess file should have some content like:
redirect 301 /~old_login/old_page.html

Just did this for my old page and works like a charm!
Good luck.

Do not forget to chmod the .htaccess file to 755 before you try this out :)


Post a Comment