nofollow 標簽是由 Google 提出的,目的是為減少垃圾鏈接對搜索結果的影響。當鏈接使用 nofollow 屬性后,搜索引擎會減少甚至完全不跟蹤此鏈接。簡單而言,此鏈接于搜索引擎是無效的,并不能增加有效外鏈或提高權重。
網絡博客的興起,同時造成了垃圾評論和鏈接的泛濫,Google 提出 nofollow 標簽的初衷在于屏蔽這些垃圾評論和鏈接。當某個鏈接帶有 nofollow 屬性時,它不會被作為搜索結果排名的參考依據,也不會傳遞 PageRank 值,能有效防止 PageRank 流失。
給鏈接增加 nofollow 屬性的方法:
1. 在 Meta 標簽中定義 nofollow,代碼如下:
<meta name="robots" content="noindex,nofollow" />
表示禁止搜索引擎索引此頁面,并禁止跟蹤此頁面中所有鏈接。
有四種屬性組合方式:
<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 表示允許收錄,noindex 為禁止收錄;follow 表示允許跟蹤頁內鏈接,nofollow 為禁止跟蹤。
2. 在鏈接中定義 nofollow,代碼如下:
<href =http://www.wfuwu.com rel="nofollow"></a>
搜索引擎檢測到此鏈接時,不再繼續跟蹤。
綜上所述,一旦鏈接被加上 nofollow 屬性,就沒有多大意義了。因此在交換友情鏈接時,應防范對方使用 nofollow 鏈接方式。
出處:www.mangguo.org