How To Stop/Disable Country Specific Redirection In Blogger (Blogspot)?

If you host your blog on blogspot subdomain then you might be aware of country specific redirection. Since 2012, Blogger redirects blogs to country specific domain extensions. Just for an example, if you visit blogaddress.blogspot.com from India then it will be redirected to blogaddress.blogspot.in and if you are visiting from France then it will redirect you to blogaddress.blogspot.fr. This is country specific redirection. The major disadvantage of this is that your blog traffic will divide according to their locations. It will divide your blog rankings differently for different countries too. So It is recommend to disable country specific redirection so that your blog have common ranking worldwide. That means if you visit blogaddress.blogspot.com from any part of the world it will not get redirected to country-specific domain extensions after applying this script. So let's start the tutorial to stop this redirection.

Traffic logs from my blogs suggest that country-specific redirection in Blogger is live in at least 15 countries. They are India [blogspot.in], Australia [blogspot.com.au], UK [blogspot.co.uk], Japan [blogspot.jp], New Zealand [blogspot.co.nz], Canada [blogspot.ca], Germany [blogspot.de], Italy [blogspot.it], France [blogspot.fr], Sweden [blogspot.se], Spain [blogspot.com.es], Portugal [blogspot.pt], Brazil [blogspot.com.br], Argentina [blogspot.com.ar], Mexico [blogspot.mx]

Also Read : How to Show Post Title Before Blog Title in Blogger (Blogspot)?

Stop/Disable Country Specific Redirection in Blogspot: 

Just follow the below easy steps to disable the country specific redirection in your blogger blog:
  1. Login to Blogger account.
  2. Click on Template > Edit HTML
  3. Click in the Coding rectangle box, and then click “Ctrl + F”. Now search for this code <head>.
  4. Copy the redirection script given below. Now paste the Script after the <head> tag.
    <script type="text/javascript">
          var blog = document.location.hostname.split(".");
          if (blog[blog.length - 1] != "com") {
          var ncr = "http://" + blog[0] + ".blogspot.com/ncr";
          window.location.replace(ncr + document.location.pathname);  
          }
    </script>
  5. Click on “Save template”. That’s it.
Now your blogger blog serve with blogspot.com not country specific if the user comes from any part of the world.

I hope your successfully added this script to your blogger blog. Remember this script is only useful when you are hosting your blog on blogspot subdomain and did not buy custom domain yet. So whenever you will buy a custom domain for your blog, make sure to remove this script.


If you have any query or suggestion let me know in comments.

Comments

Popular posts from this blog

How To Setup Freenom Domains (.Tk, .Ml, .Cf, .Ga, .Gq) As Blogger Custom Domain?

How To Change Blogger (Blogspot) Template?

How To Insert Emoji, Special Characters And Symbols In Blogger?