Moving your blog? – Use a 301 Redirect

If you’re moving your blog or website from one domain to another, you you’ll want to retain your search result links and PageRank. Also, if people are using the old links, you want to redirect them to the new domain.

Enter the 301 Redirect.

Here’s a very simple redirect…just replace the contents of the .htaccess file in the root of your ‘SOURCE’ site with this (replace with your ‘TARGET’ domain)

Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://targetdomain.com/blogs/$1 [R=301,L]

You’ll need to keep your old site up for at least 30-40 days.

H/T http://www.dailyblogtips.com/how-to-setup-a-301-redirect/

Related Posts Plugin for WordPress, Blogger...

Tags: , , ,

Author:Craig Berry

Craig Berry is a Catholic web developer and musician.
Connect with him online.
  • http://profiles.google.com/alongthelittleway Amanda Rose

    Would this apply to Blogger where we have a purchased doman directing to the blog? Or will the domain transfer alone be enough?

  • http://catholicservant.com Craig

    Hi Amanda,
    Are you moving to a self-hosted WordPress site? If so, I think you’re going to be ok. Your blogger permalink structure is /month/date/post-title which is easy to mimic in WordPress. HINT: When you login to the back-end, look for ‘permalinks’ under settings.

    If you’ve got some stray ones…I’m a big fan of the redirection plugin for WordPress:
     http://wordpress.org/extend/plugins/redirection/

    Good luck and keep us posted!