Thursday , December 3 2020
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 In India Than  It Will Be Automatically Redirect On And If You Open In United Kingdom (U.K) Then It Will Be Automatically Redirected On 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.


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 += “” + slug;

5. Click On Save Button. Your Blog Is Permanently Set to 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 …

Inline Feedbacks
View all comments
5 years ago

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

5 years ago

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

6 years ago

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

Would love your thoughts, please comment.x