How to Stop Country Specific URL Redirection in Blogger 2016
Hey Guys! Blogger has introduced specific country redirection of blogs which are running on.blogspot domains. It gives a specific country based domain to your blogspot blog on the basis of your visitor’s geographical location. For example if your visitor is visiting your blog www.xyz.blogspot.com from Pakistan then it will redirect your visitor to this URL www.xyz.blogpost.pk. So, you must stop this because it could cause some serious damage to your search ranking. Today I am going to show you how to stop country specific URL redirection in blogger.
Let Discuss it below:
1.Sign in to Blogger Dashboardand select your blog.2.Now click on Template from sidebar and then Click on Edit HTML.
3.Afterwards, press Ctrl+F and you’ll have a search bar then search for <head> tag in your template.
4.Ones you find the </head> tag then paste the following code below </head> tag.
Let Discuss it below:
Why to Stop Country Specific Redirection?
This query might strike your mind that why you should stop country specific redirection of your blog.let us elaborate it for you guys. Actually, when your blog redirects on such country based URLs then it affects your blog’s Alexa Rank and Page Rank juice as the redirected URL will be considered as the new URL. And, the visitors on such URLs will not be considered your blog’s reader as the URL is different no matter the content is same. So, you are strictly suggested to stop country specific redirection in order to save the Alexa rank.How to Stop Country Specific Redirection of Blogspot blog easily:
So, Now follow the given steps to get the solution of it;1.Sign in to Blogger Dashboardand select your blog.2.Now click on Template from sidebar and then Click on Edit HTML.
3.Afterwards, press Ctrl+F and you’ll have a search bar then search for <head> tag in your template.
4.Ones you find the </head> tag then paste the following code below </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>
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>
5.Now just have to click on Save template and it will automatically stops redirection.
Just follow the above steps and that's it.
I hope that after reading this article you can easily Stop Country Specific URL Redirection in Blogger.If you like this article share it on social media to help other blogger friends.
Let me know you if you have any problem regarding to this article.If you have any problem you can ask me in comment box.Thanks for reading this article.Stay tuned for more lectures.
No comments: