遗憾的是,我没有看到保留您的域的解决方案。这是构建页面以重定向到您的网站的相关代码。
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Refresh" content="10;URL=http://www.unixnerd.co.uk">
<meta charset="UTF-8">
<title>NEW ADDRESS</title>
<meta name="description" content="Our site has moved to a new address. Please note the change of address." >
<!-- Mobile Specific Meta -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!--[if IE]><meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'><![endif]-->
<link href='http://fonts.googleapis.com/css?family=Noto+Sans:400,700' rel='stylesheet' type='text/css'>
<style>
body{
font-family: 'Noto Sans', Arial, serif;
font-weight: 400;
-webkit-font-smoothing:antialiased;
-moz-osx-font-smoothing:grayscale;
line-height: 1.618em;
background: #464646 url('car1.jpg') center center no-repeat fixed;
background-size: cover;
}
h2{
font-family: 'Noto Sans', Arial, serif;
font-weight: 700;
font-size:40px;
line-height: 1.618em;
}
section{
max-width:800px;
margin:8% auto 1em auto;
background-color:#222;
opacity: 0.8;
filter: alpha(opacity=80); /* For IE8 and earlier */
color:#fff;
padding:1em 5%;
}
a{
color: #00CC66;
}
a:focus{
outline:none;
outline-offset:inherit;
}
@media (max-device-width: 1027px) {
body{
text-align:center;
font-size:larger;
}
section{
max-width: 90%;
}
}
@media (max-device-width: 640px) {
section{
max-width: 97%;
}
}
</style>
</head>
<body>
<section>
<h2>Our Site has moved!</h2>
<h3>The service you want to use can be reached at <a href="www.unixnerd.co.uk">www.unixnerd.co.uk</a></h3>
<h3>...You will be transferred to the new site in a moment...</h3>
<p>If you have waited more than a few seconds and you are still seeing this message, please click on the link above! Thank you.</p>
</section>
</body>
</html>
注意事项*
1.从https://www.pexels.com/search/website%20background/下载图片
2.把图片和你的索引文件放在同一个目录下(这个html代码所在的地方)
3. 在样式标签下,查找
font-family: 'Noto Sans', Arial, serif;
font-weight: 400;
-webkit-font-smoothing:antialiased;
-moz-osx-font-smoothing:grayscale;
line-height: 1.618em;
background: #464646 url('car1.jpg') center center no-repeat fixed;
background-size: cover;
}
并改变
background: #464646 url('car1.jpg') center center no-repeat fixed;
到您下载的图片文件的名称及其扩展名。
这应该会在十秒内自动重定向到您的页面,并且仍应保持专业诚信。