Most business sites, SaaS landing pages, portfolios, and WooCommerce storefronts do not want blog comments at all. So the site owner goes to Settings > Discussion, unchecks “Allow people to submit comments on new posts”, and assumes the job is done. Two weeks later, the dashboard is still filling up with spam comments and pingback alerts.
That happens because WordPress core settings only change the default for future posts. Existing posts, media attachment pages, the REST API comment route, comment RSS feeds, and XMLRPC pingback methods stay wide open to automated bots. Closing comments properly means shutting down every entry point at once.
Five Places WordPress Still Accepts or Exposes Comments
Even when the comment box is hidden in your theme template, automated spam scripts rarely bother loading HTML forms. They hit endpoints directly:
- Existing posts and media attachments: Unchecking the global Discussion box never updates
comment_statuson already published posts or attachment pages. - The WordPress REST API: Bots can query or target
/wp-json/wp/v2/commentsunless comment endpoints are explicitly removed. - XMLRPC pingbacks and trackbacks: The
pingback.pingmethod insidexmlrpc.phpis still abused for spam and amplification traffic. - Comments RSS feeds: WordPress continues generating
/comments/feed/URLs that search crawlers index as thin pages. - Admin UI clutter: The Comments menu, admin bar bubble, and dashboard Recent Comments widget keep running queries and taking space in wp-admin.
Core Discussion Settings vs Full Endpoint Lockout
| Attack or Clutter Surface | WP Discussion Checkbox | ForgeHub Disable Comments |
|---|---|---|
| New posts and pages | Disabled | Disabled site wide or per post type |
| Already published posts & attachments | Still open | Closed cleanly at runtime |
| REST API comment endpoints | Still exposed | Removed cleanly |
| XMLRPC pingbacks and trackbacks | Requires separate code | Disabled automatically |
| Comments RSS feed & admin bar icons | Still visible | Hidden from frontend and wp-admin |
How to Lock Down Comments in One Click
We built ForgeHub Disable Comments to close every one of those surfaces without editing theme templates or adding fragile code snippets to functions.php.
Step 1: Install and Choose Site Wide or Post Type Mode
Download the free open source release from GitHub Releases and activate it. Open Settings > Disable Comments and choose either Everywhere (ideal for brochure sites and agency builds) or select specific post types (for example, keep WooCommerce product reviews enabled while disabling comments on Posts, Pages, and Media).
Step 2: Verify Clean Admin and Endpoints
The moment you save, the Comments menu, admin bar counter, comments RSS feed, comment REST routes, and XMLRPC pingback hooks disappear. There are zero external API calls, zero anti spam subscription fees, and zero extra frontend scripts.
Step 3: Purge Legacy Spam When Needed
If you are cleaning up a site that already accumulated thousands of spam rows before you locked it down, Disable Comments Pro adds safe bulk deletion for existing comments, pingbacks, and trackbacks, plus role based comment visibility rules for editorial teams.
Pair Comment Hardening with Login Protection
Bots that hammer comment endpoints usually probe your login screen at the exact same time. Once comments and pingbacks are shut down, lock down your admin login with our lightweight ForgeHub Secure Admin Guard so brute force traffic is stopped before it ever reaches WordPress authentication.
Frequently Asked Questions
Will disabling comments break WooCommerce product reviews?
Not if you use per post type mode. WooCommerce stores reviews as comments on the product post type, so simply disable comments on Posts, Pages, and Attachments while leaving Products unchecked.
Does disabling comments delete my existing comments?
No. The free edition hides and disables comment functionality safely without destroying database rows. If you want to permanently purge old comments and pingbacks, use the bulk delete tool in Pro.
Do I still need an anti spam plugin after disabling comments everywhere?
No. Once comment submission hooks, REST routes, and XMLRPC pingbacks are disabled, there is nothing left for comment spam bots to submit to, so you can safely deactivate heavy anti spam plugins and save database queries.
Build with WPForgeHub Micro Tools
Try ForgeHub Disable Comments Free Today
Shut down WordPress comments, REST routes, RSS feeds, and XMLRPC pingbacks in one click with zero server overhead.
Download Free on GitHub
View Plugin Details
Optional Pro & Priority Support
