Skip to content

Backlinks

Nofollow links: how they differ from dofollow

A nofollow link tells Google the source does not vouch for the target. See how dofollow, nofollow, sponsored and ugc differ and what nofollow is worth.

By Leous · Updated · 3 min read

Cover image for the article “Nofollow links: how they differ from dofollow” on the Leolinq blog

Nofollow is an attribute added to a link to tell search engines that the page carrying the link does not vouch for the page it points to. A link without the attribute is usually called dofollow.

This guide explains the four link attributes, how Google handles them and why a backlink profile needs both dofollow and nofollow links.

What dofollow and nofollow mean

A normal link in HTML looks like this:

<a href="https://leolinq.com/">Leolinq</a>

Annotated example “A dofollow and a nofollow link in HTML”: the numbered parts are Dofollow and Nofollow
The two links differ only in the rel attribute: rel=nofollow says the linking page does not vouch for the target.

That is a dofollow link. Strictly, no attribute called “dofollow” exists; it is just what SEOs call a link with no restriction on it. This kind of link can pass authority from the source page to the target.

A nofollow link adds a rel attribute:

<a href="https://leolinq.com/" rel="nofollow">Leolinq</a>

Readers see no difference. The difference is in the source code and in how search engines treat the link.

Why nofollow exists

Google introduced nofollow in 2005 to deal with blog comment spam. When every comment link counted, people flooded comment sections to collect links. Marking user-created links as nofollow removed the incentive.

It later spread to ads, paid links and any link a site owner did not want to stand behind.

In 2019 Google added two attributes to describe links more precisely:

  • rel="sponsored": ads, sponsorships and paid links.
  • rel="ugc": user-generated content, such as comments and forum posts.
Annotated code “Three rel values that describe a link”: the numbered parts are sponsored, ugc and nofollow
Since 2019 three attributes describe the relationship between the linking page and the target.

They can be combined, for example rel="nofollow ugc". For SEO purposes all three are usually grouped as nofollow links.

Google used to ignore nofollow links entirely. Also since 2019, it treats all three attributes as hints, not strict orders: Google may choose to use such a link to discover pages and may weigh it in ranking.

In practice:

  • A dofollow link from a good page is the clearest way authority is passed.
  • A nofollow link usually passes none, but it is not worth zero.
  1. Discovery. Crawlers can still follow them to new pages.
  2. Real readers. A link in a busy forum thread can bring customers even though it is nofollow.
  3. Identity. Most links in social profiles are nofollow. They are still the base of an entity profile set, because the value is in consistent details, not in passing strength.
  4. A natural profile. Real sites always have both types. A profile of only keyword-anchored dofollow links is what looks odd.

Key point Dofollow links pass authority. Nofollow links make the profile complete and natural. A campaign needs both.

Diagram “Four things a nofollow link is worth”
A nofollow link usually passes no authority, yet it still has these four kinds of value.

What is a good dofollow to nofollow ratio

There is no standard ratio. It varies by industry and by how sites get mentioned. The grounded way to judge is to check the backlinks of the pages ranking in your field and compare.

What to avoid is forcing the profile one way, especially chasing only dofollow links and ignoring every other source.

  • Social profiles: almost always.
  • Blog comments: mostly nofollow or ugc. WordPress adds the attribute to comment links automatically. See blog comment backlinks.
  • Forums: mostly nofollow or ugc; some allow dofollow for long-standing members. See forum backlinks.
  • Posts on self-publishing platforms: it depends on the platform.
  • Paid articles and sponsored posts: under Google’s rules these must be sponsored or nofollow. See guest posting, niche edits and PBNs.

Open the page, right-click the link and choose Inspect. If the <a> tag has a rel containing nofollow, ugc or sponsored, it is a nofollow link. If not, it is dofollow.

Check the page’s robots meta tag too: with <meta name="robots" content="nofollow">, every link on the page is treated as nofollow.

Frequently asked questions

Look at what the link is for. If it is an entity profile or a link in a community with real readers, nofollow does not remove its value. If the aim is passing authority to a service page, you also need dofollow sources.

No, except for pages you do not want Google to enter, such as login or cart pages. Nofollow on ordinary internal links just throws away your own signals.

The attribute is set by each platform, so a pack covering many platforms always contains both. If you need the split for your order, ask when ordering. Link types are described on the link building services page and prices are on the pricing page; what are backlinks explains the role of each type.

Further reading

Official documentation and reference pages on this topic:

Keep reading More on entity, and backlinks.

Want this done for your site?

Send your domain. We reply within one working day with a first look at your site and a clear quote.

Get a free audit