301 重定向代码
作者:jit 日期:2011-04-01
301重定向代码:
ASP:
Response.Status="301 Moved Permanently"
Response.AddHeader "Location","http://www.xxxx.com/"
Response.End
PHP:
header("HTTP/1.1 301 Moved Permanently");
header("Location:http://www.xxxx.com/");
exit();
评论: 0 | 引用: 0 | 查看次数: -
发表评论