How To Prevent Blogger Blog From Redirecting To Country-Specific Domains

Most Bloggers knew that recently Google redirects blogger blogs their respective Country code TLD’s. Like if you are browsing a blog from Australia, it will be redirecting .com to domain. For instance, if you open in your browser, you will be redirected to if you are browsing from Australia.

Why Google redirects Blogger Blogs to Country Specific?

Google implemented this blogger blog redirection because of censorship on Internet and hide unwanted content. They started categorizing the content based on the writer & the reader’s country. A site with having unwanted contents, will be block in some countries but still have it displayed in the others.

Disadvantages of Country Specific Redirection

There are many problems with country specific domain redirection, from SEO to social share count., List of disadvantages …

  •  Social shares will be changed with country specific domains.If your blog has 5 tweets it will be changed with xyz. .
  •  No of backlinks will be different for each of the country specific domains and your blog will lose alexa rankings.
  •  It might problem with some applications and widgets.

How To Stop redirects Blogger Blogs to Country Specific?

You can stop this country specific redirection for your blogger blog by using a JavaScript code.  Once added this code in your template your blog will simply redirects instead of redirecting to the country-specific domain names.

Steps to place JavaScript code:

1. Log In to Blogger account and visit your dashboard
2. Click on design of your Blog
3. Click on Edit HTML

<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,’’);

4. Now copy the above code and search this line on your blogger template.

<b:include data=’blog’ name=’all-head-content’/>

5.  Paste the java script code below that line and save your template.

Now your visitors from anywhere in the world can see your domain only.

(Visited 216 times, 1 visits today)