Some links here are affiliate links — if you buy through them we may earn a commission at no extra cost to you. It never changes what we recommend. Full disclosure.
Every affiliate link on your site sends two messages. One is to your reader, who needs to know you may earn a commission. The other is to search engines, which need to know the link is paid and should not pass ranking credit. Many affiliates handle one and forget the other, and both mistakes carry risks.
This guide explains how to mark affiliate links correctly with rel attributes, the difference between sponsored, nofollow and ugc, how link marking differs from reader disclosure, how to implement it across a site, how redirects fit in and how to audit links at scale.
Why Affiliate Links Need Marking
Search engines treat links as signals. An ordinary editorial link from one site to another can suggest the destination is useful or trustworthy. Paid links, including affiliate links, are different: they exist because someone is paid, not purely because the publisher vouches for the destination.
Search engines therefore ask that links you are paid for be marked so they do not pass ranking credit. Failing to mark paid links can be treated as an attempt to manipulate rankings, which can lead to the links being ignored or, in more serious cases, action against the site.
The Three Rel Attributes
| Attribute | Use it for | Example |
|---|---|---|
rel="sponsored" | Links you are paid or compensated for, including affiliate links, sponsorships and paid placements | <a href="https://example.com/product" rel="sponsored"> |
rel="nofollow" | Links you do not want to vouch for, or when no more specific value applies | <a href="https://example.com" rel="nofollow"> |
rel="ugc" | Links added by users, such as in comments, forum posts and reviews | <a href="https://example.com" rel="ugc"> |
For affiliate links, the recommended approach is rel="sponsored". A nofollow attribute is also generally accepted. You can combine values where more than one applies, for example rel="sponsored nofollow", or rel="ugc sponsored" for an affiliate link a user posted in a forum you run.
Link Marking Is Not Disclosure
This is the most common confusion. Link attributes are invisible to readers. A reader cannot see rel="sponsored" in the page code, so it does nothing to tell them you earn a commission.
| Technical link marking | Reader disclosure | |
|---|---|---|
| Audience | Search engines | People |
| Purpose | Stop paid links passing ranking credit | Tell readers about your financial relationship |
| Where it lives | In the HTML of each link | In visible text near the recommendation |
| Required by | Search engine guidelines | Consumer protection rules and program terms |
| Example | rel="sponsored" | "I earn a commission if you buy through these links." |
You need both. A page with perfect link attributes and no visible disclosure is still non-compliant with disclosure rules. A page with a clear disclosure but unmarked affiliate links still risks search problems.
Which Links to Mark
Mark as sponsored:
- Affiliate links to merchants, whether direct or through network tracking domains.
- Affiliate redirect links on your own domain, such as /go/product/.
- Sponsored placements and paid mentions.
- Links in paid guest posts or advertorials.
- Links in banners and product widgets from affiliate programs.
Do not mark as sponsored:
- Ordinary editorial links to non-affiliate sources, such as research, documentation or news, which you link to because they are useful.
- Internal links to your own pages.
Over-marking every outbound link is unnecessary and removes a useful signal from editorial links you genuinely stand behind.
Implementing Link Marking Across a Site
Manually adding attributes to every link quickly becomes unmanageable. Use systems instead:
- Link management tools or plugins that add
rel="sponsored"automatically to links in your affiliate redirect folder or to known affiliate domains. - Content templates and blocks for product boxes, comparison tables and buttons that include the attribute by default.
- Redirect rules for /go/ links, combined with an attribute on the link that points to them.
- A list of affiliate domains your system recognizes, including network tracking domains.
Test that the attribute survives your editor, theme and caching. Some editors strip unfamiliar attributes, and some page builders override them.
How Redirects Fit In
Many affiliates use redirect links on their own domain, such as /go/product-name/, which forward to the affiliate tracking URL. This is useful for link management: you can update a destination in one place, track clicks in your own analytics and keep URLs readable.
Two rules apply:
- Mark the link that points to the redirect with
rel="sponsored", because it still leads to a paid destination. - Keep the redirect honest. Never cloak a link in a way that misrepresents where the visitor is going, and never show search engines a different destination from users.
Many affiliates also block their redirect folder from crawling in the robots file, so crawlers do not waste time on redirect URLs. That is a separate choice from marking links; it does not replace the rel attribute.
User-Generated Content and Communities
If you run a forum, comment section or community, members may add links. Links that users add should carry rel="ugc". Affiliate links posted by members should also carry sponsored.
Many communities ban affiliate links outright, or allow them only with disclosure in specific places. If you run a community, set clear rules on members' affiliate links and disclosures, and configure your platform to apply attributes automatically.
Disclosure Done Right
While you are marking links for search engines, make sure readers are covered too:
- Place a clear disclosure near the top of any page with affiliate links, before the first link.
- Use plain language, such as "We may earn a commission if you buy through links on this page, at no extra cost to you."
- Add a fuller disclosure page explaining how you earn and how you choose products.
- Repeat disclosure in other channels, such as emails, videos and social posts.
Tip: Build your disclosure line and your link attributes into the same page template or content block. That way, every product box or comparison table you add brings both with it automatically.
How to Audit Affiliate Links at Scale
Audit links regularly, at least quarterly and after any theme, plugin or template change.
- Crawl or extract all links from your pages.
- Filter outbound links by domain, separating affiliate domains, your redirect folder and editorial destinations.
- Check attributes: every affiliate link should have
sponsoredornofollow; editorial links should not be marked sponsored unnecessarily. - Check destinations: broken links, redirects to home pages and out-of-stock products.
- Check sub-IDs: confirm tracking parameters are present and correct.
- Check disclosures: every page with affiliate links should show a visible disclosure near the top.
- Fix in templates first, then on individual pages.
| Check | Pass | Fail |
|---|---|---|
| Affiliate link attribute | rel="sponsored" or nofollow present | Missing |
| Redirect link attribute | Link to /go/ marked sponsored | Unmarked |
| Editorial link | No sponsored attribute | Marked sponsored unnecessarily |
| Destination | Live product page | Error, home page or out of stock |
| Sub-ID | Present and correct | Missing or wrong |
| Disclosure | Visible near the top | Missing or buried |
Link Marking Outside Your Own Website
Affiliate links appear in more places than your site, and each has its own considerations.
| Where the link appears | Technical marking | Reader disclosure |
|---|---|---|
| Your website | Add rel="sponsored" | Visible disclosure near the top |
| Email newsletters | Not applicable in the same way; email clients do not pass ranking credit | Disclosure near the links, not only in the footer |
| Video descriptions | Platform controls link attributes | Spoken and on-screen disclosure, plus description text |
| Social posts | Platform controls link attributes | Disclosure at the start of the caption or on screen |
| Guest posts on other sites | Ask the host to mark affiliate or paid links as sponsored | Disclosure on the host page |
| Forums and communities | Platform should apply ugc and ideally sponsored | Disclosure in the post, where links are allowed |
Outside your own site, the platform usually decides link attributes. Your responsibility is clear disclosure and following the platform's rules on affiliate links.
Common Implementation Questions
Does adding sponsored to my links reduce my rankings? No. Marking affiliate links is expected. It stops those links passing ranking credit to merchants; it does not penalize your page.
Should I also block my /go/ folder in robots.txt? Many affiliates do, to stop crawlers spending time on redirect URLs. It is optional and does not replace the rel attribute on links.
What about affiliate links inside images or buttons? The same rules apply. Any clickable element linking to a paid destination should carry the attribute.
What if a program's own widget doesn't add the attribute? Wrap or configure it so it does, or replace it with your own template. If that is not possible, consider whether the widget is worth the risk and the page weight.
Do I need to mark links to merchants I'm not paid by? No. Editorial links you are not compensated for do not need sponsored. Marking them anyway removes a useful signal.
Example: Fixing a Theme Change
Illustrative. A publisher switches to a new theme for speed. Two weeks later, a routine link audit shows that the new theme's product box block does not include the sponsored attribute, leaving about 1,200 affiliate links unmarked across 90 pages. The comparison table block is fine, and in-text links added through the link management tool are fine.
They fix the product box template so every instance includes rel="sponsored", re-run the audit to confirm all 1,200 links are marked and add "link attribute check" to their checklist for any future theme or plugin change. Because the fix was made at template level, it took minutes rather than days.
Common Mistakes
- Treating link attributes as a substitute for reader disclosure.
- Leaving affiliate links unmarked in banners, widgets or product boxes.
- Forgetting links that point to your own /go/ redirects.
- Marking every outbound link as sponsored, including editorial sources.
- Changing themes or plugins without re-checking attributes.
- Allowing members to post unmarked affiliate links in your community.
- Using deceptive redirects that send users and search engines to different places.
Frequently Asked Questions
Should affiliate links be nofollow or sponsored?
Search engines recommend rel="sponsored" for affiliate links. rel="nofollow" is also generally accepted. You can use both together.
Do affiliate links hurt SEO?
Not when they are properly marked and sit within helpful content. Unmarked paid links can be treated as an attempt to manipulate rankings.
Is rel="sponsored" enough to meet disclosure rules?
No. Link attributes are invisible to readers. You also need a clear, visible disclosure near your recommendations.
Do I need to mark links to my own /go/ redirects?
Yes. They lead to paid destinations, so mark the links that point to them as sponsored.
What is rel="ugc"?
It marks links added by users, such as in comments and forum posts. Combine it with sponsored if a user's link is an affiliate link.
How often should I audit affiliate links?
At least quarterly, and after any theme, plugin, template or link management change.
For the official explanation of these attributes, see Google's guidance on qualifying outbound links.
Mark links for search engines and disclose them to readers, every time. To list every link on a page with its nofollow status, use the free Link Analyzer.
Printed from seo-serps.com — https://seo-serps.com/affiliate-marketing/nofollow-sponsored-and-affiliate-links-how-to-mark-them/ — updated November 23, 2026.