재우니의 블로그


Response.Status = "301 Moved Permanently";
Response.AddHeader("Location","http://www.VikramLakhotia.com");
Response.End();

public void PermanentRedirect(this HttpResponse response, string destination)

{

        response.Status = "301 Moved permanently";

        response.AddHeader("Location", destination);

        response.End();

}