各种HTML标签的SEO作用
3年前3200
<meta http-equiv="mobile-agent" content="format=html5;url=对应的移动端网址" />
<link rel="canonical" href="对应的电脑端网址">
如果是电脑端网站和移动端分离,移动适配需要在电脑端和移动端每个页面分别填入以上标签,以告知搜索引擎适配关系。
<meta http-equiv="Cache-Control" content="no-transform"> <meta http-equiv="Cache-Control" content="no-siteapp">
告诉搜索引擎不要对网站转码。
<meta name="applicable-device" content="pc,mobile">
告知搜索引擎该站点是自适应,所有页面添加。
<meta name="location" content="province={所在省};city={所在城市}" />
告知搜索引擎页面内容对应的地点。
<a href="http://seo.badun.net/" rel="nofollow">巴顿SEO博客</a>
告知不要追踪链接和传递权重,貌似百度不理你。
<meta name="robots" content="noarchive">
禁止所有搜索引擎保存快照。