SEO glossaryA nofollow link has rel="nofollow", which tells search engines not to vouch for the page it points to. Google treats it as a hint rather than a rule.
A nofollow link is a normal hyperlink with one extra attribute: rel="nofollow". Visitors see and click it like any other link. The attribute speaks only to search engines, telling them the site is not vouching for the page it links to, so the link should not pass ranking credit (PageRank, often called link juice).
<a href="https://example.com/" rel="nofollow">Example</a>
A short history
Google, Yahoo, and Microsoft introduced nofollow in 2005 to fight comment spam, when spammers were filling blog comments with links. For years it was treated as a strict instruction. In September 2019, Google added two more specific values and changed how all three are treated: they became hints that Google may take into account, for ranking straight away and for crawling and indexing from March 2020.
nofollow, sponsored, and ugc
| Attribute | Use it for |
|---|---|
rel="sponsored" | Paid links: ads, sponsorships, and affiliate links |
rel="ugc" | User-generated content, such as comments and forum posts |
rel="nofollow" | Any other link you do not want to vouch for |
Values can be combined, such as rel="nofollow ugc", and nofollow remains acceptable for paid and user-generated links. What matters is that paid links carry one of them: Google's spam policies treat followed links that were paid for as link spam.
When to use nofollow
- Paid, sponsored, and affiliate links (preferably with
sponsored). - Links in comments, forums, and other content users can add.
- Links to sites you need to mention but do not want to endorse.
There is no need to nofollow ordinary editorial links to good sources; linking out to useful pages is normal and helpful. See outbound link and editorial link.
Nofollow on internal links
Avoid it. Adding nofollow to internal links to "sculpt" PageRank does not work as intended, and it can stop Google discovering pages. To keep pages such as logins or carts out of search, use noindex; robots.txt only controls crawling, and a blocked URL can still be indexed. Note too that nofollow is not noindex: a page that is only linked with nofollow can still be crawled and indexed if Google finds it another way.
Do nofollow links have any value?
Yes. They bring visitors, brand awareness, and sometimes the followed links that come later when others discover a site. Because nofollow is now a hint, Google may also use some of them. A natural link profile has a mix of followed and nofollowed links.
Nofollow in WordPress
WordPress adds rel="nofollow ugc" to links in comments automatically. For links in posts, many SEO plugins add nofollow and sponsored options to the link editor, and the attribute can always be added by editing a link's HTML.
Source: Google Search Central, Qualify your outbound links to Google.