摘要:
//添加301重定向代码 string strURL = "www.comeeu.com"; if (Request.Url.DnsSafeHost != strURL) { Response.Clear(); Response.StatusCode = 301; Response.Status = "301 MovedPermanently"; Response.AddHeader("Location", "http://" + strURL); ... 阅读全文