301 Redirects with .htaccess

After I dumped my database and blew up my site, I wanted to resurrect my most popular content.

I needed to setup 301 redirects so both users and Google could find my (old) content in it’s (new) location. Here is a snippet of my .htaccess file.

301-redirect-instructions

 

Author: Greg Rickaby

Greg is Director of Engineering at WebDevStudios and author of a children's book titled, Creating a Website: Design and Build Your First Site!.

3 thoughts on “301 Redirects with .htaccess”

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.