For anyone who needs it for ASP.NET websites.
Posted: 23 November 2009 10:46 AM   [ Ignore ]
Newbie
Rank
Total Posts:  1
Joined  2009-11-22

For anyone who needs it for ASP.NET websites.

  Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
  Response.Status = “301 Moved Permanently”
  Response.AddHeader(“Location”, “http://www.yourwebsite.com/newlocation.aspx”)
  End Sub

Profile
 
 
Posted: 08 December 2009 12:23 PM   [ Ignore ]   [ # 1 ]
Newbie
Rank
Total Posts:  7
Joined  2009-12-08
Saturday delivery cod Adderall. Cheapest online Ad - 23 November 2009 10:46 AM

For anyone who needs it for ASP.NET websites.

  Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
  Response.Status = “301 Moved Permanently”
  Response.AddHeader(“Location”, “http://www.yourwebsite.com/newlocation.aspx”)
  End Sub


Ok
How to redirect domain.com to http://www.domain.com

 

In asp.net server headers

Profile