Stop Redirecting Blogger Blog to Country Specific URL

Stop Redirecting Blogger Blog to Country Specific URL

Do you run a blog on blogspot platform? If yes ! Then you might have noticed that Googleredirects blogger blog to country specific URL. For example: Suppose you create a blog like techshoutme.blogspot.com from India. After few days later you can see that, your blog URL will be show techshoutme.blogspot.in in your browser. If someone maintains a blog from Australia then, her / his blogs URL will redirect blog.blogspot.co.au.
redirects blogger blog

Redirection in Blogger is now live in 15 countries. They Are: 
  1. India                [yourblog.blogspot.in]
  2. Uk                     [yourblog.blogspot.co.uk]
  3. New Zealand  [yourblog.blogspot.co.nz]
  4. Australia         [yourblog.blogspot.co.au]
  5. Japan              [yourblog.blogspot.jp]
  6. Canada            [yourblog.blogspot.ca]
  7. Germany        [yourblog.blogspot.de]
  8. Mexico            [yourblog.blogspot.mx]
  9. Argentina       [yourblog.blogspot.ar]
  10. Brazil               [yourblog.blogspot.com.br]
  11. Portugal          [yourblog.blogspot.pt]
  12.  Spain              [yourblog.blogspot.com.es]
  13. Sweden           [yourblog.blogspot.se]
  14. France            [yourblog.blogspot.fr]
  15. Italy                 [yourblog.blogspot.it]
Disadvantages Of Blogger Domain Redirection 
There are many dis-advantage of country specific domain. Because of you and me never want to get traffic from one country. We want more traffics from all over the world. That's why you should need to prevent blogger redirect to country specific domain. 
Domain redirecting affect your social media presence. If you're using Facebook comment option in your blog then, it changes time zone. So to keep your blog safe you should need to stop redirection. 
   

Preventing blogger domain redirection 

So hopefully you may understand the negative affect of URL redirection. There are few simple steps to stop it. Follow the below process. 
  • Open your blogger account and go to Template >> Edit HTML 
    edit template
  •  Now click anywhere inside the code area and search below code. 
 <head>
  • Paste below code just below <head> tag. 
  <script type="text/javascript">
var blog = document.location.hostname.split(".");
if (blog[blog.length - 1] != "com") {
var ncr = "http://" + blog[0] + ".blogspot.com/ncr";
window.location.replace(ncr + document.location.pathname);
}
</script>
  • Now click on save template. 
  • For better understanding just have a look below image
    paste code elow head tag
Now your blog domain always look like blogspot.com not not any country specific URL.
  • Note - If you're using custom domain like [techshoutme.com] on your blog then, you don't need to add this code. 
Final Word 
The above post was that how to stop blogger blog to country specific domain. Hopefully you get something helpful from this post If you're a blogspot user. Happy blogging (- _ -) 

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

إرسال تعليق