User-generated content
User-generated content is reviews, comments and posts from visitors. Google's guidance on rel="ugc" and nofollow, spam prevention, and moderation steps.
User-generated content (UGC) is content visitors create on your site, such as reviews, comments, and forum posts. Google recommends marking links in UGC with the ugc value, and says a nofollow or similar annotation also works. Google also documents moderation and other controls for keeping spam out.
Is this costing your site traffic?
Four quick questions, then a straight answer.
From your answers, this is quietly costing you traffic and nobody has the hours to chase it. Scaplet finds every affected page, drafts the fixes and tracks how AI answers mention you.
- Free audit in 60 seconds
- Fixes drafted for your review
- ChatGPT, Perplexity, Gemini and AI Overviews tracked
A data platform shipped 46 fixes without a ticket.
This looks handled. Re-check after a redesign, a migration or a big content push; that is when it breaks.
- Re-check after big site changes
- Keep this page for reference
Your site is small and you have the time. Work through the steps on this page, starting with the pages that get the most traffic.
- Follow the steps below
- Top-traffic pages first
- Check again in a month
5 parts, 3 minutes.
What user-generated content is
Google's spam policies define user-generated spam as spammy content added by users to a site, and note that site owners are often unaware of it. The consequences of ignoring it, per the policies, are the same as for other spam: pages or sites may rank lower or not appear.
How to mark user links
nofollow or similar annotation automatically added by your CMS."Google's outbound link documentation is more specific: "We recommend marking user-generated content (UGC) links, such as comments and forum posts, with the ugc value." It also says links marked with these attributes "will generally not be followed."
Google also notes that to recognize trustworthy contributors, you might remove the attribute from links posted by members who have consistently made high-quality contributions over time.
<a href="https://example.com/commenter-site" rel="ugc">commenter's site</a>
<!-- Multiple values are allowed -->
<a href="https://example.com/commenter-site" rel="ugc nofollow">commenter's site</a>Prevent abuse, not just annotate
nofollow or ugc.noindex on posts from new users who lack reputation, then allow indexing once they establish credibility.A practical setup
- 1
Annotate at the template level
Add
rel="ugc"(orugc nofollow) in the code that renders user content so every link gets it automatically. - 2
Hold new accounts for review
Require approval for first posts and for posts with links, then relax for accounts with history.
- 3
Find existing problems
Run a
site:search for your domain combined with terms that spam uses on your site, and check the Manual actions report in Search Console. - 4
Clean up and tighten
Delete spam, then add the missing controls so it does not return.
Common mistakes
- 01Annotating comments but not forum signatures, profile links, or review pages.
- 02Annotating in the editor only, not at render time, so imported or older content stays unmarked.
- 03Treating attributes as moderation. They do not remove spam text or hidden links.
- 04Indexing every new user page immediately.
Asked a lot.
3 questions people ask next, answered from the sources on this page.
01Should I use rel="ugc" or rel="nofollow"?
Google recommends the ugc value for user-generated links and says a nofollow or similar annotation also works. You can use both values in one rel attribute. Choose whichever your CMS applies consistently.
02Can I let trusted users post unmarked links?
Google says you might remove the attribute from links posted by members who have consistently made high-quality contributions over time. Do it per account, not by default.
03Does UGC hurt my rankings?
Google's spam policies treat spam in UGC, not UGC itself, as the problem. It can lead to the same outcomes as other spam. Moderation and link annotation are the controls it documents.
Every fact, linked and dated.
google.com
- 01SEO Starter Guidedevelopers.google.com · checked 2026-10-24
- 02Qualify your outbound links to Googledevelopers.google.com · checked 2026-10-24
- 03Spam policies for Google web searchdevelopers.google.com · checked 2026-10-24
- 04Prevent user-generated spam on your sitedevelopers.google.com · checked 2026-10-24
Keep learning
All glossaryKnow the term. Now check your site.
The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.
- 46 fixes shipped without a ticket Brightpipe
- +212% organic clicks in 90 days Ledgerly