← All articles/Affiliate & Referral Marketing

Handshake, business deal and company: photo for how to Use Nofollow and Sponsored Attributes on Affiliate Links
Photo by tungnguyen0905 on Pixabay

How to Use Nofollow and Sponsored Attributes on Affiliate Links: 6 Steps

November 21, 2026

Links are a major way search engines judge pages, so they care about which ones are earned and which ones are paid for. If your site contains links that make you money, marking them correctly is a basic part of staying within search guidelines.

This matters even for a small trade site. A handyman who links to a favorite cordless drill through a retailer's affiliate program, or an HVAC company that promotes a thermostat brand for a referral fee, is running paid links. The label takes seconds to add and protects the rest of your site. This guide explains the three attributes, which one fits, and how to catch the mistakes that creep in over time.

Here is what this guide covers:

  • The attributes in plain language
  • What applies to affiliate links
  • Practical habits
  • Where mistakes happen
  • How labeling affects readers
  • Keep your own links strong

1. The attributes in plain language

An attribute is a small piece of code inside the link that visitors never see. It tells search engines what kind of link this is. There are three you need to know:

  • Sponsored: marks a link that exists because of an advertisement or paid arrangement
  • Nofollow: a general hint that you are not vouching for the link
  • UGC: marks links inside user-generated content such as comments

In the page code, the label sits in the rel part of the link, written as rel=sponsored, rel=nofollow, or rel=ugc. You can combine them, for example sponsored and nofollow together, if you want extra safety with search engines that do not read the newer labels. Google treats all three as hints rather than strict commands, but using them correctly is what its guidelines ask for.

2. What applies to affiliate links

A link that earns you a commission is a paid relationship, so the sponsored attribute is the one search engines recommend. Using it tells them you are not trying to pass ranking credit through a commercial deal, which keeps your site in good standing.

The same goes for anything else you were paid or compensated for. That includes a supplier who gave you free product in exchange for a mention, a manufacturer that pays a referral fee when your customers register a warranty through your link, and a local partner who pays you to promote links to their business on your site. If money or goods changed hands because of the link, label it sponsored.

Links you place because they genuinely help, such as a link to your city's permit office or a manufacturer's spec sheet, need no label. Those are normal editorial links. For more on when outbound links help or hurt, see the guide on using outbound links without hurting your local SEO.

3. Practical habits

  • Label affiliate links as sponsored wherever they appear
  • Keep them to genuinely useful recommendations, not every possible product
  • Do not hide the fact that you earn from the link
  • Review old pages for forgotten links when you update your site

How you add the label depends on your site. In WordPress, the block editor lets you mark a link as sponsored or nofollow in the link settings, and several popular SEO plugins add a checkbox for it. The guide to choosing an SEO plugin for WordPress covers which features to look for. On a hand-coded site, add the rel part directly to the link. On Squarespace or Wix, check whether the link editor offers the option, and if not, use a code block for that link.

Many affiliate programs also offer a link-management or shortlink tool. If you use one, set the default to sponsored once so every new link carries it without you remembering each time.

4. Where mistakes happen

The most common errors are labeling some links but forgetting others, using old templates that strip the attribute, and letting a plugin add links automatically without the right label. Review a few pages by viewing the source or using a browser tool that shows link attributes, and correct anything that is missing.

Here is a quick audit you can do in about thirty minutes. Make a list of every page that mentions a product or partner. Open each one in Chrome, right-click a paid link, and choose Inspect. The highlighted code shows whether rel=sponsored is present. Check image links too, since a product photo that links to a store is easy to miss. Note any page that fails and fix them in one sitting.

Watch for two less obvious spots. Buttons styled as Buy Now often come from a theme or page builder and may not pass the attribute you set. Sidebars and footers that show the same partner banner on every page can create hundreds of unlabeled links at once, so check those first.

5. How labeling affects readers

Search attributes are invisible to visitors, which is why separate disclosure in the text matters. The attribute talks to search engines and the disclosure talks to people. You need both. Doing both consistently signals that your site is run carefully, and that carries over to how customers perceive your business.

A one-line note before the first paid link is usually enough, and the guide on disclosing affiliate links on a local business website has sample wording. Keep in mind that your Google Business Profile has its own rules, and the guide to keeping affiliate links off your Google Business Profile explains why paid links do not belong there at all.

6. Keep your own links strong

Your own internal links matter more for local rankings than any outbound link. See what on-page SEO involves and link building basics for the links that actually help a local business get found. If you want to promote your site in search, those links, and the service pages they point to, are where to spend your time.

A good habit is to make sure every page that carries an affiliate link also links to at least one of your own service pages. The handyman's drill review should point to his deck repair or furniture assembly page. That way the visitor who came for the product still sees the work you get paid to do, and your internal links keep sending weight to the pages that bring calls.

Frequently asked questions

Should I use sponsored or nofollow on affiliate links? Use sponsored. It is the label Google recommends for paid links. Adding nofollow as well is fine and some site owners do it for older search engines.

Do I need to label links to my own social profiles or partner trades I recommend for free? No. Links you place because they help visitors, with no payment involved, are normal links and need no label.

What happens if I forgot to label old links? Fix them as soon as you find them. A handful of missed labels on a small site is unlikely to cause a problem on its own, but a pattern of unlabeled paid links is what guidelines warn against.

For more, see the FTC's guidance on endorsements and reviews.

Was this article helpful?

Need help putting this into practice? See how Rayven can help your business get found on Google.