Google Digital Marketing | SMO & SEO Tips | Search Engine Optimization & SEM: Country Specific Redirection in Blogger
Showing posts with label Country Specific Redirection in Blogger. Show all posts
Showing posts with label Country Specific Redirection in Blogger. Show all posts

Tuesday, January 14, 2014

Prevent your blog from Country Specific Redirection

In efforts to country specific laws, Blogger began integrating country specific redirection in blogs hosted on blogspot.com in February 2013. By this change blog content could manage the more locally so if there was any offensive material that violated a particular country's laws they could remove or block access to that blog for that country through the assigned ccTLD.

However it should be noted that it is still technically possible to access the blog through No Country Redirect by entering the URL address using the regular Blogspot.com and adding /ncr after the .com

Ex: [blog-name].blogspot.com would become [blog-name].blogspot.com/ncr

With this country specific URL there are a number of issues like: 
  •  Your social stats (+1, Likes, Tweets) may fall dramatically due to the variations in domain.
  • Your search ranking might be affected. 
  •  If blogger is banned in a country with the help of local domain, your site can't be visited from there!   

Though Google says, they are trying to reduce the negative consequences for this problem. But why are you waiting for Google's effort? You can force country specific domains to redirect to .com version of your site with a simple script! 
  • Make sure you're signed in to your blogger's control panel.
  • Now go to the template option.
  • Click on Edit HTML. 
  • Find the <head> of your template and then copy the code below and place it just below the head tag. (Look at the image below)
  • Save the template.

 <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 += ".blogspot.com/ncr" + slug;
window.location.replace(ncr);
}
</script>

Disable country specific redirection in blogger


From now and then your visitors will be able to visit the .com version of your site. I mean like that: http://newseoguideline.blogspot.com.