Skip to main content

What is nofollow, and when do you put it on a link?

The Tasadr team · ·3 min read

nofollow is an attribute you put on a link to tell Google you do not want your page tied to the target. Google advises sponsored for paid links, ugc for links users add, and nofollow when neither applies. Google generally does not follow links carrying them, so do not put them on every outbound link.

Also known as nofollow · rel=nofollow · nofollow link · nofollow attribute · dofollow · السمة nofollow

On this page (7)
  1. What is nofollow?

    It is a value you place in a link's rel attribute. It tells Google it generally should not follow the link, and that you would rather not associate your site with the target page.

    Its opposite in SEO talk is "dofollow", which is not an official Google value: a link with no restricting value is simply an ordinary link.

  2. What is the difference between nofollow, sponsored and ugc?

    Google defines three values. sponsored is for advertisements and paid placements, ugc is for links users add in comments and forums, and nofollow is the general value when neither of the others applies. You can combine them with a space or comma, such as "ugc nofollow".

    Google says it generally does not follow links with these values, though it may still find the target through a sitemap or links from other sites. For links inside your own site it advises a robots.txt disallow rule, not nofollow.

    The three rel values at Google
    ValueWhen to use itExample
    sponsoredA link in an advertisement or paid placementA link in a sponsored post
    ugcA link a user addedA link in a comment or forum
    nofollowWhen the other two do not applyA link whose source you do not trust
  3. An Arab-market example: a travel blog in Doha

    An illustrative example. A fictional blog at doha-trips.example publishes a post sponsored by a hotel with a booking link. It puts sponsored on that link, because it is paid.

    In the post's comments a reader leaves a link to their own site, so the blog puts ugc on comment links automatically. Its link to the official tourism authority, which it trusts, stays ordinary. It does not put nofollow on every outbound link.

  4. What steps should you take about link attributes?

    Qualify the links that should not count for the target, and leave your other ordinary links alone.

    • Put sponsored on every advertising or paid link.
    • Put ugc on links in comments and forums. You may drop it for contributors who consistently post good content.
    • Use nofollow when you do not trust the source and neither other value applies.
    • Do not put nofollow on every outbound link. Pointing to good sources builds trust.
    • Read about backlinks for the links that come to you from others.

Sources

  1. Qualify your outbound links to Google · Google Search Central ·
  2. Link best practices for Google · Google Search Central ·

Frequently asked questions

Should I put nofollow on every outbound link?

No. Google advises against it. Pointing to sources you trust builds trust, and you use nofollow when you do not trust the source.

Can I buy backlinks?

Google says to mark links that are advertisements or paid placements with sponsored. nofollow is still acceptable for them, but sponsored is preferred.

Should I put nofollow on links inside my own site?

Google advises a disallow rule in robots.txt for pages you do not want crawled, not nofollow on internal links.