Web Development

Comment Spam on Your Website: What Google Says You Should Do

Google updated its guide to user-generated spam on 26 October 2026. What counts as user-generated spam, where it gets into a small business site, Google's eight-point checklist, the defaults we checked in WordPress, and a sensible comment and sign-up setup.

zabil

6 menit membaca
Row of red mailboxes with letters and leaflets spilling out of the top

An open comment form is an invitation, and spammers accept it. On 26 October 2026 Google updated its guide “Prevent user-generated spam on your site and platform”. It is written for platforms as well as small sites, and most of it applies to a WordPress site that has blog comments, a guestbook, a forum or open registration. This is a plain reading of it, plus what WordPress already does for you, as of 14 November 2026.

What Google means by user-generated spam

Google’s spam policies define it as “spammy content added to a site by users through a channel intended for user content.” Examples include comment spam on blogs, spammy posts on forum threads and spammy accounts on hosting services that anyone can register for. The policy adds a warning that matters for small businesses: “Often site owners are unaware of the spammy content.”

Google’s guide says “Spammers often take advantage of open comment forms and other user generated content inputs and generate spammy content on an unsuspecting victim site.” The reason to care is ranking. In its page on controlling what you share, Google says some user-created content “might be low quality or even spam”, and that “Allowing indexing of such content may have a negative effect on your site’s ranking in Google’s search results.”

The guide is also reassuring: “Preventing abuse on your platform or site is usually not hard.”

Where spam can get in

On a typical business website, the places to look are:

  • Blog comments.
  • Guestbooks, review or testimonial plugins that publish what visitors submit.
  • Forums or community plugins.
  • Open registration, such as membership or shop accounts.
  • Profile pages and file uploads, if your site allows them.

A contact form is a different problem. It sends mail to you rather than publishing anything, so in our reading Google’s guide is not about it. If enquiry emails are your issue, see our guide to contact form emails not arriving.

Google’s checklist, in plain English

  1. Tell people spam is not allowed. Google says to “Publish a clear abuse policy and communicate it to your users, for example during the sign-up process”, and to let trusted users report spammy content.
  2. Look for patterns. It lists form completion time, the number of requests from the same IP address range, the user agents used during signup, and the user names chosen.
  3. Keep new users’ content out of the index. Google suggests adding the noindex robots meta tag “on posts that come from new users that don’t have any reputation on your platform. Then, after some time, when the user gains reputation, you can allow their content to be indexed.” It says this “will greatly demotivate spammers.”
  4. Mark untrusted links. “Since oftentimes spammers are motivated by leaving a link to their site, consider adding a nofollow or ugc rel attribute to all links in untrusted content.”
  5. Approve by hand where it matters. “Manual approval (or moderation) for certain user interactions can decrease spam on your platform considerably”, and Google notes that comment moderation is a built-in feature in most CMSes.
  6. Block repeat offenders. “Once you find a single spammy profile, make it simple to remove any others.” For WordPress, Google names Akismet, and says adding an IP address to your firewall’s deny list can also be very effective.
  7. Stop automated sign-ups. Use reCAPTCHAs or similar verification tools “to only allow human submissions.”
  8. Monitor. Verify your site in Search Console so you get email alerts about manual actions or security issues, and check the Page indexing and Search performance reports for “unexpected spikes in indexed pages, impressions, or queries that don’t match your platform’s purpose.”

The guide also has a section called “Only index content meant for Search”. If your service lets people create shareable pages that are meant for direct sharing rather than search, Google says to apply the noindex rule by default, using a robots meta tag or an X-Robots-Tag header. Our guide to keeping a page out of Google explains why noindex and robots.txt behave differently.

What WordPress already does

We checked the WordPress 7.1.4 source on our server. Some of Google’s advice is built in:

  • Links in comments are marked. Core adds nofollow ugc to the links in a saved comment, and the website link on a commenter’s name gets ugc, plus external nofollow when it points to another site.
  • A fresh install holds a first-time commenter. The default setting “Comment author must have a previously approved comment” is on, so the first comment from a new name and email combination waits for approval.
  • A fresh install holds comments with two or more links. The default limit is 2, and the check holds a comment once the count reaches it.
  • Comments are open on new posts by default. The setting “Automatically close comments on articles older than [X] days” is off, so old posts stay open too.

These are install defaults, and a site’s settings may have been changed since. They live under Settings, Discussion. WordPress’s own help warns that the name and email address a commenter enters “are not verified in any way”, so a required email address does not stop determined spammers. It also warns that the comment blocklist should be a last resort, “as genuine comments can end up deleted.”

A sensible setup for a small business

This part is our recommendation, not Google’s:

  1. If you do not use comments, switch them off. WordPress says “If you don’t wish to allow comments uncheck this setting”, and individual posts can override it.
  2. If you want comments, moderate them. Keep first comments held and hold anything with links. While volume is low, approving by hand is easy.
  3. Close comments on older posts. After the number of days you set, WordPress “will disable the comment form on any post older than X days”, while leaving earlier comments visible.
  4. Add a filter and a challenge. Use Akismet or a firewall rule for comments, and a CAPTCHA or similar check on registration and any form that publishes content.
  5. Watch the reports. Add the site to Search Console and check the Page indexing report for pages you do not recognise. Searching site:yourdomain.com can also reveal them.

If you find spam pages that are not comments at all, the cause may be a compromise rather than a form. Our guides on what to do if a WordPress site is hacked and a WordPress security checklist cover that case.

If you would like your comment, form and registration settings reviewed, tell us about your business and we will check what visitors can publish on your site.

Sources: Google Search Central, Prevent user-generated spam on your site and platform (last updated 26 October 2026); Spam policies for Google web search (last updated 28 August 2026); Control what you share with Google Search (last updated 21 October 2026); WordPress.org, Settings Discussion screen; WordPress 7.1.4 core source (default-filters.php, formatting.php, comment.php, comment-template.php, schema.php), checked 14 November 2026.

Karya terkait

Di mana ini telah diterapkan.

Departemen - SodraTech

Institusi & Organisasi

Departemen MIPA UNHAS

Universitas Hasanuddin

Website resmi departemen yang menyajikan informasi akademik, berita, dan kegiatan, dibangun agar staf dapat mengelolanya sendiri tanpa bantuan teknis.

Lihat Proyek
ITH - SodraTech

Institusi & Organisasi

Admission ITH

Institut Teknologi BJ Habibie

Platform pendaftaran mahasiswa baru yang menangani seluruh proses pendaftaran secara online, mulai dari pengisian formulir, unggah dokumen, hingga pembayaran awal.

Lihat Proyek
Kalimporo - SodraTech

Institusi & Organisasi

Desa Kalimporo

Desa Kalimporo

Platform profil desa yang menyajikan struktur pemerintahan, data kependudukan, potensi lokal, dan program desa kepada khalayak yang lebih luas.

Lihat Proyek

Baca lebih lanjut

Artikel terkait.

Tinggalkan komentar

Your email address will not be published. Required fields are marked *