How to Stop Country Specific Domain Redirection in Blogger?

By
Advertisement
Blogger is one of the most popular and professional blogging platforms. Still blogger has some sorts of drawbacks. One is the redirection of your blog's url according to the country. Suppose, the url of your blogger blog is "yourblog.blogspot.com" and when it is surfed by the visitor of India it will be redirected to "yourblog.blogspot.in" . It doesnot affect your views count or blog stats but it may affect your alexa rank or other ranks. It may affect social stats like Facebook Like and Twitter Tweet counts are different for different countries.


It is legal to stop country specific redirection. Check it here


Your blog redirects to country specific domains in these countries.

  • Argentina [blogspot.com.ar] 
  • Australia [blogspot.com.au] 
  • Brazil [blogspot.com.br] 
  • Canada [blogspot.ca] 
  • Czech Republic [blogspot.cz]
  • France [blogspot.fr] 
  • Germany [blogspot.de] 
  • Hong Kong [blogspot.hk]
  • India [blogspot.in] 
  • Italy [blogspot.it] 
  • Japan [blogspot.jp] 
  • Mexico [blogspot.mx] 
  • New Zealand [blogspot.co.nz] 
  • Portugal [blogspot.pt] 
  • Romania [blogspot.ro]
  • Spain [blogspot.com.es] 
  • Sweden [blogspot.se] 
  • UK [blogspot.co.uk]
So if you want to stop domain redirection, follow the following steps. 

1. Log in to your blogger Dashboard and click on Template.
2. Click on Edit Html.
3. Find </head>. Copy the below code and paste it just above it. 
 <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>  
4. Click on Save Template. 

Final Words:
This trick will help you to stop country specific blog redirection and may help you increase your blog's alexa rank and get good social stats. In case of any problem you may leave your query in the comments. You may let us know if it help for you in the comments.

0 comments:

Post a Comment

Please leave your valuable feedback here. Don't spam, stay safe...

Copyright

DMCA.com
MyFreeCopyright.com Registered & Protected