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!

  • http://www.suhastech.com/ Suhas

    @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..

  • http://markuss.co.cc Markus

    Dude, thanks so much. You saved me!!

  • http://w3t.in/2011/09/free_unlimited_web_hosting_providers/ Aminet

    Amazing article….

    go on…

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