Friday, April 6, 2012

How to Redirect Blogger Blog .in Domain to .com Easily

Recently, Blogger announces a Country Specific URL's redirection for all BlogSpot domains. Instead of the domain extension, your readers will see their country specific domain extensions. The redirection currently implemented on India and so far all domains redirecting to

For example: If you are viewing a blog with address from Australia (AU), then you will be redirected to Similarly, if you are viewing from India it will be redirected to

This redirection is called "country-code Top Level Domain" (ccTLD). It also knows as "302 Redirect" which is a temporary change and not a 301 redirect which is a permanent change of address...

To disable this 302 country specific domain redirection you need to add little code to your blog template to deal with this redirection and stick to Let's follow below steps to disable 302 redirection from blog.

How to Disable Country Specific Domain Redirection in Blog
  1.  Go to your Blogger Dashboard click on ---> Design tab ---> Edit HTML tab.
  2. Make sure to take backup of your Template before making any changes to your HTML.
  3. Now click on Expand Template Widgets check box.
  4. Search for </head> code in your Template. .
  5. Copy and Paste the following code BEFORE the </head> and Save your template and see the URL..
    <script type="text/javascript">
     if ((window.location.href.toString().indexOf('.com/'))=='-1')
     { window.location.href = window.location.href.toString().replace('','').replace('','').replace('',''); }

If you Like It then Please Share It To all........