Recently Google changed a lot of things along with their policies. Google started redirecting blogger blogs to country-specific URL.Lets consider that you have open anyblog.blogspot.com in your browser, you might be redirected to anyblog.blogspot.in if you are located in India or to anyblog.blogspot.com.au if you access the same blog from Australia.It is not a new thing since few days that your blogspot.com blog may redirect to a country based domain. Perhaps it is worldwide. Every blogger blog owner may have the same problem of automatic redirection. So here in this post, we have a tweak that enables your blog to stay on blogspot.com URL.


How To Redirect Your Blogger Blog To .blogspot.com?

We will apply this hack with using very short JavaScript.

  1. Go to Blogger Dashboard > Design > Edit HTML.
  2. Take a backup/download your template.
  3. Find for </head> tag.
  4. Add below piece of JavaScript code just above </head> tag.
<script type="text/javascript">
var blog = document.location.hostname;
var slug = document.location.pathname;
var ctld = blog.substr(blog.lastIndexOf("."));
if (ctld != ".com") {
var ncr = "http://" + blog.substr(0, blog.indexOf("."));
ncr += ".blogspot.com/ncr" + slug;
window.location.replace(ncr);
}
</script>


Now save your template.
Now your Blogger Blog will always redirect to the blogspot.com URL.

That was the simple solution for a big problem. I hope you all will like this hack.

Post a Comment

  1. Replies
    1. is it prohibited by blogger or allows it ??

      Delete
  2. You can follow this steps to direct using java script

    http://mytecharticle.com/?p=32

    ReplyDelete
  3. This code is very awasome trick.,,.i will practice in my template,thanks regard.

    ReplyDelete
  4. Owesome, Now I can free from that annoying NCR redirection. Thanks Brother..

    ReplyDelete
  5. Hello Sir,
    If I Redirect My Blog From Blogspot.in To Blogspot.com
    Then There Is Punishment From Google In My Search Traffic.
    Because I Make Bcklinks With Blogspot.in And There Is No Backlink With Blogspot.com
    Please Help Me Sir,
    This Is One Big Doubt In My Mind.
    Please Sir

    ReplyDelete
  6. This comment has been removed by the author.

    ReplyDelete
  7. Hi to all Guys, I have an issue regarding my wordpress & blogger blogs. I want to redirect their domains which are opens with http like http://spyindiaonline.wordpress.com. So do you have any suggestion, I found on net very much but didn’t get any answer. So please provide me solution as soon as possible.

    ReplyDelete
  8. Hi to all Guys, I have an issue regarding my wordpress & blogger blogs. I want to redirect their domains which are opens with http like http://spyindiaonline.wordpress.com. So do you have any suggestion, I found on net very much but didn’t get any answer. So please provide me solution as soon as possible.

    ReplyDelete
  9. Hello i have made one blog in wordpress and after made blog I posted one post and get backlinks but now i want to change my blog url so my question is that when i will change so that time any issue will come. please share our feed back my blog url is that http://latestspyproductindia.wordpress.com/

    ReplyDelete
    Replies
    1. hi.. rahul first of all i want to say that your word-press blog is looking good and after that you have asked that you want to change our blog address so whenever you change our url this effect will be your blog and blog ranking will be decrease because you have create a link 1st url not a 2nd url.. ok and now i want to ask 1 question that i have made a blog in blogger but they will not rank well so what should i do my blog link is that http://search-engine-updated.blogspot.com/

      Delete
  10. Great post : "Always Redirect Your Blogger Blog To blogspot.com ". I found it very useful and informative. Thanks -
    Send DHL online

    ReplyDelete

If you want to be informed about any replies then check "Notify me" option (present at lower right corner of comment box and it will display if you are logged in to your google account). PLEASE DO NOT SPAM

 
Top