大网数据广告活动
网站运营与故障问答

difference between `<meta name="robots" content="nofollow" />` and `rel="nofollow"`

· 52CE 我爱测

Is the meta tag <meta name="robots" content="nofollow" /> The same as rel="nofollow" in a link (apart from the fact the the meta tag would be page wide rather than on a per link basis) Or does the meta tag version refer to wether…

问题原文

原帖链接 · sam · CC BY-SA 3.0

Is the meta tag <meta name="robots" content="nofollow" />

The same as rel="nofollow" in a link (apart from the fact the the meta tag would be page wide rather than on a per link basis)

Or does the meta tag version refer to wether robots should crawl the links on the page, rather than if they pass 'link juice' ?

已采纳解答

原帖链接 · MrWhite · CC BY-SA 3.0

The same as rel="nofollow" in a link (apart from the fact the the meta tag would be page wide rather than on a per link basis)

Yes, same as rel="nofollow", except the nofollow in the meta tag applies to all the links on the page.

Or does the meta tag version refer to wether robots should crawl the links on the page, rather than if they pass 'link juice'?

Well, that is what the rel="nofollow" attribute on the link does as well. It tells the bots not to follow that link. ie. Don't crawl it. A by-product of that is that it also won't pass "link juice".

From Google Search Console Help "Use rel="nofollow" for specific links":

Originally, the nofollow attribute appeared in the page-level meta tag, and instructed search engines not to follow (i.e., crawl) any outgoing links on the page.

Before nofollow was used on individual links, preventing robots from following individual links on a page required a great deal of effort (for example, redirecting the link to a URL blocked in robots.txt). That's why the nofollow attribute value of the rel attribute was created. This gives webmasters more granular control: instead of telling search engines and bots not to follow any links on the page, it lets you easily instruct robots not to crawl a specific link.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2016-02-02)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。