Stop Country Specific URL Redirection in Blogger

If you are using blogspot platform for blogging with blogger's subdomain ( then i am sure you must noticed country specific URL redirection. If you don't know about the same let me tell you what is country specific URL redirection and why to stop it. When a user come to your blog, it gives a specific country based domain to your blogger blog according to visitor's geographical location. For example if your visitor is visiting your blog from India then your blog URL with be redirected to It can damage your search rankings so it must be stopped and Today in this article we will discuss how to stop country specific URL redirection in blogger.

How to Stop Country Specific URL Redirection in Blogger

Go to blogger dashboard > Template > Edit HTML
Search for </head> tag.
Copy paste below 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 += "" + slug;

Now just click "Save Template" and you're done.


  1. very new tricks i have not see any code for that purpose before it...

    i will try and pray this work....