Can We Redirect xyz.in to xyz.com without Renewing xyz.in?


#1

My Brother had an .in domain for his blogger blog but now it has become popular and the .in domain has expired so now he wants to buy and .com domain but he is worried that he may loose the audience. So what he wants basically is that whenever someone wants to goto his site XYZ.in he shall be redirected to XYZ.com So is that possible without renewing his .in domain and adding a redirection script If it is please lemme Know as he wants to start his blog again asap as it is now down for 2 days.

Oblige :slight_smile:


#2

You can’t do this dear without renewing XYZ.in. The only way to save your traffic is to renew xyz.in and then make a blog with that domain using Blogger and then, install redirection script that simply redirect xyz.in to xyz.com.

Renewing a .in domain does not costs so much. So you can easily buy It. You have to buy it only for one year because after 1 year, xyz.com with take place of xyz.in and all your visitors and subscribers got to know that you have changed the domain.

Tip: Install a sticky bar after buying your new .com domain. On that bar, write ‘Bookmark Our New Domain! xyz.com’ so all your visitors will got to know fastly that you have changed your blog’s domain.

Here is the redirection script you need to put on section of your template’s html:

<script type='text/javascript'>
  var d=&#39;<data:blog.url/>&#39;;
  d=d.replace(/.*\/\/[^\/]*/, &#39;&#39;);
  location.href = &#39;http://xyz.com&#39;;
</script>

*Change http://xyz.com/ with your new domain

P.S.- I have changed the topic’s title.

Hope It’ll Help!