Start 301 Redirect Using ASP .NET


Just add the code to the page or script

ASP:

  1. <script runat=”server”>
  2. private void Page_Load(object sender, System.EventArgs e)
  3. {
  4. Response.Status = “301 Moved Permanently”;
  5. Response.AddHeader(“Location”,”http://www.blazedream.com/”);
  6. }
  7. </script>

+ There are no comments

Add yours