How To Stop Blogger Redirection To Country Specific Domain
Posted by Unknown on 11:43 with No comments
How To Stop Blogger Redirection To Country Specific Domain

Google Redirecting all blogspot blogger to their Specific Country code TLD’s. If you are visiting a blog from India, It will be redirecting .com to .in domain. If you are visiting a blog from Spain, it will be redirecting .com to .es . For example if you are from India seeing this blog address http://nbw.blogspot.com goes to http://nbw.blogspot.in.
Most of you aware of this thing that Google redirects all the Blogger / Blogspot Blog to the countryspecific TLDs. The reason behind it is Google’s Selective Censorship.
This redirection is called "country-code Top Level Domain" (CCTLD). It also knows as "302 Redirect" . So today I going to share a great trick to disable this country specific redirection and get a better traffic rank.
Also Read : How to Make any Blogger Widgets Sticky
How To Stop Blogger Redirection To Country Specific Domain :
- Go to Blogger Dashboard → Template → Edit HTML .
- Find below code.
<head>
- Now copy the bellow code and paste below <head> .
<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>
Save your template. That’s all. Now your readers can see your blog from anywhere in the world will goes to your original .com domain only.
Categories: Blogger Tips
0 comments:
Post a Comment