How to Stop Blogger Country Specific Redirection
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.
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.
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'>Hit the Save Template button and you're done.
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>
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