Header Ads

How to Stop Country Specific URL Redirection in Blogger


Blogger has introduced specific country redirection of blogs which are running on.blogspot domains. It gives a specific country based domain to your blogspot blog on the basis of your visitor’s geographical location. For example if your visitor is visiting your blog www.xyz.blogspot.com from Pakistan then it will redirect your visitor to this URL www.xyz.blogpost.pk. So, you must stop this because it could cause some serious damage to your search ranking. Today in this article, we will show you how to stop country specific URL redirection in blogger.


Why to Stop Country Specific Redirection?


This query might strike your mind that why you should stop country specific redirection of your blog. So, let us elaborate it for you guys. Actually, when your blog redirects on such country based URLs then it affects your blog’s Alexa Rank and Page Rank juice as the redirected URL will be considered as the new URL. And, the visitors on such URLs will not be considered your blog’s reader as the URL is different no matter the content is same. So, you are strictly suggested to stop country specific redirection in order to save the Alexa rank and page rank juice of your blog.


How to Stop Country Specific Redirection of Blogspot blog


Now we are sure that you have understood the consequences related to specific redirection of blogspot blog in order to save its rank. So, get to the steps to explore the solution of it;
First of all, Sign in to Blogger and select your blog.


  1. Now click on Template from sidebar and then Click on Edit HTML.
  2. Afterwards, press Ctrl+F and you’ll have a search bar then search for <head> tag in your template.
  3. Ones you find the </head> tag then paste the following code below </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, you need to Click on Save Template and then it will stop that redirection.

We are sure that it would have been proven helpful for those who were looking to stop country specific redirection in blogger. If you have queries left related to this article then lend your queries in the comment box. We shall get back to your queries and will help you out.

Was it helpful? If it was then don’t forget to share this with your other friends on Facebook,Twitter, or Google+.

No comments:

Powered by Blogger.