Ads Top

How to Stop Blogger (Blogspot) from Redirecting to Country Top Level Domaim

One issue with using a free blogger domain (www.example.blogspot.com) is that you will have limited control over your website.
This is the major reason why a lot of people then to shift to wordpress.org for their web services. Like the domain above (www.example.blogspot.com) if someone from UK stumbles upon your site your blog would look like this (www.example.blogspot.com.uk.)
Due to the fact that the page view came from The United Kingdom, your domain name will automatically take the TLD ( Top Level Domain) of that country ie UK.
This redirecting started in 2007 after google talked about having controversial content on the web.


This is not an issue to your blog because it doesn't affect your ranking or your presence on the web. but I have heard a lot of people saying that it slightly affects your Adsense earnings, but I haven't seen a reason why it should because if you're still having page views from let's say the United States, your domain will still look like (www.example.com).
Even if someone  Nigeria visits  (www.example.blogspot.com.uk) it would be redirected to (www.example.blogspot.ng). So, I fell is doesn't affect your linking, if someone links to you with the former it still rank all the country TLD as one.
But if you feel there is need to still stop the redirecting you can follow the steps below.


Stop Blogspot from Redirecting to Country TLD.

-- Login to your Blogger Dashboard, then locate theme. And click on Edit HTML.

-- Use CTRL+F to find the <head>

-- Then Paste the following code directly below <head>

script type="text/javascript">

  /* Get the full URL of the current blogger 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);
  }
  // Source: http://www.tedbitstech.com/2017/05/stop-blogger-from-redirecting-country-domain.html

</script>

-- Save your template. You can either use VPNto find out if the redirecting has stopped or Ask you friend in another country to visit your site to confirm.

It's up to you whether to choose to redirect or leave it as google wants it to be. Let me know your thoughts on this below.

2 comments:

  1. You can either use VPNto find out if the redirecting has stopped or Ask you friend in another country to visit your site to confirm.email verify

    ReplyDelete
  2. Extraordinary work you folks are doing with this webpage.Johnny Chen Austin

    ReplyDelete

Powered by Blogger.