Friday , December 1 2017
Home > Blogger > Always Prevent Your Blogger Blog From Redirect On Country-Specific URL

Always Prevent Your Blogger Blog From Redirect On Country-Specific URL

If You Have a Blog On Blogger Platform (Without a Custom Domain) Then You Notice That Your Blog Is Redirect On Country Specific URLs. For Example If You Open xyz.blogspot.com In India Than  It Will Be Automatically Redirect On xyz.blogspot.in And If You Open xyz.blogspot.com In United Kingdom (U.K) Then It Will Be Automatically Redirected On xyz.blogspot.co.uk. Do You Know With This Feature Google Easily Banned/Block a Blog Or any Page Of a Blog In Particular Country. But Your Blog Is Still Visible In All Other Countries.

stop-blogger-country-url-redirection

Must Read: How To Create Sitemap For Blogger Blog

This Country Based URL Redirection Create Some Negative Effects On Your Blog.

1. If You Are Use a External Comment System On Your Blogger Blog Then It May Be Cause Some Problem At Comment Time.

2. It Decrease Alexa Rank Of Your Blog. Because If Your Blog Open With Country Specific URLs than Alexa Provide Particular Rank To Country Specific URLs. If Your Blog Open With Single Country Specific URL than Your Blog Alexa Rank Will Be Best.

Now a Question Arise How To Prevent Your Blog From Redirecting On Country Specific URL. Don’t Worry I Tell You a Very Simple Method For Prevent Your Blogger Blog From Redirect On Country Specific URLs. Follow The Steps…

1. Go To Your Blogger Dashboard.

2. Click On Template>Edit HTML

3. Press CTRL+F And Find </head> Tag.

4. Paste The Below Code Before </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>

5. Click On Save Button. Your Blog Is Permanently Set to .blogspot.com URL.

Check Also

Increase comments on your blog

Best Tips To Get More Comments On Your Blog Posts

Your blog is heartless without visitors. You’ve noticed loads of comments on several blogs but …

Please comment here

avatar
300
Shubham
Guest
Shubham

Please change ” double quote in your code. It is pointing towards outer and it causes an error in blogger template.

Facundo
Guest
Facundo

Great blog: it is easy to read and it goes directly to the bone. I’d like to read the other posts too.

Vjay
Guest
Vjay

Preventing blogger blog from country specific URL also helps to boost Alexa Rank and Google Page Rank

wpDiscuz