I needed to redirect some posts from an old blog to posts on this wiki/blog/notebook, but I didn't want to lose any Google page rank accumulated by the old blog. After a quick investigation, I found the way to do it on my hosted Apache system.
- Edit (or create) a file in the root directory of website with filename ".htaccess" -- NOTE: the period (.) preceeding the "htaccess" is vital.
- Add this into the .htaccess file:
redirect 301 /old/old.html http://www.you.com/new.html
NOTE: Be sure to omit the "http://
" in the old file path
- Steven Hargrove : How to redirect a web page, the smart way - Excellent review and instructions many url redirect methods.