当前位置:首页 > 笔记 > seo > 正文内容

站长之家的head

3年前 (2022-10-24)seo6112

站长之家的head

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Pragma" content="no-cache"><!--禁止缓存-浏览器从本地计算机的缓存中访问页面内容,注意:这样设定,访问者将无法脱机浏览。-->
<meta http-equiv="Cache-Control" content="no-cache"><!--禁止缓存-清除缓存(再访问这个网站要重新下载!)-->
<meta http-equiv="Expires" content="0"><!--禁止缓存-设定网页的到期时间-->
<title>标题</title>
<meta name="description" content="文章简介"><!---->
<meta name="keywords" content="关键字"><!---->
<meta name="mobile-agent"  content="format=xhtml; url=手机页面地址" ><!---->
<meta name="mobile-agent"  content="format=html5; url=手机页面地址" ><!---->
<meta name="mobile-agent" content="format=wml; url=手机页面地址"/><!---->
<link rel="canonical" href="你的网页权威链接" /><!--权重页面地址,网站进行了改版,将旧的内容搬到了新的URL链接上,但是没有做301重定向。需要注意的是link标签里的url链接是你所认为的规范、正确、希望百度收录且参与排名的那个链接-->
<link rel="alternate" media="only screen and(max-width: 640px)" href="手机页面地址" ><!---->
<meta property="og:type" content="article" /><!---->
<meta property="og:description" content="文章简介" /><!---->
<meta property="og:title" content="文章标题" /><!---->
<meta property="og:url" content="电脑页面地址l" /> <!---->
<meta property="og:image" content="缩略图地址" /><!---->
<meta property="news:author" content="作者" /><!---->
<meta name="applicable-device" content="pc,mobile"><!--电脑端,和移动端,可以单个-->
<meta name="renderer" content="webkit"><!--告诉浏览器默认以哪种浏览器内核浏览当前网站,webkit内核-->
<meta http-equiv="Cache-Control" content="no-siteapp" /><!--禁止百度转码-->
<meta http-equiv="Cache-Control" content="no-transform" /><!--禁止百度转码-->
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"><!--//指定IE和Chrome使用最新版本渲染当前页面-->  
<meta name="format-detection" content="telephone=no,address=no,email=no">
<link rel="shortcut icon" type="image/ico" href="//favicon.ico"><!---->
</head>


扫描二维码推送至手机访问。

版权声明:本文由蓝博发布,如需转载请注明出处。

本文链接:https://www.blueboss.cn/p/931.shtml

“站长之家的head” 的相关文章

SEO优化中rel=external,noopener和nofollow三个标签的作用详解

SEO优化中rel=external,noopener和nofollow三个标签的作用详解

有比较细心的SEO优化同道可能会发现有的网站在a标签上使用了rel="external",rel="noopener",rel="nofollow"及rel="noreferrer"这些单个的标签或某些组合,为了解决他们...

关于meta name=applicable-device  content=pc

关于meta name=applicable-device content=pc

关于<meta name="applicable-device"content="pc">百度可以通过基本html特征来判断是否适合无线端浏览:PC站:<meta name="applicable-device" cont...

代码meta http-equiv=”Cache-Control” content=”no-siteapp”啥意思 有什么作用?

代码meta http-equiv=”Cache-Control” content=”no-siteapp”啥意思 有什么作用?

代码<meta http-equiv=”Cache-Control” content=”no-siteapp”>啥意思 有什么作用?WordPress主题文件里面一句<meta http-equiv=”Cache-Control” content=”no-siteapp”>到...

懂得生活网的head

懂得生活网的head

懂得生活网的head<head> <link rel="dns-prefetch" href="//www.n6z6.com" /><!--DNS预解析,加速访问--> <link&n...

详解 meta name=viewport content=initial-scale=1, maximum-scale=1, user-scalable=no, width=device-w

详解 meta name=viewport content=initial-scale=1, maximum-scale=1, user-scalable=no, width=device-w

详解 <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width"><meta name=&quo...