摘要: //添加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); ... 阅读全文
posted @ 2013-04-25 15:44 litao6664 阅读(121) 评论(0) 推荐(0) 编辑