php和asp的301 重定向
By admin
- One minute read - 17 wordsPHP:
header(‘HTTP/1.1 301 Moved Permanently’);
header(‘Location: http://www.haohtml.com‘.$request_uri);
ASP:
<%
Response.Status=”301 Moved Permanently”
Response.AddHeader “Location”,” http://www.haohtml.com/”
Response.End
%>