Wednesday, May 8, 2013

Redirect Country Specific Blogspot Url to .com - Blogger Tips

                Improve your blog spot traffic by changing the country specific URL to .com.By viewing the country specific blogs some visitors may think that the website is only specific for particular area so, they may left the blog and go for another one.Google will treat that the blog having so many domains ,Google treats your blog as duplicate content,To solve this issue you have to solve country specific redirection.
Redirect Country Specific Blogspot Url to .com - Blogger Tips

Here are the steps to change the Country Specific Blogspot Url to .com

  1. Go to Blogger Website and login .
  2. Select the blog to change the Country specification.
  3. Go to Template ---> Edit Html --->Edit Template
  4. Find <head> (Tip: click on code and Press Ctrl Key +F to find)  And Place the below Code   

     <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>
Now Save your template you done.

Thank you for spending your valuable time .Please give your feed back and suggestions by commenting.Come back to get more blogger tips and tricks.Get Updated by following us on Facebook,Twitter,Google+.      Enjoy Reading.


    No comments:

    Post a Comment