Why it matters
- Google recommends marking links in user-generated content, such as comments and forum posts, with
rel="ugc". It tells search engines the link is a visitor's, not the site's own recommendation. - Unmarked, the comments' links speak for the site. Comment spam exists for exactly those links, and a section full of them reflects on the page.
- Google reads
ugc,nofollowandsponsoredas hints; any of them makes the link's nature plain.
Example
<a href="https://cheap-oud.example/">عود رخيص</a>
<a href="https://cheap-oud.example/" rel="ugc nofollow">عود رخيص</a>
How to fix
Mark links in comments as user-generated:
html
<a href="https://cheap-oud.example/" rel="ugc nofollow">عود رخيص</a>- WordPress adds
rel="nofollow ugc"to links in comments by default; a theme or plugin that prints comments itself may drop it. - Forum and review software usually has a setting for it.
- Moderate comments: an unmarked spam link is still a spam link on your page.
How we detect
- We find comment sections by their standard markup: WordPress and WooCommerce (
#comments,.comment-content,.comment-body,.commentlist,#reviews), bbPress replies, and microdata typedCommentorUserComments. - We report links inside them to another site (
www.or not) whoserelhas none ofugc,nofolloworsponsored. - Links to the site's own pages, and links outside comment sections, are not judged.
Comment sections built without that markup are not found, nor comments a script loads (Disqus and the like).