301重定向检测工具 http://www.sjchaxun.cn/http/
PHP下的301重定向
Header( "HTTP/1.1 301 Moved Permanently" ) ;
Header( "Location: " );
ASP下的301重定向
<%IF LCase(Request.ServerVariables("HTTP_HOST"))<>"www.52-life.net" Then Response.Status = "301 Moved Permanently" Response.AddHeader "Location", "http://www.52-life.net" End IF%>
ASP .NET下的301重定向
ColdFusion下的301重定向
<.cfheader statuscode="301" statustext="Moved permanently">
<.cfheader name="Location" value="http://www.new-url.com"> 页面所在本站地址: http://www.52-life.net/Nshow_reurl.asp?reurl=Seo_301 |