静态页如何做301重定向??
XXX.com 定向到 www.XXX.com
不使用iis
[解决办法]
this.location = "http://www.baidu.com";
[解决办法]
Response.Status="301 Moved Permanently"
Response.StatusCode = 301;
Response.Headers.Add("Location","http://www.baidu.com");
Response.Status = "301 Moved Permanently";
Response.StatusCode = 301;
Response.Headers.Add("Location","http://www.baidu.com");