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

What if using rel="dofollow" and rel="nofollow" together for a link?

· 52CE 我爱测

How does google consider these links? for example : <a href="url" rel="nofollow" rel="dofollow">text</a> Is it a dofollow link or nofollow ? Which one has more priority over the other one? I've used dofollow tags for backlinks of…

问题原文

原帖链接 · M. Safari · CC BY-SA 3.0

How does google consider these links? for example :

<a href="url" rel="nofollow" rel="dofollow">text</a>

Is it a dofollow link or nofollow? Which one has more priority over the other one? I've used dofollow tags for backlinks of my website http://www.greenseo.ir , but I think it's an error!

已采纳解答

原帖链接 · Simon Hayter · CC BY-SA 3.0

No such thing as dofollow:

The dofollow attribute does NOT EXIST in either rel or meta, this is due to the fact that by default both pages and links are considered dofollow unless you use nofollow.

Meta follow is not to be confused with dofollow <meta name="robots" content="noindex, follow">

Despite MASS belief follow and dofollow have nothing in common other than the fact they share a similar name, it has absolutely no bearing on passing of page rank. Meta Follow it simply informs search engines to discover content on the receiving end of links...

A page that is not indexed by Google or Bing will not pass juice period. Also, the usage of content="noindex, follow" is pointless because simply using content="noindex" informs search engines to follow links unless you use content="noindex, nofollow".


Rel dofollow is invalid markup:

SOURCE

<a href="#" rel="dofollow">test</a>

Bad value dofollow for attribute rel on element a: The string dofollow is not a registered keyword.d.


Using duplicate REL is invalid markup:

SOURCE

<a href="#" rel="nofollow" rel="rel">test</a>

Error: Duplicate attribute rel.


Example of valid markup using multiple rel values:

SOURCE

<a href="#" rel="nofollow me">test</a>

Document checking completed. No errors or warnings to show.

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

资料来源与适用范围

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

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

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