How to Prevent Blogger from redirecting to Country Specific Domains

Google redirects their Blogger blogs to country specific domain extension since 2012. For Example open socialmedialoud.blogspot.com in your web browser, you will be redirected to socialmedialoud.blogspot.in if you are located in India or socialmedialoud.blogspot.fr if you are accessing the blog from France. Blog redirection only occurs if you are on a blogspot domain and country specific redirection not apply to custom domains. 
From my blog traffic log, it is sure that country specific redirection in Blogger is live in at least 15 countries. They are Argentina (blogspot.com.ar), Australia (blogspot.com.au), Brazil (blogspot.br), Canada (blogspot.ca), Germany (blogspot.de), India (blogspot.in), Italy (blogspot.it), France (blogspot.fr), Japan (blogspot.jp), Mexico (blogspot.mx), Portugal (blogspot.pt), Spanish (blogspot.cl), Sweden (blogspot.se)

 

To avoid country specific redirection in your Blogger blog, follow these simple steps given below.  

Login to Blogger account. Click on Template > Edit HTML > Press Ctrl + F to find <head> and press enter. Now copy one script from given below and paste it after the <head> and click on "save template". Now your Blogger Blog will always serve with the blogspot.com URL.
============================================
<script type="text/javascript">
 
  /* Get the full URL of the current blogger page */
  var blog = document.location.href.toLowerCase();

  /* Do not redirect if the domain is .com already */
  if (!blog.match(/\.blogspot\.com/)) {

    /* Replace the country TLD with .com and ncr switch */
    blog = blog.replace(/\.blogspot\..*?\//, ".blogspot.com/ncr/");

    /* Redirect to the new .com URL in the current tab */
    window.location.replace(blog);
  }
 </script>

============================================

Also See : How to Get Google Adsense Approved Account
============================================
<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>
 
============================================

Also See : How to Use Alt tags in Blogger Images
============================================
<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>

============================================