Copy the code The code is as follows:
404 '> ;
This site is accessed with a new domain name
The page you are currently visiting is http://www.jb51.cn=$_SERVER['REQUEST_URI']?>
System Redirect you to the corresponding page of the new site http://www.jb51.net=$_SERVER['REQUEST_URI']?>
Or wait for 5 seconds, the system will automatically jump to the corresponding page of the new site
The above introduces the Xinwen Lianbo 20140414 PHP smart 404 jump code, which is suitable for websites that change domain names without changing the directory. It includes the content of Xinwen Lianbo 20140414. I hope it will be helpful to friends who are interested in PHP tutorials.