PHP做301网页转向的方法,含代码
<?
$url="http://www.winliuxq.cn".$_SERVER["REQUEST_URI"];
header("HTTP/1.1 301 Moved Permanently");
header ("Location:$url");
?>
$url="http://www.winliuxq.cn".$_SERVER["REQUEST_URI"];
header("HTTP/1.1 301 Moved Permanently");
header ("Location:$url");
?>