How To Stop or Disable Country Redirection in Blogger Blog Using Blogspot Domain


Blogger is a free and easy blogging platform that lets you create a free blog and publish your passion your own way. After creating a blog on blogger, the blog will be www.yourname.blogspot.com . This shows the blog is still hosted by blogger platform. But when you get a custom domain, blogspot will be removed.


If you are still using blogspot sub domain in your blogger blog, you should Stopping country redirection in blogger will help have a stable traffic and audience. Country-Specific redirection is an old updates in blogger which is not good. For instance, if you open blogspot.com blog in India you will be redirected to yourblogname.blogspot.in similarly in UK it will be redirected to yourblogname.blogspot.co.uk, in Kenya, you will be redirected to yourblogname.blogspot.ke . It affects blogs in the following ways :


1. Performance: Country-specific redirection affects loading speed which is site performance of blogs. It slows down blog loading speed because it takes time to redirect to country specific domain e.g in, fr, jp, uk, id, ke, ng etc

2. Ads And Gadgets: Some Ad networks ads are also affected by specific country redirection. A very good example is Revenuehits. Revenuehits ads disappear when blogspot blog is redirect to a country's specific domain.

This can happen in Google AdSense in a situation whereby you enabled site authorization that lets verified ads to display ads and your earnings can decrease. Another problem is some gadgets like web page translator stops working when a blog is redirected, it may happen with other gadgets too.

3. SEO: Country-specific redirection make backlinks gets divided different domains so you need to do more efforts to create backlinks for each country e.g blogspot.in backlinks, blogspot.co.uk backlinks etc. Therefore, its better to redirect your blog to top level domain that is dot com so you don't need extra work and efforts, you just have to concentrate on dot com.

4. Social Media Shares: Just like backlinks are divided because of country-specific redirection, social media shares are also affected because when a post of your blog is shared on social media, for example 10 times on Facebook from uk domain(yourblog.blogspot.co.uk) now when you visit yourblog.blogspot.com you will see zero Facebook shares so post shares are also divided.

5. Crawling And Indexing: Some webmaster tools like Yandex show an error while indexing your blog, after submitting sitemap yandex show mirror site detected error it could be blogspot.in or blogspot.co.uk or other so your site isn't indexed.




How To Set Auto Redirection From Country-Specific Redircetion To .COM In Blogger?

Step 1: Log in to your blogger dashboard.

Step 2: Navigate to Theme and click on Edit Html.

Step 3: Search for </head>

Paste below code right above the head tag


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

Step 4: Click on Save and you are done successfully.


Or Search for <head> then place below code right after it.


script type="text/javascript">
  
  // Works on both http/https links
  
  /* Get the full URL of the current blogger homepage or other page */
  var blog = document.location.href.toLowerCase();

  /* Do not redirect if the domain is .com already */
  if (!blog.match(/\.blogspot\.com/)) {

    /* Replace the country TLD with .com and ncr switch */
    blog = blog.replace(/\.blogspot\..*?\//, ".blogspot.com/ncr/");

    /* Redirect to the new .com URL in the current tab */
    window.location.replace(blog);
  }
  
</script>


Now, your blogspot blog will be redirected automatically to yourblogname.blogspot.com no matter the country the visitors visits your blog.


Recommended : 


==> How To Use 301 Redirect on Blogger Blog To Redirect Old Url to New Url
==> How To Enable HTTPS Over HTTP in Blogger
==> How To Disable Copy and Paste in Blogger Blog Posts





Subscribe To Our Newsletter
Follow Us On Twitter and Instagram

Comments