在改版和域名变化时,可使用301转向通知搜索引擎:
用ASP/PHP实现301重定向:
ASP:
Response.Status="301 Moved Permanently"
Response.AddHeader "Location","http://www.yoursite.com/"
Response.End
PHP:
header("HTTP/1.1 301 Moved Permanently");
header("Location:http://www.yoursite.com/");
exit();