Stop Or Disable Blogger from Redirecting Country Specific Domain URL

0 51




Read More:
1 of 113

Stop Or Disable Blogger from Redirecting Country Specific Domain URL

Google has been redirecting their Blogger blogs to country specific domain extensions. For example, If you open “YourDomainName.blogspot.com” in your browser, it redirects to as “YourDomainName.blogspot.in” (if you are in India) or “YourDomainName.blogspot.fr” (If you are in France). This implementation done by Google because of Selective censorship (to block a blog or page easily).
When I login my Blogger dashboard and checks blog traffic Statistics, Its giving some country specific domain name of blog URL at more than 10 countries.
Some example list I have observed in my dashboard,
  1. Argentina (blogspot.com.ar)
  2. Australia (blogspot.com.au)
  3. Brazil (blogspot.br)
  4. Canada (blogspot.ca)
  5. Germany (blogspot.de)
  6. India (blogspot.in)
  7. Italy (blogspot.it)
  8. France (blogspot.fr)
  9. Japan (blogspot.jp)
  10. Mexico (blogspot.mx)
  11. Portugal (blogspot.pt)
  12. Spanish (blogspot.cl)
  13. Sweden (blogspot.se)

The Disadvantages of Country Specific Domain Redirection:

There are many disadvantages for country specific domains. Your website or blog traffic will be different from different places of the world. Your social medial followers will be different from different places. So we should avoid country specific domains. In you blogger blog you after change in some html code you can prevent blogger from redirecting to country specific domains.

Steps to configure your blogger blog to stop country specific domain redirection:

1. Login to Blogger account
2. Click on Template > Edit HTML
 
 
3. Click in the Coding rectangle box, and then click “Ctrl + F”. Now check with code <head>. Press Enter
4. Copy the redirection script given below. Now paste the Script after the <head>.
<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”. Then click on View Blog. That’s it.
Now your blogger blog serve with blogspot.com not country specific if the user comes from anywhere from the world.
That’s it
If this article “Stop Or Disable Blogger from Redirecting Country Specific Domain URL” is useful please share this post with your friends on Facebook, Google plus and Twitter or Use the below social icons. If you are facing any problem, do not hesitate, just drop the problem in the below comment box or my Contact Us page. Thanks and Happy Blogging.







Related Articles: More from author