php 智能404跳转代码,适合换域名没改变目录的网站
<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=gb2312" />
<title>404</title>
<meta http-equiv='refresh' content='5; url=//www.jb51.net<?=$_server[request_uri]?>'>
</head>
<body>
本站起用新域名访问
你目前访问的页面是http://www.jb51.cn<?=$_server['request_uri']?>
系统为你重新定向到新站相应的页面//www.jb51.net<?=$_server['request_uri']?>
或等待5秒后,系统自动跳转到新站相应的页面
</body>
</html>
如对本文有疑问,
点击进行留言回复!!
相关文章:
-
-
-
LAMP部署
一、LAMP概述1、LAMP概述LAMP中,A代表Apache,其软件名称就是apache。但是后来很多工程师成...
[阅读全文]
-
-
-
-
-
-
-
-
网友评论