I recently took two blogs and combined them into one domain, kempwire.com. In order to do that, I needed to find out how to do 301 redirects to redirect all traffic and links that were currently going to those domains to the new domain. 301 redirects are permanent redirects. According to Google, you need to use 301 redirects to let them know that your domain is moved. In addition, all links that were counted towards your old domain will be counted towards the new one. I also wanted to take out the www of this domain so that all traffic goes to kempwire.com.
I have done 301 redirects before but I needed examples of code to use to do exactly what I wanted to do. Fortunately, I didn’t have to look too hard. SEOmoz has an excellent guide on how to do 301 redirects on Apache. This guide is right on because it tells you exactly what to do and it covers all the bases, including the no-www redirect.
I got it done, and so far, everything is working perfectly. I still need a few more days of analytics tracking to make sure it is working correctly. I had to give the shout out though to SEOmoz for doing such a great post on this. Great job guys!