HttpResponseBase.RedirectPermanent Method (String)
Performs a permanent redirect from the requested URL to the specified URL.
Assembly: System.Web (in System.Web.dll)
The method overload provides a 301 HTTP status code in the response and includes the URL to redirect the request to. A 301 HTTP status code is a standard code in an HTTP response. It indicates that a permanent redirect exists, and it provides the redirect location.
Calling the method terminates the rest of the response.