How to Prevent Blogger Blog from Redirecting to Country-Specific URLs

As the Google have started redirecting the blogger blogs to country specific domain, many of blogger users are facing problems due to negative affect on Google juice (Bookmarked links, external links of your blogs) and social stats (like tweet countss, facebook shares and Google +1’s).

The country specific re-direction allows google to have more control on blogs management in different countries.

Available Solutions:

  • Use Custom Domains: The users who are using custom domain will not be affected, since their url structure will remain the same and it will not be redirected ( Refer this).
  • Adding ‘ncr’ slug to blog url: Adding a ‘ncr’ slug to your blog url stops the redirection and it shows the actual domain address.

For example opening in India will open,

however, if you open in any country it will simply open the same url i.e.

How to add ‘ncr’ slug to your blog url:

I recently found a code snippet to add ncr slug to your blogger url.

Follow the below steps:

  • Open Blogger dashboard and select template
  • Click on ‘Edit Html’ and then ‘Proceed’
  • Add following code:

<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 += "" + slug;

  • Click on Save Template and its done.

*Code Snippet Credit: Labnol

Above code snippet adds ‘ncr’ slug to blog url and prevent redirection to country specific domain.

1 response to “How to Prevent Blogger Blog from Redirecting to Country-Specific URLs”