심재운 블로그

반응형

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();

}

 


반응형

댓글

비밀글모드