السبت، 14 مايو 2016

How to Stop Country Specific URL Redirection in Blogger

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 you open “YourDomain.blogspot.com” in your browser, it redirects to as “YourDomain.blogspot.in” (if you are in India) or “YourDomain.blogspot.jp” (If you are in Japan). This implementation done by Google because of Selective censorship (to block a blog or page easily).

Google does nation particular redirection for specific restriction – that implies they can without much of a problem can block a entry, or other whole web page, in one country yet simultaneously provide that page in other geographic locales. redirection just happens in the event that you are on a blogspot area and not if your Blog is on a custom space. So in this post we will see how you can stop blogger blogs from redirecting to country specific URL’s with a simple script. (Stop Country Specific URL Redirection in Blogger)


stop redirecting country specific domain

Why to Stop Country Specific Redirection?

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 and page rank juice of your blog.

You want exterior websites to weblink to you and not your nation specific URL. But the issue here is that you can't control how others link to your page. They might use the top level domain or they might use the country code top-level domain. . If you use Disqus for your comments section, then you might run into trouble because blog URLs will be different even if essentially the page being accessed is just the same.

(Stop Country Specific URL Redirection in Blogger) These are your Facebook Likes, Google +1s and so on from your blog posts. They might be reduced because the URLs from one blog post will be different depending on where your readers are from. Your blog site or online traffic will be different from different places of the world. Your social medial followers will be different from different places. So we should avoid country specific domains. In you blogger blog you after change in some html code you can prevent blogger from redirect a URL to country specific domains. Your blog or website loss alexa rank and PR in search engines, because you are website or blog has country specific URL. 


Stop Blogger from Redirecting Blogspot to Country Specific URL

You can fix by change your blogger or website with non country specific country URL with one java script code and you serve your blogger blog from one single URL that is YourDomain.blogspot.com then this small script could help you out.

Step 1: Login to Blogger account

Step 2: Go to Template >> Edit HTML

Step 3: Now find the <head> tag.

stop redirecting blogspot to country specific url

Step 4: You find the <head> tag then paste the following code below <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>

Step 5: Click on Save template.

Now you will see how your blog redirects to YourDomain.blogspot.com instead of your country specific URL. Now any person viewing your blog from any country would see your posts under YourDomain.blogspot.com instead of his country specific URL’s. Please share this post with your friends on Facebook, Google plus and Twitter or Use the below social icons. If you are facing any problem, do not hesitate, just drop the problem in the below comment box

ليست هناك تعليقات:

إرسال تعليق