Change custom domain in Blogspot / Blogger using 301 redirect

I recent got myself a .com domain but I am using a .co.cc domain. Both are “custom domains” so making the move was a little tricky. If you just change the domain in the publishing tab, you’ll lose all the traffic from your old domain.

The solution: You can host the old domain on a server and add .htaccess with the 301 redirection code.

You can use a free webhost for this (I recommend 000webhost). It should have a decent uptime and MUST allow editing .htaccess file. If you have a paid webhosting account, that would be great!

Note This .htaccess method of redirection works ONLY on Linux servers having the Apache Mod-Rewrite moduled enabled

Here’s what you do:

Configuring your old website

Assuming you have a web hosting account and your nameservers configured (If not, this tutorial will help you) I’ll continue to tutorial.

1) Open a FTP client like Filezilla

2) Enter your host name (normally ftp.youroldsite.com) and other credentials. Click on connect.

3) Open public_html. You should find a file called .htaccess (Make sure you can open hidden file)

4) Right click on the file and select Edit.

edit 5) Open using Notepad. Paste this code

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

Save the file.

Configuring your new website

1) Goto your Blogger Dashboard –> Settings –> Publishing Tab

new-domain

2) Follow this tutorial to configure your new site. This tutorial can be followed for any domain name (.com, .net etc) not neccessarily co.cc.

Phew! I think that’s about it. All your links from your old website will be redirected to the new website.

If you have any doubts, please use the comment form below.

source


So lazy that he can't even fill this column out.

  • HAPIA Mesir

    thank u

  • Rom

    Hi I have a question regarding blogger and redirects.

    I have a blog hosted on blogspot (ex: http://myblog.blogspot.com) and then redirected it to http://www.myblog.com via the Blogger Dashboard > Settings > Publishing Tab.

    But right now, I want to create a whole new domain (ex. http://www.allnewblog.com) How can I redirect the content of http://www.myblog.com to http://www.allnewblog.com using 301 redirect? I tried your steps above but it doesn’t work. Hope there’s another solution.

    Thanks!

  • @Rom …

    How can I redirect the content of http://www.myblog.com to http://www.allnewblog.com using 301 redirect?

    That’s what this tutorial is all about.

    Have you followed the steps correctly? Do you have the permission to edit .htaccess? Are the nameserver configured?

    I’m sorry, but I can’t decipher anything with this data. Can you give me the link to your real address (If your not comfortable posting it here, you can email me)

    or little more data would be helpful… like the current publishing setting, webhost etc etc..

  • Dude, thanks so much. You saved me!!

  • Amazing article….

    go on…

  • Hi there,

    I recently moved my blogger hosted blog to a self hosted wordpress domain. I intended to move it using a 301 redirect, but couldnt get that to work properly, so I decided to use a rel=canonical redirect. This works now, but Im still wondering if redirecting through 301 would be better.
    Blogger only allows me to redirect to http://www.domain.com instead of http://domain.com which is the URL I am focussing on. Would it be more beneficial to 301 to www. or stick to my rel=canonical redirect to htttp://technopsisblog.com?Thanks!

  • suhastech

    They’re pretty much the same. It wouldn’t make much difference.

  • Thanks for the quick reply! Ill just let it cook for a while like this then and hope Google picks it up soon!

  • Wow its really a great tutorial which i was looking and your topic has solve my problem of redirection. Thanks

© 2009 Suhas Tech. All rights reserved.
Proudly powered by Wordpress.