Michael C Hogan

Agile Product Development & Innovation Strategy

By

Redirecting web addresses with .htaccess

Here is a tutorial that worked for me:

htaccess 301 redirect tutorial

And here is the key part that I missed on my first couple tries:

Scroll down past all the existing code, leave a line space, then create a new line that follows this example:

redirect 301 /old/old.htm http://www.you.com/new.htm

It’s as easy as that. Save the file, upload it back into your web and test it out by typing in the old address to the page you’ve changed. You should be instantly and seamlessly transported to the new location.

Notes: Be sure not to add “http://www” to the first part of the statement – just put the path from the top level of your site to the page.