什么是noindex标签?noindex标签的作用和用法

QQBA18A2F81D SEO优化 904

一、什么是noindex标签?

noindex标签属于html标签,作用是向搜索引擎申明该网页是禁止抓取收录,站内优化用到这个标签,有利于站内url链接标准化。
html代码说明示例:

<meta name=”robots” content=”noindex” />

noindex标签

二、noindex标签的作用和用法

noindex标签用法

noindex标签必须要放在<head>和</head>之间,例如<meta name=”robots” content=”noindex”>;
此标签是告诉搜索引擎此网页不允许收录,如果该页面已收录,要求搜索蜘蛛删除此页面快照;
index命令:表示允许搜索蜘蛛抓取该页面;
follow命令:表示允许搜索蜘蛛抓取此页面上的链接,还可继续访问抓取此页面子链接页面;
noindex命令:表示不允许搜索蜘蛛抓取此页面;
nofollow命令:表示禁止搜索蜘蛛抓取此页面链接,而且不传递页面权重。

noindex标签写在哪?

根据以上noindex标签命令,于是我们列出以下四种组合

<meta name=”robots” content=”index, follow” />表示可以抓取该页面,还可以顺着此页面抓取其它的链接;
<meta name=”robots” content=”noindex, follow” />不允许抓取此页面,但可以顺着此页面链接抓取其它的链接;
<meta name=”robots” content=”index, nofollow” />允许抓取此页面,但不允许顺着此页面链接抓取其它的页面;
<meta name=”robots” content=”noindex, nofollow” />禁抓抓取此页面,也不允许顺着此页面抓取其它页面链接。

这里大家要注意,尽量不要把index、nofollow两个相对立的标签写在一起,例如<meta name=”robots” content=”index, nofollow” />。

三、noindex和nofollow使用环境情况

1、<meta name=”robots” content=”noindex”>表示禁止搜索引擎收录该页面,已收录的页面也需要删除,但允许搜索蜘蛛索引该页面的其它链接;
<meta name=”robots” content=”noindex”>和<meta name=”robots” content=”noindex,follow”>作用是一样的。
2、<meta name=”robots” content=”noindex,nofollow”>不允许搜索蜘蛛收录该页面,如已收录则要求删除此页面快照内容,且禁止搜索蜘蛛抓取此页面上的其它链接地址。
3、<meta name=”robots” content=”nofollow”>或<meta name=”robots” content=”index,nofollow”>表示不允许搜索蜘蛛抓取该页面的其它链接,但允许搜索蜘蛛抓取当前页面内容。
4、<a rel=”nofollow” href=”url”/>告诉搜索蜘蛛此链接为不信任链接,禁止向此链接导入权重值。
备注:mate name=”robots”表示允许所有搜索蜘蛛抓取当前页面,但也可以指定某个搜索蜘蛛抓取当前页面,例如mate name=”googlebot”(谷歌蜘蛛)、mate name=”baiduspider”(百度蜘蛛)、mate name=”haosouspider)”(好搜蜘蛛)、mate name=”sogou news spider”(搜狗蜘蛛)等,conrent标签还分别有index、noindex、follow、nofollow四个标签内容,用英文逗号隔开就行。

回复

我来回复
  • 暂无回复内容

联系我

平时工作忙:合作还是咨询SEO服务,请简明扼表明来意!谢谢!

在线咨询:点击这里给我发消息

邮件:dabingseo@qq.com
工作时间:周一至周六,10:30-24:30,节假日休息

个人微信
个人微信
分享本页
返回顶部