Saturday 1 June 2013

Blogger Tips Redirect to .com

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 .

2 comments:

  1. It was wondering if I could use this write-up on my other website, I will link it back to your website though.Great Thanks. promote website

    ReplyDelete
  2. This article helped me a lot and I’ve also realized a similar one by analyzing this article. I hope I’ve figured out in the end how do you also get ranked first in Google.
    cheapest seo packages
    Best Affordable SEO Packages In bangalore

    ReplyDelete