301 Redirect

301 redirect is the most efficient and SEO Friendly method for webpage redirection. It's not that hard to implement and it should preserve your search engine rankings for that particular page. If you have to change file names or move pages around, it's the safest option. The code "301" is interpreted as "moved permanently".

  • In IIS Manager, right click on the file or folder you wish to redirect
  • Select the radio titled "a redirection to a URL".
  • Enter the redirection page
  • Check "The exact url entered above" and the "A permanent redirection for this resource"
  • Click on 'Apply'
From the code behind:-
Response.Status = "301 Moved Permanently";
Response.AddHeader("Location","http://www.
vikasrana..com");

In latest dot net framework:
Response.RedirectPermanent("http://www.vikasrana.com/");