
Why Blogger Blogs Redirecting to Country Specific?
Google gets removal requests from some countries like India. They wanted to make censorship on Internet and hide some unwanted details. So Google initially make censorship on blogger blogs to hide particular unwanted contents. If a site having unwanted contents, they will be hidden in some countries. Other countries can see all contents of that site.
Google said there is no change in SEO of a blog and search engine rankings. The blogs having custom domains are not affected by this method. This new change made bloggers unhappy, because they losing their blog’s Alexa rank. Another drawback is submitting the posts to aggregators they can’t accepting posts from new Url.
How to Stop Blogger blogs redirecting to Country Specific Urls?
We can stop this bloggers redirection functionality by using a JavaScript code. This JavaScript code simply redirects your blog Url to your original .com domain. So your blog cant redirected to country specific domains.
<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>
*Copy the above code and search this line on your blogger template.
<b:include data='blog' name='all-head-content'/>
* Paste the java script code below that line and 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.
good post thanks...........
ReplyDeleteLOL! Great Working ;)
ReplyDeleteIts working man. Thanx a lot.
ReplyDeletehttp://hottest-tips-and-tricks.blogspot.com/
Nice man .you rockz
ReplyDeleteworking man
ReplyDeletecheck this
http://tune2tech101.blogspot.in/
Thank you!
ReplyDeleteI'm mad at Google, I can't understand such idiotic changes. Facebook comments are related to the URLs and I lost all of them if I keep the local domain.
Is it against the Google/blogger's terms? can they delete my blog?
ReplyDeleteThank you for good post...DO u written the code by yourself or u taken this code from any other code developer.
ReplyDeleteIt's working, great :)
ReplyDeletethank you man.. tophealth-tip.blogspot.com
ReplyDelete