If your WordPress site lets people leave comments, spammers have probably found it. Most of it is easy to spot: a comment that praises your post in vague words and leaves a link to a pills shop or a casino. It looks like a nuisance. It can also be a problem for search, because spam on your pages can end up in Google, and a pile of unchecked junk makes your site look neglected.
On 26 October 2026, Google updated its Search Central page on preventing user-generated spam. The page tells site owners and platforms how to stop spammers using their comment forms, profiles and shared pages. This post takes that page and turns it into plain steps for a WordPress site, with the settings to check and a short routine to keep it clean. We read Google’s page and WordPress’s documentation for the Discussion settings screen on 29 October 2026. Where something is our own advice, we say so. If you are not sure whether you want comments at all, the section on turning them off is a good place to start.
Quick summary, if you’re short on time:
- Google says spammers often take advantage of open comment forms and other user-generated content inputs, and that even simple deterrents may discourage them.
- Google says many comment spammers want their content in search engines, and suggests adding a noindex robots meta tag on posts from new users who have no reputation, then allowing indexing later.
- Google says spammers are often motivated by leaving a link to their site, so consider adding a nofollow or ugc rel attribute to all links in untrusted content.
- Google says comment moderation is a very effective way of fighting spam, and notes that it is a built-in feature in most content management systems.
- Google recommends verifying your site in Search Console, so you get email alerts for manual actions and security issues, and checking for unexpected jumps in indexed pages or impressions.
In plain terms: make a spammer’s comment wait for your approval, take away the value of the link, and keep an eye on what Google has indexed. If you do not need comments, switch them off.
A spam comment on a WordPress website is rarely harmless. Each spam comment that gets published puts a stranger’s link on your page. To stop spam, you want settings that hold a likely spam comment for approval, a filter that catches it before you see it, and a habit of checking what Google has indexed. To prevent spam without blocking real readers, start with moderation. Older guides call the blocklist the blacklist, because WordPress used that name before version 5.4. If a spam comment still gets through, delete it and add its details to the blocklist.
Jump to a section:
- Why spammers want your comment box
- What Google recommends
- The same advice in WordPress settings
- Contact forms and other open doors
- How to check what Google has indexed
- When to turn comments off
- A prompt to review a batch of comments
- Questions about comment spam
Why spammers want your comment box
Google’s page on preventing user-generated spam says spammers often take advantage of open comment forms and other places where users can add content, and post spammy content on an unsuspecting site. It says they are often motivated by leaving a link to their own site, and that many want their content to appear in search engines.
That tells you what spammers are after: your site’s trust and your search presence, not your readers. A link on your page is a link they did not have to earn. A page of their text on your domain borrows your good name. Both are reasons to deal with it, even if you never read the comments.
What Google recommends
Google’s page is written for platforms as well as small sites. These are the points that apply to a normal WordPress site:
- Say that you do not allow spam, and let trusted users report content they think is spammy.
- Look for typical spam patterns, such as how fast a form is completed, many requests from the same IP address range, the user agents used, and the user names or other values people enter.
- Use noindex on content from new users who have no reputation, then allow indexing later.
- Add nofollow or ugc to links in untrusted content.
- Use manual approval for suspicious interactions. Google says moderation adds overhead to your daily workflow, but it is very effective, and that is why comment moderation is built into most content management systems.
- Use a blocklist. Google says that once you find one spammy profile, you should make it simple to remove any others. For WordPress it names plugins like Akismet, and says adding the IP address to your firewall’s deny list can also be very effective.
- Block automated sign-ups with a reCAPTCHA or a similar tool.
- Monitor your site. Verify it in Search Console to get email alerts for manual actions and security issues, check the Page indexing report and the Search performance report regularly for unexpected spikes, and use the site: search operator or Google Alerts to spot problems.
The page also has a newer section, headed “Only index content meant for Search”. It says that if your service lets users create shareable pages, generated outputs or interactive tools, you should consider whether that content is meant to be found in search or only reached by people with the link, and that pages made for sharing or collaboration should be noindex or blocked by default. That part is for platforms, not for a small business blog, but it shows how Google thinks about it.
The same advice in WordPress settings
WordPress’s documentation for the Settings Discussion screen describes the controls. The table matches Google’s advice to those controls. The right-hand column is our own reading.
| Google’s advice | Where to do it in WordPress | What it does |
|---|---|---|
| Use manual approval | Settings, Discussion, “Before a comment appears”: an administrator must always approve the comment | Nothing shows until you approve it |
| Slow down new commenters | “Comment author must have a previously approved comment” | A first-time commenter is held for moderation |
| Catch link spam | “Hold a comment in the queue if it contains [X] or more links” | WordPress notes that comment spam often has several links, and lets you set the number |
| Block repeat offenders | The moderation and blocklist word boxes, which can hold words, URLs, email addresses and IP addresses, one per line | Matching comments are held or marked as spam. WordPress warns the blocklist deletes matches without warning, so use it carefully |
| Make spammers work harder | “Comment author must fill out name and email” | Adds a small obstacle |
| Limit exposure on old content | “Automatically close comments on articles older than [X] days” | Closes the comment form on older posts |
| Remove the link’s value | Use a spam plugin, or check how your theme marks links in comments | Look in the page source for rel=”ugc” or rel=”nofollow” on comment links |
Do not trust a setting alone. After you change it, post a test comment yourself and watch what happens. If you use a spam-filter plugin such as Akismet, which Google mentions, read what it stores and sends before you turn it on.
Contact forms and other open doors
Comments are not the only open door. Any form that lets a visitor type something is a way in. Spam through a contact form is usually not published, but it fills your inbox and can hide real enquiries. Google’s advice on blocking automated sign-ups applies here: use a reCAPTCHA or a similar check so only humans can send.
For our own site, we check what we can see. The blog pages we looked at on 29 October 2026 show no comment form, and our contact form uses a hidden field that real visitors never fill in, plus a security token. That is a light defence and it suits a small site. Our post on how many fields a form needs covers the other side, which is not scaring real visitors away, and our website maintenance checklist shows where spam checks fit in a monthly routine.
How to check what Google has indexed
- Verify your site in Search Console. Google says this gets you email alerts for manual actions and security issues.
- Open the Page indexing report and look for pages you do not recognise or a sudden rise in indexed pages.
- Open the Performance report and look for queries that make no sense for your business, such as pills, casinos or unrelated products.
- Search
site:yourdomain.comwith a spam word. Google names the site: operator as a way to find problems. - Look at the comments waiting in your dashboard and how many were marked as spam recently.
If you find spam pages, remove the content first, then remove the page from Google if it is still showing. Our post on robots.txt versus noindex explains how to keep a page out of search the right way.
When to turn comments off
Comments are worth having if you will read them and answer. A small business that publishes a few posts a month and has no one to moderate them may be better off without them. In WordPress you can uncheck the setting that allows people to post comments on new articles, and you can change it for individual posts.
This is our own advice: if the only comments you ever get are spam, closing them costs you nothing and removes a risk. Customers who want to talk can use your contact form or your Business Profile.
A prompt to review a batch of comments
An AI tool can sort a list of comments into likely spam and likely real. It cannot know your readers, so read what it flags before you delete anything. Do not paste email addresses or IP addresses into a tool you do not control.
Act as a careful moderator for a small business blog. Sort the comments below into likely spam, likely genuine and unsure, using only the text I paste.
My details:
– What my blog is about: [write one sentence]
– Ten to twenty recent comments, with the author name, the website link and the comment text (no email or IP addresses): [paste]Please do the following:
1. Put each comment in one group and give a one-line reason.
2. Point out comments that praise the post in vague words, repeat the same text, or push a link that has nothing to do with the topic.
3. List any words or links I could add to a blocklist, and say which ones carry a risk of blocking real comments.
4. Say what you cannot know from the text alone.Rules:
– Use only what I pasted. Do not guess at who wrote a comment.
– Say clearly when something is your opinion. Do not recommend deleting anything automatically.
– Write in plain, simple English.
Then approve or delete each one yourself.
Questions about comment spam
Does comment spam hurt my SEO?
Google says spammers use open comment forms to place their content and links on a victim site, and that many want their content in search. Spam can also make a site look neglected. Moderating comments and monitoring Search Console are Google’s suggested defences.
Should I add nofollow to comment links?
Google suggests adding a nofollow or ugc rel attribute to all links in untrusted content, because spammers are often motivated by leaving a link. Check your page source to see what your site does now.
Is comment moderation worth the effort?
Google says moderation adds overhead to your workflow but is a very effective way of fighting spam, and that it is built into most content management systems.
Which WordPress plugin stops comment spam?
Google names Akismet as a plugin that can help on WordPress, and says adding a spammer’s IP address to your firewall’s deny list can also be very effective. Check what any plugin collects before you install it.
How can I tell if spam pages are in Google?
Check Search Console’s Page indexing and Performance reports for sudden spikes or odd queries, and search site:yourdomain.com with a spam word. Google names the site: operator and Google Alerts as useful tools.
Should I turn comments off?
If you will not read and answer them, yes. In WordPress you can turn off comments for new posts in the Discussion settings, and change it for individual posts.
Do contact forms need protection too?
Yes. Google recommends reCAPTCHA or a similar check to block automated submissions. A hidden field that real visitors never fill in is a lighter option.
Where this matters
Hold comments for approval, remove the value of spam links, and check Search Console for odd pages and queries. If you will not read comments, turn them off.
If you would like us to check your forms and your index for spam, send us your website address and we will tell you what we see.
