asp.net中设定301状态,并通过设置header将网页永久转向
<script runat="server"> private void Page_Load(object sender, System.EventArgs e) { Response.Status = "301 Moved Permanently"; Response.AddHeader("Location","http://www.75271.com"); } </script>
asp.net中设定301状态,并通过设置header将网页永久转向
<script runat="server"> private void Page_Load(object sender, System.EventArgs e) { Response.Status = "301 Moved Permanently"; Response.AddHeader("Location","http://www.75271.com"); } </script>