PHP · 2011/08/09 0

PHP下的301重定向

<html>   

<head>   

<title>HTTP/1.1 301 Moved Permanently

</title>   

<?   Header( "HTTP/1.1 301 Moved Permanently" );   

Header( "Location: www.domain.com" );   

?>   

</head>   

<body>   

HTTP/1.1 301 Moved Permanently   

</body>   

</html>