欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

404页面自动跳转到首页

程序员文章站 2022-07-09 21:19:01
很抱歉,网站搬新家啦! 网站搬新家啦,即将跳转新网址~ The website is moving to a new home. It is about to jump to the new website. 若网页未能自动跳转新网址,请点击下面按钮进行跳转! 进入新网址 网站搬新家啦,即将跳转新网 ......

很抱歉,网站搬新家啦!

网站搬新家啦,即将跳转新网址~

the website is moving to a new home. it is about to jump to the new website.

若网页未能自动跳转新网址,请点击下面按钮进行跳转!

 

<!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=utf-8" />
<title>很抱歉,网站搬新家啦!</title>

<style type="text/css">
body {margin: 0px; padding:0px; font-family:"微软雅黑", arial, "trebuchet ms", verdana, georgia,baskerville,palatino,times; font-size:16px;}
div{margin-left:auto; margin-right:auto;}
a {text-decoration: none; color: #1064a0;}
a:hover {color: #0078d2;}
img { border:none; }
h1,h2,h3,h4 {
/*	display:block;*/
	margin:0;
	font-weight:normal; 
	font-family: "微软雅黑", arial, "trebuchet ms", helvetica, verdana ; 
}
h1{font-size:44px; color:#0188de; padding:20px 0px 10px 0px;}
h2{color:#0188de; font-size:16px; padding:10px 0px 40px 0px;}

#page{width:910px; padding:20px 20px 40px 20px; margin-top:80px;}
.button{width:180px; height:28px; margin-left:0px; margin-top:10px; background:#009cff; border-bottom:4px solid #0188de; text-align:center;}
.button a{width:180px; height:28px; display:block; font-size:14px; color:#fff; }
.button a:hover{ background:#5bbfff;}
</style>

</head>
<body>

<div id="page" style="border-style:dashed;border-color:#e4e4e4;line-height:30px;background:url(sorry.png) no-repeat right;">
	<h1>网站搬新家啦,即将跳转新网址~</h1>
	<h2>the website is moving to a new home. it is about to jump to the new website. </h2>
	<meta http-equiv="refresh" content="0.1;url=https://www.baidu.com">
	<font color="#666666">若网页未能自动跳转新网址,请点击下面按钮进行跳转!</font><br /><br />
	<div class="button">
		<a href="https://www.baidu.com" title="进入新网址">进入新网址</a>
	</div>
</div>
</body>
</html>

  

感谢大家浏览到这里~~~~