Skip to content

A visitor's link in the comments is not marked as one

ugc-links-unqualifiedminor
On this page

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, nofollow and sponsored as hints; any of them makes the link's nature plain.

Example

Wrong
<a href="https://cheap-oud.example/">عود رخيص</a>
Right
<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

  1. We find comment sections by their standard markup: WordPress and WooCommerce (#comments, .comment-content, .comment-body, .commentlist, #reviews), bbPress replies, and microdata typed Comment or UserComments.
  2. We report links inside them to another site (www. or not) whose rel has none of ugc, nofollow or sponsored.
  3. 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).