修改/index.aspx这个文件,里面加301跳转代码
- HttpContext.Current.Response.StatusCode = 301;
- HttpContext.Current.Response.Status = "301 Moved Permanently";
- HttpContext.Current.Response.AddHeader("Location", “http://www.123.com”);
- HttpContext.Current.Response.End();
复制代码