How to Stop Blogger Country Specific Redirection

    0

How to Stop Blogger Country Specific Redirection


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 and so if someone is visiting your blog from India then he will be redirected to yourblog.blogspot.in, etc.

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.

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.

No comments:
Write comments

© 2014 THECYBERSTAR. Designed by Bloggertheme9
Powered by Blogger.