Blogger
always redirect our blog to specific country domain. For example if you
have a blog url like prabhatpower.blogspot.com and your reader is
viewing this blog from uk then your blog address will redirected to
prabhatpower.blogspot.uk . Such type of redirection is also known as 302
redirection or also called as country-code Top Level Domain" (ccTLD).
In following countries blogger redirect blog to specific country domain.
By this google can block a blog in one country and blog will visible
for other countries.
- Argentina [blogspot.com.ar]
- Australia [blogspot.com.au]
- Brazil [blogspot.com.br]
- Canada [blogspot.ca]
- Czech Republic [blogspot.cz]
- France [blogspot.fr]
- Germany [blogspot.de]
- Hong Kong [blogspot.hk]
- India [blogspot.in]
- Italy [blogspot.it]
- Japan [blogspot.jp]
- Mexico [blogspot.mx]
- New Zealand [blogspot.co.nz]
- Portugal [blogspot.pt]
- Romania [blogspot.ro]
- Spain [blogspot.com.es]
- Sweden [blogspot.se]
- UK [blogspot.co.uk]
How/Why the Blog name is Redirecting to country based domain
By
default, Google Blogger set the master code into the Blog server to
redirect their Blogger address into country based domain name
like(blogspot.in, Blogspot.gr, Etc) for ex: If you create a new Blog
with the name like Alltechhope.blogspot.com after some time you opened
that blog and it will automatically redirect to the Country based Domain
name.
How to prevent the Redirection
Is
there any solution to solve this issue??? The answer to this question
is yes you will able to predict the redirection by using the code we
developed.
Why we need to stop country redirection in blogger
We must stop such specific domain redirection in blogger because it gives negative effects like this.
- If you are using any other comment system then it will create problem.
- Alexa ranking is different for different country. Our alexa ranking will never bosst.
- Social sharing likes will be reduced.
Stop Country Redirection in blogger
Step:1 Visit www.blogger.com and login with your google account.
Step:2 Now open Template >> Edit Html. Dont miss to take a backup of blogger template.
Step:3 Search for </head> by using CTRL plus f.
Step:4 Copy below code and paste just after the </head>
<script type='text/javascript'> var str= window.location.href.toString(); if ((str.indexOf('.com/'))=='-1') { var str1=str.substring(str.lastIndexOf(".blogspot.")); if (str1.indexOf('/')=='-1') { var str2=str1; } else { var str2=str1.substring(0,str1.indexOf('/')+1); } window.location.href =window.location.href.toString().replace(str2,'.blogspot.com/ncr/'); } </script>
Step:5 Click save and check your blog.
FAQ's
Is this code is SEO friendly???
-Yes, this code is 100% SEO friendly code no doubt about that.
Is this trick affects Adsense??
-No, it will not affect the Adsense. It is Google friendly code.
No comments:
Post a Comment