Thursday, 6 March 2014

How to Disable Country Specific Domain Redirection in Blogger?

Blogger introduces the Country Specific URL's redirection for many BlogSpot domains. Instead on the blogspot.com extension, your readers will discover their country specific sector extensions. The redirection currently implemented for India and also many major countries too. So far many blogspot.com domains redirecting to be able to blogspot. inside.
For Example: If that you are viewing the blog using address blog-name.blogspot.com from Australia (AU), then you can be redirected to be able to blog-name.blogspot.com.au . Similary, if you are viewing from India it'll be redirected to be able to blog-name.blogspot.in and so on.
This redirection is named "country-code Top Level Domain" (ccTLD). It also knows as "302 Redirect" also. So today I came across a great trick to disable this country specific redirection and get a better traffic rank.

How to Disable Redirection?

Recently, a report says that many countries are affected from this. These countries are:

  1. Argentina [blogspot.com.ar] 
  2. Australia [blogspot.com.au] 
  3. Brazil [blogspot.com.br] 
  4. Canada [blogspot.ca] 
  5. Czech Republic [blogspot.cz]
  6. France [blogspot.fr] 
  7. Germany [blogspot.de] 
  8. Hong Kong [blogspot.hk]
  9. India [blogspot.in] 
  10. Italy [blogspot.it] 
  11. Japan [blogspot.jp] 
  12. Mexico [blogspot.mx] 
  13. New Zealand [blogspot.co.nz] 
  14. Portugal [blogspot.pt] 
  15. Romania [blogspot.ro]
  16. Spain [blogspot.com.es] 
  17. Sweden [blogspot.se] 
  18. UK [blogspot.co.uk]
 If you want to prevent this country specific redirection then follow the steps given below.
  • Go to 'Template' tab from your blogger dashboard.
  • Then select 'Edit HTML'.
  • Find <head> and paste the code given below right below it.

<script type='text/javascript'> var str= window.location.href.toString(); if ((str.indexOf('.com/'))=='-1') { var str1=str.substring(str.lastIndexOf(".blogspot.")); if (str1.indexOf('/')=='-1') { var str2=str1; } else { var str2=str1.substring(0,str1.indexOf('/')+1); } window.location.href =window.location.href.toString().replace(str2,'.blogspot.com/ncr/'); } </script>

That’s it!! Check your blog again and it will not redirect to any specific country.

Final Touches:

So that's a small and easy trick to disable country specific redirection in your blogspot blog. It will helps you in getting a better alexa traffic rank too. Now It;'s your turn to share this post with your friends and write your precious feedback in comment box till then Peace, Blessings and Happy Redirecting.

No comments:

Post a Comment