Pages

Prevent Blogger Blogs Redirection 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 .com.au domain. For instance, if you open xyz.blogspot.com in your browser, you will be redirected to xyz.blogspot.com.au 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 xyz.blogspot.com has 5 tweets it will be changed with xyz. blogspot.com.au .
  •  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 blogspot.com 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,'.blogspot.com/ncr/');
}
</script>

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 blogspot.com domain only.


original post>>

8 comments :

Md Shaiful islam Talukder said...

Many Many thanks'. your tips very useful for me.

Unknown said...

This is something new for me as i was not aware of this and must be thankful to you for this. click here for further more

India Gets Everything Free said...

what if we want to display .in only to audience from all over the world?

Anonymous said...

This doesn't work if they are on a mobile device and the "?m=1" is at the end of the URL. Do you have something that checks just the country specific domain?

Md. Asif Rabbi said...

Very Informative Post. Thanks for sharing.
--->>Easiest Way to Disable Blogger Local Domain Redirection

davisjohn said...

It was actually an informative post. The ideas presented here were new to me . Good to read it.
Please visit here and get the information about essay review services

Asif said...
This comment has been removed by the author.
Asif said...

here is a good article about this post 5 Reasons to Prevent Country Specific Redirection

Post a Comment