Stop blogger from redirecting BlogSpot to country specific URLs

Stop blogger from redirecting BlogSpot to country specific URLs



Let’s say you are from German and have blog in German let say Germanlit.blogspot.com where you share your thoughts and insight on German literature. Now with specific redirection you may be redirected to Germanlit.blogspot.gr. The thing is, you like to have .com extension but Google redirect you to extension with .gr. sure, your blog works and all but you wonder why.





Why did Google do this for your blog?

Google has always supported the expression of views, and they stated in free expression and controversial content on the web, which was publish in 2007, it said “our world be very boring place if we all agreed all the time. So, while people may strongly disagree with what someone says, or think that the particular newspaper is total non-sense, we recognize that each of us have the right to an opinion.
HOW would country specific redirection affect your site?

Of course, not all site greeted with country specific URL but some site which have country specific URL face the following types of problems.

1.      Reduction in social stats. If your site changes to country specific URL then there is an enormous reduction in Facebook likes and Google +1’s, why? Because some of your page likers don’t understand German, as discuss above.
2.      A problem with external commenting platforms, if you use disqus- for example- for your comment then you are in trouble because your URL will be different from that of other country specific
3.      Reduction in Google AdSense earning, if you are living in third world then you have a lot of problem with your AdSense earning, because your earning also depend on your location, like if you get 1000 reader from US then you may earn up to $6 to $10 but if you are living in Asia or some African country then your earning may be of $3 to $5. Hope it make sense to you.


Stop blogger from redirecting to country – specific domain

If country specific domain affect your traffic and social stat then you need to stop blogger from country specific URL.
One solution is that you can add an ncr /to the end of your URL ncr stand for no country redirection like your German site will be Germanlit.blogspot.com/ncr/.
That solution is great but your user will redirect every time when he visits your site. To overcome this hassle here is another method.

1.      Log in to your blogger account.

2.      Click on template > edit html.

3.      Find the </head> tag by click anywhere and press ctrl+F keys a search box appear insert the above tag and press enter










1.      Copy the code just before the </head> tag

<script type="text/javascript">
var blog = document.location.href.toLowerCase();
if (!blog.match(/\.blogspot\.com/)) {
blog = blog.replace(/\.blogspot\..*?\//, ".blogspot.com/ncr/");
window.location.replace(blog);
}
</script>


2.      Click on save template and you are done.

Sharing is caring.
Credit: labnol.com















No comments:

Post a Comment