Redirect Blogger Blog .in to .com Domain

I remember before 2 years back blogger shows blogspot.com domain and after that some duration it converts to blogspot.in. This change is based on country specific domain. Blogger announced all BlogSpot domains means blogspot.com to converts to .in, .au. etc. It’s based on country specific domain extensions. This is called as redirection of domain. Recently this redirection is implemented in India for all blogger blogs. In one hand this redirection is called as 302 redirect, which include in temporary redirection and not 302 Redirect which is permanent redirection of Domain. That we learned in last article post. This redirection coding is also known as a ‘country-code Top level Domain’ (cctld).

Now see the following example then you will get whole idea about it:

If you browse a blog  like xyz.blogspot.com from India it will supposed to be show xyz.blogspot.in, Similarly if browse same blog from Australia, it will be blogger redirection to xyz.blogspot.au. And same with other country like New Zealand etc.

Now your mind may be stuck at this point, how to stop 302 temporary redirect (.com to .in Domain). In this blog I am giving you some tips to avoid or disable temporary redirection, because temporary redirection is not suitable for Google spider. You need to solve this issue at your end. Solution is simple you needed to add some code to your blogger blog in HTML back-end to stick with blogspot.com

Take the following steps to disable country specific Domain redirection in blogger blog.

1. Login to your blogger dashboard –> click on Template–> click on Edit HTML

2. Click on Proceed. You will see all code of your blog is there. First you have to take your blog backup on your local PC.

3. Now click on check box of Expand Template Widgets.

blogger-code

4. Secondly search for </head> Code in your template.

5. Copy following Code & paste Before </head> and save your changes.

Disable-code-blogger

<script type=’text/javascript’>

if ((window.location.href.toString().indexOf(‘.com/’))==’-1′)

{ window.location.href =window.location.href.toString().replace(‘.blogspot.in/’,’.blogspot.com/ncr/’).replace(‘.blogspot.com.au/’,’.blogspot.com/ncr/’);}

</script>

Hope this will help you, if you like it please share it……

Advertisements

6 thoughts on “Redirect Blogger Blog .in to .com Domain

    • Hey shivam, it has to be work. I used this code on my own blog you can check it out http://seosmarty.blogspot.com/.
      If this code is not worked your blog then you can try this code
      —————————————

      if ((window.location.href.toString().indexOf(‘.com/’))==’-1′)
      { window.location.href = window.location.href.toString().replace(‘.blogspot.in/’,’.blogspot.com/ncr/’).replace(‘.blogspot.com.au/’,’.blogspot.com/ncr/’).replace(‘.blogspot.co.nz/’,’.blogspot.com/ncr/’); }

      ————————————–

  1. I really like your blog.. very nice colors & theme.
    Did you create this website yourself or did you hire someone to do it for you?
    Plz reply as I’m looking to design my own blog and would
    like to know where u got this from. kudos

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s