User-generated content and SEO: comments, reviews, spam
Comments, reviews, and forum posts can add useful content or quietly attract spam. Here is how to moderate UGC, use rel=ugc, and protect your rankings.
Comments, reviews, and forum threads can add real value to a page. They can also fill it with spam links and thin text. Search engines judge the whole page, including the parts your visitors wrote. This guide covers how to keep user-generated content (UGC) useful and safe.
Why UGC counts as your content
Google indexes everything on the page, and it does not separate what you wrote from what a visitor posted. A good comment thread can add long-tail phrasing and fresh detail. A thread full of casino links drags the page down and can put your site's reputation at risk.
AI engines read the page the same way. If a spam comment sits right below your answer, a model that retrieves that chunk may see noise next to your text. We can't measure how much this affects citations, so treat it as a quality risk rather than a proven ranking factor.
Mark user links with rel=ugc
Google supports three link attributes: nofollow, sponsored, and ugc. Google introduced sponsored and ugc in 2019. Since 2020 it treats all three as hints, not strict commands. That means Google may still choose to use a link for discovery or ranking.
- Use rel="ugc" on links inside comments, reviews, forum posts, and profile bios.
- Use rel="sponsored" on paid or affiliate links.
- Use rel="nofollow" when you don't want to vouch for a link and neither of the other two fits.
You can combine values, such as rel="ugc nofollow". Most modern comment systems add this by default, but check your theme. Open a page with comments, view the source, and look at a few user links.
Moderate before you publish
Attributes reduce the value spammers get. They don't stop spam from appearing. Google's spam policies include a section on user-generated spam, and sites that let it pile up can see pages or sections demoted.
- Hold first-time commenters for approval.
- Limit the number of links per comment, and hold anything with more than one or two.
- Add a spam filter or CAPTCHA to forms.
- Require a login for forum posts and profile creation.
- Review new accounts that post links right away.
Watch for thin and empty UGC pages
Forums and Q&A sites generate many pages with little content: a profile with no posts, a thread with one line, a tag page with a single entry. These can show up in Search Console as soft 404s or as crawled but not indexed.
- Noindex profile pages for users with no posts.
- Noindex threads with no replies until they have real content.
- Keep tag and category archives out of the index unless they offer unique value.
- Block internal search and sort URLs from crawling.
Reviews, schema, and honesty
Customer reviews are UGC too. If you mark them up, the markup must match what visitors can see on the page. Google's rule against self-serving reviews applies, so don't mark up reviews of your own business as if they were independent. Never write fake reviews or pay for good ones.
Clean up what's already there
Old posts often hold years of unchecked comments. Audit them in a few steps.
- Crawl your site and list every external link from comment areas.
- Search your site for common spam terms with a site: query.
- Delete spam and bulk-add rel="ugc" to the rest.
- Check Search Console for manual actions and security issues.
If a section is beyond saving, close comments on old posts. That is a normal and accepted fix.
What to do this week
Open three of your busiest pages with comments or reviews. Check that user links carry rel="ugc", that new commenters are held for approval, and that empty profile pages are noindexed. Then close comments on posts older than a year or two if nobody is reading them. These small steps protect your page quality without making it harder for real readers to contribute.