PHP实现301跳转 2015/04/29 14572 $var = $_SERVER['REQUEST_URI']; header( "HTTP/1.1 301 Moved Permanently" ) ; header("Location:http://www.open-open.com".$var); exit;