Changing Country Specialist Blog URL Into .COM Permanently!




Blog tip for you….

    Here I discuss a special blog trick that I think everybody needs to know and wish to implement on their blog. First, I tell you what I mean to discuss here. We all know that blogger announced that their blogs became country dominated that means if you open your blog in India then it will show you .in and if any blog open in United States then it shows .com. If you need and wish to make your blog url open with .com like me (because .com is top level domain so it is beneficial as a point view of traffic) then there is small coding you do in your blog. Here I share coding ….

First of all what you do?

  • Go to blogger.com, and then sign in
  • Then click on design (old version) or Template (new version) and then click on Edit HTML.
  • When you set well all these instruction you see a window consist huge HTML coding, then your next step is to Find(Ctrl+F) <head> and when you find this tag, just copy the below html coding and paste after <head> and save it…just finished ..Your hard work is now finished. When you open your blog then it will be show as .com permanently!    
                                                                                                        
Copy it and Paste after <head>
   
<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 and see the magic…. :)

This is simply coding for you by me!

    At last please, send me your comments, feedback's or anything you wish to say about this blog or this blog because all this inspired me a lot to search new topics and to present new posts like this!