seo站外优化推广技巧 百度seo站外优化( 二 )


3、制作404错误页面并返回:当网站产生404页面时 , 并没有制作一个404错误页面告诉用户该页面已经不存在 , 从而直接跳转到首恶有或者直接一个空白的额页面 , 是不利于用体验的 , 所以要制作一个404页面 。
四、如何做404页面?404页面可以是一张图片 , 也可以直接在页面中用代码表示出来1:直接用图片可以用一张可以引导用户返回上一个页面 , 或者点击其他页面的图片 , 这里要注意一下 , 如果用一张图片 , 页头和页尾必须要有 , 增加用户停留时常 , 并带来转化 。2:html代码
好看的html页面加载源码带跳转
body {
background: #555
}
.loading {
-webkit-animation: fadein 2s;
-moz-animation: fadein 2s;
-o-animation: fadein 2s;
animation: fadein 2s
}
@-moz-keyframes fadein {
from {
opacity: 0
}
to {
opacity: 1
}
}
@-webkit-keyframes fadein {
from {
opacity: 0
}
to {
opacity: 1
}
}
@-o-keyframes fadein {
from {
opacity: 0
}
to {
opacity: 1
}
}
@keyframes fadein {
from {
opacity: 0
}
to {
opacity: 1
}
}
.spinner-wrapper {
position: absolute;
top: 0;
left: 0;
z-index: 300;
height: 100%;
min-width: 100%;
min-height: 100%;
background: rgba(255,255,255,0.93)
}
.spinner-text {
position: absolute;
top: 45%;
left: 50%;
margin-left: -100px;
margin-top: 2px;
color: #000;
letter-spacing: 1px;
font-size: 20px;
font-family: Arial
}
.spinner {
position: absolute;
top: 45%;
left: 50%;
display: block;
margin-left: -160px;
width: 1px;
height: 1px;
border: 20px solid rgba(255,0,0,1);
-webkit-border-radius: 50px;
-moz-border-radius: 50px;
border-radius: 50px;
border-left-color: transparent;
border-right-color: transparent;
-webkit-animation: spin 1.5s infinite;
-moz-animation: spin 1.5s infinite;
animation: spin 1.5s infinite
}
@-webkit-keyframes spin {
0%,100% {
-webkit-transform: rotate(0deg) scale(1)
}
50% {
-webkit-transform: rotate(720deg) scale(0.6)
}
}
@-moz-keyframes spin {
0%,100% {
-moz-transform: rotate(0deg) scale(1)
}
50% {
-moz-transform: rotate(720deg) scale(0.6)
}
}
【seo站外优化推广技巧 百度seo站外优化】@-o-keyframes spin {
0%,100% {
-o-transform: rotate(0deg) scale(1)
}
50% {
-o-transform: rotate(720deg) scale(0.6)
}
}
@keyframes spin {
0%,100% {
transform: rotate(0deg) scale(1)
}
50% {
transform: rotate(720deg) scale(0.6)
}
}
以上就是“什么是404页面?做404页面有什么好处?如何做404页面?造成404的原因有哪些?”的全部内容 , 更多seo优化方案可以收藏麓芙哟网站 , 我们会持续给大家带来新知识 。


特别声明:本站内容均来自网友提供或互联网,仅供参考,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。