
Short answer: Use nofollow links by adding rel="nofollow" to a link when you do not want Google to associate your site with the page you link to. Mark paid, sponsored and affiliate links with rel="sponsored" (nofollow is still accepted), and comments or forum posts with rel="ugc". Leave normal editorial links to good sources followed, and do not nofollow your own internal links. Google treats all three values as hints.
This guide is for bloggers, publishers, shop owners and SEOs who link out every day and want to tag links correctly. You will learn what nofollow actually does now, which attribute to use in each situation, how to add it in WordPress and HTML, how to audit your site, and how much nofollow backlinks are worth to you.
What is a nofollow link?
A nofollow link is an ordinary hyperlink with a rel attribute that tells search engines you do not vouch for the destination:
<a href="https://example.com/" rel="nofollow">example site</a>
To a visitor it looks and works exactly like any other link. The difference is only in how search engines treat it. Google introduced nofollow in 2005 to fight blog comment spam, and it later became the standard way to mark paid links too.
There is no “dofollow” attribute. A link without a nofollow, sponsored or ugc value is simply a normal (followed) link. Plugins that add rel="dofollow" do nothing useful.
Nofollow, sponsored and ugc: which one to use
In 2019 Google added two more specific values. Its outbound link documentation defines them like this:
| Attribute | Use it for | Example |
|---|---|---|
rel="sponsored" | Adverts, paid placements, sponsored posts and affiliate links | A Daraz or Amazon affiliate link in a product review; a link in a paid guest post |
rel="ugc" | Links inside user-generated content | Blog comments, forum posts, community Q&A answers |
rel="nofollow" | Any other link you do not want Google to associate with your site, when the other two do not apply | Linking to a site you are criticising, or a source you cannot vouch for |
| No attribute | Editorial links you are happy to stand behind | Citing Google’s documentation, a study, or a partner you recommend unpaid |
You can combine values, for example rel="sponsored nofollow" or rel="ugc nofollow". Google says nofollow remains an acceptable way to mark paid links, though sponsored is preferred. Adding nofollow alongside sponsored also covers search engines that do not read the newer values.
Rather have an expert do this for you?
Hand it over and get back to running your business.
How Google treats nofollow links today
Before 2019, nofollow was a strict instruction: Google did not use those links for ranking at all. In September 2019 Google changed that. As Search Engine Land reported, sponsored, ugc and nofollow are all now treated as hints about which links to consider or exclude, and from March 2020 Google also used them as hints for crawling and indexing.
What that means in practice:
- Google may still use a nofollow link to discover a page or understand it. A nofollow link does not hide a page from Google; use noindex or robots.txt for that.
- Google usually does not pass ranking credit through these links, but it decides case by case.
- Marking links honestly is about telling Google the nature of the link. The penalty risk comes from failing to mark paid links, not from using nofollow too much.
When to use nofollow links: a quick decision
Which rel value does this link need?
Was the link paid for in any way: money, free products, a discount, an affiliate commission or a link swap deal?
Was the link added by a user rather than by you or your editors (a comment, forum post or profile)?
Is it a link to another page on your own website?
Would you be happy for readers to see this link as a recommendation from you?
Result: use rel=”sponsored” (optionally “sponsored nofollow”), and add a clear written disclosure near the link for readers.
Result: use rel=”ugc” (optionally “ugc nofollow”). If a trusted, long-standing community member adds genuinely useful links, you can choose to remove the attribute for them.
Result: no attribute. Do not nofollow internal links. If you want to keep a page out of search, use noindex; to keep crawlers away from a section, Google suggests robots.txt.
Result: no attribute. A normal editorial link to a good source helps readers and is how the web is meant to work.
Result: use rel=”nofollow”, or better, ask whether you need the link at all.
This covers Google’s guidance. Other search engines may handle sponsored and ugc differently, which is why combining them with nofollow is common.
Situations people get wrong
- Paid guest posts. If you paid to publish, or were paid to publish someone else’s article, any link the payer wanted is a paid link. Google’s spam policies list buying or selling links that pass ranking credit as link spam. This is common in Pakistani and South Asian guest post markets that advertise “dofollow” placements, usually with a scripted keyword anchor. My guide to anchor text explains why that pattern stands out.
- Free products for reviews. A product sent free in exchange for a review counts as compensation, so links to the brand should be sponsored. If you write guest posts yourself, my notes on guest posting that still works cover how to keep them clean.
- Nofollowing every external link. Some sites, especially large publishers, nofollow everything outbound. Google says to use nofollow only when you do not trust the source, not for every external link. Linking to good sources is part of being helpful.
- Nofollow on internal links. An old “PageRank sculpting” tactic. It does not save authority, and it can stop Google from understanding your structure. See my guide to internal linking.
- Treating nofollow as disclosure. Readers cannot see a rel attribute. For affiliate and sponsored links, consumer rules still apply: the US FTC’s endorsement guidance, for example, says to disclose your relationship to the retailer clearly and conspicuously, and the closer the disclosure is to the recommendation, the better.
How to add nofollow links
In HTML
Add the rel attribute to the <a> tag. If you also open the link in a new tab, keep noopener:
<a href="https://shop.example/product" rel="sponsored nofollow noopener" target="_blank">check today's price</a>
In WordPress
- Block editor: select the link, open its settings and edit the HTML of the block to add the rel value, or use your SEO plugin’s link options. Rank Math and AIOSEO add “nofollow” and “sponsored” toggles to the link dialog.
- Comments: WordPress adds
rel="nofollow ugc"to links in comments by default. - Affiliate sites: link management plugins such as Pretty Links or ThirstyAffiliates can apply sponsored and nofollow to every affiliate link automatically, which is far safer than relying on memory.
Other platforms
Shopify, Wix and Squarespace editors let you edit link HTML or add rel values in the link settings. On custom sites, apply rel values in the template or CMS field that renders user and affiliate content, rather than editing links one by one.
How to audit nofollow links on your site
Nofollow and sponsored link audit
- Crawl outbound links: run Screaming Frog or a site audit tool and export all external links with their rel values.
- Find affiliate links without sponsored: filter by affiliate domains and tracking parameters (tag=, ref=, aff=).
- Check sponsored posts: open every post that was paid for or gifted and confirm links to the brand are sponsored or nofollow.
- Check comment and forum templates: confirm user links get ugc or nofollow.
- Look for internal nofollow: menus, footers, “read more” links and login links often carry it by mistake.
- Remove fake attributes: delete any
rel="dofollow"left by old plugins. - Review blanket nofollow: if every external link is nofollowed, restore normal links to sources you trust.
- Check visible disclosures: affiliate and sponsored content should tell readers about the relationship near the link.
- Spot-check rendered HTML: in Chrome, right-click a link and choose Inspect to see the rel value actually served.
- Check broken outbound links: run the page through a broken link checker while you are there.
Ticks are saved in your browser.
Are nofollow backlinks worth getting?
Yes, but for the right reasons. A nofollow link from a relevant, busy page can send real visitors, introduce your brand to people who later search for you or link to you editorially, and help Google discover your content. Links from Wikipedia citations, news sites, Reddit threads, YouTube descriptions and most social platforms are typically nofollow or ugc, and they can still be very valuable.
What I would not do is build nofollow links purely to make a backlink profile “look natural”. There is no published ideal ratio of followed to nofollow links, and artificial patterns are what Google’s link spam rules are about. Focus on earning links people would click. My guides to link building and digital PR for small businesses cover how. To judge any single link, followed or not, use my checklist for evaluating a backlink.
Nofollow, noindex and robots.txt are different things
| Tool | Applies to | What it tells Google |
|---|---|---|
| rel=”nofollow” | One link | Do not associate my site with this destination (a hint) |
| Meta robots noindex | A whole page | Do not show this page in search results |
| Meta robots nofollow | All links on a page | Treat every link on this page as nofollow |
| robots.txt Disallow | URL paths | Do not crawl these URLs |
For page-level controls, see my guides to the robots meta tag and robots.txt.
Frequently asked questions
Do nofollow links help SEO?
Not directly in most cases, because Google usually does not pass ranking credit through them. Since 2019 they are hints, so Google may use some of them. Their main value is traffic, discovery and brand exposure, which can lead to followed links over time.
Should affiliate links be nofollow or sponsored?
Google prefers rel="sponsored" for affiliate links, and still accepts nofollow. Many sites use both together. Add a visible disclosure for readers as well.
Should I nofollow all external links?
No. Google’s guidance is to use nofollow when you do not trust the source, not for every external link. Linking normally to good sources is helpful for readers.
Should internal links ever be nofollow?
Almost never. It does not save authority and can confuse Google about your structure. Use noindex for pages you do not want in search, and robots.txt if you need to stop crawling of a section.
Can I get a penalty for not using nofollow?
Yes, for paid links. Selling or buying links that pass ranking credit without sponsored or nofollow breaks Google’s spam policies and can lead to a manual action or the links being ignored.
How do I check if a link is nofollow?
Right-click the link in Chrome, choose Inspect, and look for rel="nofollow", sponsored or ugc in the highlighted code. Browser extensions and site crawlers can highlight these for a whole page or site.
Sources
- Google Search Central, “Qualify your outbound links to Google” (last updated December 2025).
- Google Search Central, “Spam policies for Google web search” (last updated August 2026).
- Search Engine Land, “Google to treat nofollow link attribute as a ‘hint’ after March 1, 2020” (September 2019).
- US Federal Trade Commission, “FTC’s Endorsement Guides: What People Are Asking” (updated July 2025).
If you run an affiliate or publishing site and are not sure your paid links are marked correctly, my SEO audit service includes a full outbound link review. For a single question, contact me.
Request received
Thank you! Saad will contact you within the next 24 hours.
Keep an eye on your phone and inbox.
