Don't Miss

How to Stop Blogger Country Specific Redirection

By Zohaib Liaqat - 8 Comments
Blogger uses Country specific domain redirection that changes your blog URL according to your visitor country. For example, if your blog address is yourblog.blogspot.com and someone is visiting your blog from canada, he will be redirected to yourblog.blogspot.ca instead of yourblog.blogspot.com and if someone is visiting your blog from Italy then he will be redirected to yourblog.blogspot.it.
How to Stop Blogger Country Specific Redirection
Why you Should Stop Blogger Country Specific Redirection? The answer is simple, it will effect your alexa ranking and your pagerank too, due to different URL's. This redirection is called Country Specific Redirection or "country-code Top Level Domain" (ccTLD). The blogs with custom domains are not affected by this method. About 20 countries are affected by this redirection. Today in this tutorial we'll show you that How to Stop Blogger Country Specific Redirection.

How to Stop Blogger Country Specific Redirection

First for foremost go to Blogger.com and Log in to your account. Select a Blog >> Template >> Edit HTML and search for the <head> tag. Now copy(Ctrl + C) the following piece of code and paste(Ctrl + V) it just below/after <head> tag.

<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>

Hit the Save Template button and you're done.

From Editors Desk

We hope this tutorial may have helped you in learning How to Stop Blogger Country Specific Redirection. Share this tutorial with your friends and don't forget to subscribe us.

8 comments to ''How to Stop Blogger Country Specific Redirection"

ADD COMMENT
  1. Very informative publish!! Your suggestions are first-rate concerning motivation. Right here you've got posted anything new so I love your web publication. And also your article is unique for one and all readers. Really excellent to know about it. I'm tremendously happy so high-quality. Every time I come here, I get some very useful info. This one is the best post on. Thanks for sharing this unique article. custom essays

    ReplyDelete
  2. Plus, a support company dedicated to best new website design providing the greatest levels of transparency and clarity to the clients' strategies.

    ReplyDelete
  3. The team built a WordPress site, provided UI/UX design, and added visual and textual content.
    agencies brand

    ReplyDelete
  4. Customers can expect good value for the cost and top app design companies ​a team that is open to suggestions for improvement.

    ReplyDelete
  5. They delivered an impressively high caliber of work and resolved all the software bugs they identified. Productive and attentive, they’re highly recommended.
    best branding agency

    ReplyDelete
  6. San Francisco design firms
    Whatever you have provided for us in these posts really appreciative.

    ReplyDelete
  7. These are the great blogs; I assure you that I really enjoyed a lot in reading.
    UI/UX design agency

    ReplyDelete
  8. The superb highly informative blog I’m about to share this with all my contacts.
    user experience companies

    ReplyDelete