X

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 http://fbt.doncaprio.com 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='yournewblog.com/';
var permalink = '<data:post.url/>';
var timestamp = '<data:post.timestamp/>';
timestamp = timestamp.split('/');
timestamp = timestamp[2]+'/'+timestamp[0]+'/'+timestamp[1];
new_page = permalink.replace(/youroldblog.blogspot.com/2007/[0-9]{2}/,new_page+timestamp);
new_page = new_page.replace(/.html$/,'');
document.location.href = new_page;
</script></b:loop>
</b:if>
</b:includable>
</b:widget>

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

This post was last modified on December 19, 2016 9:53 PM

Categories: Blogger
Don Caprio: @doncaprioHusband, superdad, ubergeek, lazy writer, serious gamer, gadget collector, amateur photographer, web designer. I'm on Facebook, Google+, Twitter, LinkedIn and Instagram.

View Comments (27)

  • Hey Don.......
    I was having a Blogger blog and I redirected it to my wordpress site, having same url that is tricksaddiction .in , I imported all the articles to new site and did the url redirection but unfortunately redirection didnt worked and when people open tricksaddiction .blogspot.com/example it redirects to tricksaddiction .in/example 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.......

    • 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?

      • I think no.............and also My old site disappeared from search engine in few days......... only tricksaddiction.blogspot.in was coming in search results, not the articles..........
        I had, Completely delete the HTML of blogger and pasted new Permalink redirection HTML........... means tricksaddiction. blogspot.in 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
        facebook.com/sumitsagar1996 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 :/

        • 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?

  • Hi Don! IT'S WORKING!!!! I have been trying to do this for a long time. When I google one of my post, my old blog still shows up. How long does it take for my new blog to show up?

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

  • I'm not sure you'll get that search engine ranking juice if you use NOFOLLOW attribute. Any thoughts on that?

    • Yes, you probably won't get link juice but it's a lot safer than having duplicate contents appear on both blogs.

  • 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

  • Hi Don, you have a nice blog, i ask you one question, is redirecting an old blog to new blog safe for adsense? Thanks,

    Regards,
    Alex.

  • man this works like magic!!! redirected my dailyschoolinfo to university of Nigeia Nsukka
    thanks and i love your blog.

      • Your comment is awaiting moderation.

        After pasting the code

        var new_page=’yournewblog.com/’;
        var permalink = ”;
        var timestamp = ”;
        timestamp = timestamp.split(‘/’);
        timestamp = timestamp[2]+’/'+timestamp[0]+’/'+timestamp[1];
        new_page = permalink.replace(/youroldblog.blogspot.com/2007/[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 smarttricks@writeme.com

        • I really doubt if that code works on blogger anymore after all the upgrades that's been done. Th code is over 2 years old.