Key takeaways
- WordPress includes discussion settings that can significantly reduce spam without any extra tools.
- Many business sites do not need comments at all, and switching them off removes the problem entirely.
- Where comments are useful, combine moderation, sensible settings and spam filtering, and review them regularly.
Comments can make a blog feel lively and give readers a way to ask questions. Unfortunately, any open comment form on a WordPress site is also a target for automated spam. Spam comments can contain links to dubious websites, junk text or attempts to trick you into approving them.
Left unchecked, spam clutters your admin area, fills your database and, if any slips through, makes your site look neglected. This guide explains why WordPress sites attract comment spam, how to use the built-in settings to reduce it, and how to decide whether your site needs comments at all.
Why WordPress sites get comment spam
WordPress powers a very large share of websites, and its comment forms follow a predictable structure. That makes them easy for automated scripts to find and submit. Spammers typically want links back to their own sites, to promote products or to test whether a site publishes comments without checking them.
Comment spam is rarely personal. It is usually automated and indiscriminate, which means even small, new sites receive it.
First question: do you need comments?
Before tackling spam, ask whether comments serve a purpose on your site. For many business websites, comments are rarely used by real visitors. Enquiries tend to come through contact forms, email, phone or social media instead.
If comments add little value, switching them off is the simplest and most effective solution. If they do add value, perhaps because readers ask useful questions on how-to articles, keep them and manage them properly.
Switching comments off
WordPress lets you control comments at several levels:
- For new content: in the discussion settings, you can stop new posts from accepting comments by default.
- For existing posts: you can turn comments off on individual posts and pages, or in bulk from the posts list.
- For older content: the discussion settings include an option to close comments automatically on articles older than a chosen period.
Also check your theme. Some themes display comment areas or counts even when comments are closed, and may need adjusting. If you switch comments off, remember that trackbacks and pingbacks, which notify you when other sites link to you, are a separate setting and are also a common spam route.
Using the built-in discussion settings
If you keep comments, the discussion settings in WordPress give you a lot of control without any extra tools.
Require manual approval
You can require every comment to be approved before it appears. This guarantees nothing is published without a human check. A related option allows comments from people who have previously had a comment approved, which reduces work while still screening newcomers.
Require name and email
Requiring a name and email address will not stop determined spammers, but it filters some low-effort submissions.
Hold comments with too many links
Spam often contains multiple links. WordPress can hold any comment containing more than a set number of links for moderation.
Moderation and disallowed words
You can list words, phrases, email addresses or web addresses that send a comment to moderation, and a separate list that sends matching comments straight to the trash. Use the stricter list carefully, because genuine comments containing a matching word would be discarded.
Require registration
For community-style sites, requiring users to register and log in before commenting can greatly reduce spam, though it also discourages casual readers from taking part.
Spam filtering
Built-in settings handle a great deal, but on sites with active comments, a dedicated spam filtering service can automatically catch most spam before you see it. These services compare comments against patterns seen across many sites. When choosing a filtering tool, consider:
- whether it is actively maintained and compatible with your WordPress version,
- how it handles visitors' personal data, including where it sends comment information,
- whether it adds visible challenges that might frustrate genuine visitors, and
- how easily you can review anything it marks as spam.
Every plugin adds code to maintain, so weigh the benefit against the upkeep. A regular WordPress plugin audit keeps your toolkit lean.
Challenge tests and accessibility
Some anti-spam methods ask visitors to solve a puzzle or tick a box. These can help, but they can also create barriers for people using assistive technology or with certain disabilities. Less intrusive approaches, such as hidden fields that only bots fill in or background scoring, are often friendlier. Our guide to website accessibility covers wider considerations.
Privacy and comments
Comment forms collect personal data, such as names, email addresses and IP addresses. Your privacy notice should explain what you collect and why, and any third-party spam service you use should be covered. UK data protection rules apply, and guidance from the Information Commissioner's Office (ICO) is the best place to check your obligations. This is general information rather than legal advice, so take advice if you are unsure. Our article on website terms and privacy policies covers the basics.
A simple moderation routine
- Check pending comments regularly so genuine readers are not left waiting.
- Glance through the spam folder occasionally for genuine comments caught by mistake.
- Empty the spam and trash folders periodically so they do not bloat your database.
- Reply to genuine questions; it shows the site is looked after.
- Review your disallowed words list when new spam patterns appear.
Keeping spam under control is also part of a wider maintenance routine. Our guide to website maintenance explains how it fits alongside updates and backups.
Spam beyond comments
Comment forms are not the only target. Contact forms, newsletter sign-ups and registration pages attract spam too. Many of the same principles apply: validate inputs, use unobtrusive spam protection and review submissions. Our guide to website contact forms covers this in more depth. Unexpected user registrations can also signal a problem, which is one reason to review WordPress user roles and keep open registration switched off unless you need it.
Security considerations
Comment spam is mainly a nuisance, but spam links can lead visitors to harmful sites if published. Never approve a comment you are unsure about, and avoid clicking links in suspicious comments. Keep WordPress, themes and plugins updated, and follow good WordPress security practice more generally.
Spotting spam comments
Automated filters catch a lot, but it helps to recognise spam yourself when reviewing the moderation queue. Typical signs include:
- generic praise that could apply to any article, such as vague compliments with no reference to the content,
- links to unrelated websites, often in the comment text or the website field,
- names that look like product names or business keywords rather than people,
- text in a different language from your site or obviously machine-generated wording,
- repeated near-identical comments across several posts, and
- requests to contact someone, click a link or download something.
Some spam is designed to look harmless at first glance so that it gets approved, which then allows later comments from the same person through automatically. That is why it is worth reading comments properly rather than approving in bulk.
Handling genuine but unwanted comments
Not every unwanted comment is spam. Occasionally you may receive genuine comments that are offensive, off-topic or contain personal information about someone else. It is reasonable to have a short comment policy explaining what you will and will not publish, and to apply it consistently. If a comment raises a customer service issue, it is usually better to respond privately and resolve it than to leave a public back-and-forth on a blog post.
Where comments include complaints or criticism, respond calmly and helpfully. Visitors reading later often judge a business by how it handles feedback as much as by the feedback itself.
Common mistakes to avoid
- Leaving comments open on a site where nobody uses them.
- Auto-approving comments from anyone.
- Forgetting trackbacks and pingbacks.
- Using anti-spam challenges that block genuine visitors.
- Never checking the spam folder for false positives.
- Letting thousands of spam comments sit in the database.
How Prism Works Studio can help
Prism Works Studio builds and maintains WordPress websites for UK businesses, including sensible comment, form and spam settings. Explore our website and ecommerce development service, view our pricing or get in touch.
FAQs
How do I stop spam comments in WordPress?
Use the discussion settings to require approval and hold comments with links, add spam filtering if comments are active, or switch comments off if you do not need them.
Should a business website allow comments?
It depends. If readers genuinely use comments to ask questions, they can be valuable. If not, switching them off saves time and removes a spam route.
What are trackbacks and pingbacks?
They are notifications sent when another site links to your content. They are frequently abused by spammers, and many sites switch them off.
Does comment spam affect SEO?
Published spam with low-quality links can make a page look poorly maintained. Keeping spam unpublished avoids that risk.
Should I delete spam comments?
Yes, periodically. Check for genuine comments caught by mistake, then empty the spam folder to keep your database tidy.