How To Redirect A Blog To Another Blog or Address

I had to make this post because I realized what would have happened if there was absolutely no way to redirect a blog to another. I initially intended to make a different blog under a sub domain but changed my mind due to certain reasons. I was quite worried about all the traffic I was going to lose and decided to go online just to make a little research. I came up with a little trick which I’m gonna share here, who knows, someone else might just need it down the line.

To redirect one blogspot blog to another needs no techie stuff, simply copy and pasted the code below in the HEAD section of your template by folowing these steps:

* Login to your blogger account and click on Design > Edit HTML

* Now Press CTRL = F and serch for </head>

* Paste the following code just above this


<meta HTTP-EQUIV='REFRESH' content='0; url=http://my-new-blog-adress'/>
<meta content='NOINDEX, NOFOLLOW' name='ROBOTS'/>

Please change my-new-blog-adress to your own new address.

Explanatory Note

content=’0 as shown in the code determines how long (in seconds) your visitors will stay on the old blog before being redirected. I set it to Zero but you might change it depending on your choice.

Also <meta content=’NOINDEX, NOFOLLOW’ name=’ROBOTS’/> tells search engines to stop indexing posts on your old blog. This prevents your new blog from being penalized by google for duplicate content as pages indexed on the old blog will be removed in due time.

Update – Redirecting Individual Blog Posts

Now we must redirect individual posts to the new blog but it’s impossible to add a 301 permanent redirect on Blogger server. However, we can achieve this using a trick. Search for this code:

<b:section class='main' id='main' showaddelement='no'>

Right below that, paste this:

<b:widget id='Redirector' locked='true' title='Blog Posts' type='Blog'>
<b:includable id='main'>
<b:if cond='data:blog.pageType == "item"'>
<b:loop values='data:posts' var='post'>
<script type='text/javascript'>
var new_page='';
var permalink = '<data:post.url/>';
var timestamp = '<data:post.timestamp/>';
timestamp = timestamp.split('/');
timestamp = timestamp[2]+'/'+timestamp[0]+'/'+timestamp[1];
new_page = permalink.replace(/[0-9]{2}/,new_page+timestamp);
new_page = new_page.replace(/.html$/,'');
document.location.href = new_page;

You must replace and youroldblog in the code with the code with address of your new blog and old blogspot subdomain respectively. Hope it works for you!

Filed Under: Blogger

Author: Don Caprio

Don Caprio is a full time blogger / web designer living in Nigeria and apart from blogging, my other obsession is music. I'm a self-confessed Tupac fan, an iOS lover, an Android user, a Windows 8 power user, a writer with a 5-year old unfinished novel... and the list goes on and on. You can add me on Facebook, follow my updates on Twitter or add me to your circles on Google+! By the way, if your blog needs a custom design, you can contact me here...


  1. JC says

    this and another set of scripts I found on the web I tried did not work for me. However I was able to get it to redirect by the following: Settings->Publishing->Advanced Settings-> enter the new Domain Name I want to redirect to. Hit Save, View Blog, the redirect works immediately.

    The blog I am trying to redirect is on the old Blogger template.

  2. Don Caprio says

    I'm using this exact one on to redirect hereI'm using this exact one on to redirect here

  3. says

    hi Don, I am about to move to WP from a sub domain blogspot blog.Since previous posts indexed by Google will be removed as you mentioned then if after that I import by blogger posts,Will I be penalize by Google?Does that also mean the same posts on my WP blog will be indexed by Google?

    • Don Caprio says

      You can’t be penalized so far the NOINDEX tag is in place. The ones on blogger will be removed removed from google search and the new ones on wordpress will be indexed instead. However, I recently updated the article to redirect individual blog posts.

      • says

        Your comment is awaiting moderation. After pasting the code var new_page=’’; var permalink = ”; var timestamp = ”; timestamp = timestamp.split(‘/’); timestamp = timestamp[2]+’/’+timestamp[0]+’/’+timestamp[1]; new_page = permalink.replace(/[0-9]{2}/,new_page+timestamp); new_page = new_page.replace(/.html$/,”); document.location.href = new_page; and when i tried to save Template it is Showing an “Error The new widget id “Redirector” is invalid for type: Blog” Please Reply me on

  4. says

    Don, Can i do this redirection via Cname / A name records instead? I’m not interested in the posts.. i’ve moved them all to the new site.. all incoming search for them now shows Not Found.. Would like to redirect all incoming traffic to the new domain home page From Blogger to SMF so that individual url thing wont work.. Google finally pardoned me oh

  5. says

    I did everything and stupid blogger told me “The new widget id “Redirector” is invalid for type: Blog”. Oh well I’ll play around with it some more and hopefully get people redirected from this blog before I delete it.

  6. says

    Hey Don……. I was having a Blogger blog and I redirected it to my wordpress site, having same url that is , I imported all the articles to new site and did the url redirection but unfortunately redirection didnt worked and when people open it redirects to and says cannot found or similar…………. I think that I have missed no-follow tag I am quite worried about being penalized by google ……. I am sure that I am being penalized by google because from that time I even didnt got any pagerank from google, even I deserve it a lot……….. So I want to know that what they do when they give penalty, and this is permanent or temporary do my blog has a future ? I did this redirect last year in the month of July…….. Please reply asap…….

    • says

      The redirect didn’t work well because you’re using a different permalink structure on your WordPress blog. If you actually forgot to de-index the old blog, it can be a real issue. Since then, does the old site still come up when your run a google search?

      • says

        I think no………….and also My old site disappeared from search engine in few days……… only was coming in search results, not the articles………. I had, Completely delete the HTML of blogger and pasted new Permalink redirection HTML……….. means was not accessible at all…………. BTW If I really hadn’t de-index that old blog then what will google do with my new blog………and what is the time period of their penalty…. Hey Friend I really need to add you on facebook, I need one master who will help me to sort out my problems, I promise that I wont irritate you……. My fb url is plz send me frnd request……….. I want to ask you one thing more, Their was a author on my site, He published an article on my site, then suddenly he published the same article on a different site. When I saw that I deleted the article from my site……….. Now when I asked him about this then he said sorry and deleted article that he had posted in other site……..and insisted me to republish that article on my blog…..I republished that article……I made right decision ? And also I am not getting PR why? When I use PR predictor tool then it shows PR4 but , I havent got any PR yet :( Sorry for too many questions :/

        • says

          Even de-indexing the blogspot site may not bring the WP site back on SERP as quickly as you hope for. Do you use Google webmaster tools? Have you checked if there’s any message for your there? Any alert?

Share Your Comments & Feedback:

Please do NOT use keywords in the name field because they won't be linked to anything anyway...just use your real name. Let's try to have a personal and meaningful conversation.

Commenting Note(s):
To insert code into comments, use: [php]code in here...[/php]
Some HTML tags allowed: <strong>, <em>, <del>, etc. (Just don't overdo it, please!)