Blog · WebJi® India

Stopping WordPress Comment Spam

Quick answer: Install Akismet, then tighten Settings → Discussion: hold comments with links, approve first-time commenters and auto-close old posts. Add one invisible filter — Antispam Bee or a honeypot — and disable comments where they serve no purpose. Published spam hurts SEO; moderation keeps it out of the index.
✓ In business since 2005✓ INR + GST billing✓ 24/7 Email Support — avg reply < 60 min
Indian freelancer's desk with a laptop showing a website, potted plant and coffee in warm window light — stop wordpress comment spam

Why spam finds WordPress

Why spam finds WordPress so reliably: scale and default openness. WordPress powers a huge share of the web, and its comment system is enabled by default on posts — a standardised, findable target. Bots locate it by crawling for wp-comments-post.php and the comment form's field names, then submit at machine speed: templated praise, spun text, links in author names and bodies.

The economics: a vanishing success rate still pays when submission is free and automated. What spam wants is published links. What it costs you is moderation time, database bloat — tens of thousands of stored comments slow queries and backups — and, if moderation lapses, a site that looks abandoned. The fix is the layer stack below, not any single setting.

Layer 1: Akismet and comment settings

Layer one is Akismet plus strict comment settings — the foundation. Akismet screens every incoming comment against its cloud intelligence, auto-trashing obvious spam and holding questionable ones; personal blogs select the free name-your-price tier, commercial sites need a paid plan (verify current terms at akismet.com).

Indian freelancer's desk with a laptop showing a website, potted plant and coffee in warm window light — stop wordpress comment spam

Under Settings > Discussion: require manual approval for every comment — or at minimum first-time commenters; hold comments with links for moderation. And turn off trackbacks and pingbacks, legacy notification channels most sites no longer benefit from. These settings convert spam from publishable to moderated, which changes its economics completely.

Layer 2: anti-spam plugins and honeypots

Akismet is not the only route. Antispam Bee runs entirely without a cloud account — it trusts commenters with a verified Gravatar, flags comments containing BB code, and can restrict comments by language or country, then deletes stored spam automatically after a set number of days. CleanTalk takes the invisible path: no CAPTCHA, one subscription covering comments, registration forms and contact forms alike. Honeypot plugins (the approach behind Anti-spam and several others) add a form field humans never see — bots dutifully fill it and are rejected silently.

Layer sensibly: Akismet plus one technical filter (a honeypot or Antispam Bee's rules) covers both known spam sources and novel bots. Stacking four or five filters raises the false-positive rate — real readers land in the spam folder — so add layers only when spam actually gets through the first two.

Layer 3: manual approval and blacklists

Moderation is the backstop. Under Settings → Discussion, enable Comment must be manually approved together with Comment author must have a previously approved comment — first-time commenters wait for a human, regulars publish instantly, and you review each new person exactly once. Set the link threshold in Comment Moderation to one link; nearly every genuine comment contains none, while nearly every spam comment contains at least one.

The keyword field underneath does the same for terms: paste spam phrases, suspicious domains and known bad IPs into Disallowed Comment Keys, one per line, and matching comments are held or binned automatically. Instead of assembling your own list, start from the community-maintained WordPress Comment Blacklist on GitHub and prune what over-triggers.

Bulk-deleting spam

An inherited pile needs bulk removal, not one-by-one trashing. In Comments → Spam, the Empty Spam button deletes everything flagged in one click. For unflagged pending comments, filter the list by author, IP address or date range and clear each batch with bulk actions. On hosts with SSH, wp comment delete $(wp comment list --status=hold --format=ids) removes every awaiting-moderation comment in one pass — take a database backup first.

Finish by emptying the trash so the rows actually leave the database, then confirm the layers above are switched on — otherwise the pile rebuilds within days.

Disabling comments by page type or site-wide

Disabling comments is the legitimate nuclear option — and honest assessment comes first: do comments serve this site? Business brochure sites, service pages and product catalogs gain nothing from comments and pay spam's tax regardless.

Per-page: every post editor carries a Discussion panel (enable via Options if hidden) with 'Allow comments' unchecked — pages default to off, posts to on. Site-wide: Settings > Discussion unchecks 'Allow people to submit comments on new posts' for future posts; existing posts need a bulk quick-edit sweep. Middle paths: auto-close comments after 30 days, or require registration. 'Should we have comments?' is a content strategy question — spam management starts with it.

Do spam comments hurt SEO?

Published spam hurts: pages bristling with pharmaceutical links read as neglect to crawlers, user-trust metrics compound it, and Google's guidance for decades has been to moderate or disable unmanaged comments. Stored-but-unpublished spam does not directly harm rankings — search engines never see it — but the bloat tax is real: database size, backup weight, query overhead.

The link-economy footnote: comment links are nofollowed by default, so the SEO spammers chase is largely worthless — the harm is to you, not the gain to them. Bottom line: moderate what publishes, keep the library lean, disable where comments serve nothing — and put the recovered attention into content, the thing that actually ranks. If spam has become a security problem, WebJi®'s WordPress security service handles cleanup, and the full security checklist continues from there.

Frequently Asked Questions

How do I stop spam comments on WordPress?

Layer it: connect Akismet and tighten Settings → Discussion (hold comments with links, approve first-time commenters, auto-close old posts), add one technical filter such as Antispam Bee or a honeypot, and disable comments where they serve no purpose. That stack stops nearly all bot spam.

Should I disable comments on my blog?

If the blog earns real replies, keep comments and filter spam instead. Brochure pages, service pages and product catalogs gain nothing from comments — disable them there. Full disablement is justified when no genuine conversation happens.

Is Akismet free for business websites?

No. Akismet's name-your-price tier covers personal and non-commercial sites; business and commercial sites pick a paid plan. The plugin itself is free from the WordPress directory — only the API key tier differs.

Why do I suddenly get so many spam comments?

Bots crawl the web for open comment forms and reach every WordPress site eventually. A sudden surge usually means a spam farm indexed your posts, or an older post with an open form was rediscovered. The layered settings close the door.

How do I bulk delete thousands of spam comments?

Comments → Spam → Empty Spam clears flagged comments in one click. For unflagged pending comments, bulk-filter by IP or date and delete in batches, or run wp comment delete over WP-CLI after a backup.

Do spam comments hurt my SEO?

Published spam does — external links and neglect signals sit on your pages and in Google's index. Held-but-unpublished spam harms only performance (database bloat, heavier backups). Moderate what publishes and delete the rest.

Is WebJi® an Indian company?

Yes. WebJi® is headquartered in Jaipur, Rajasthan and has operated since 2005. Billing, support and governance all run from India.

Do you provide GST invoices?

Every purchase and renewal gets a GST invoice with our GSTIN, and hosting prices are quoted exclusive of 18% GST. Claim input credit as applicable.

Need help with this?

WebJi® support does it for you — free. Talk to our Jaipur team →