What Disable Comments does on your site
WordPress lets you close comments one post at a time, but it has no switch to remove them from the whole site. Disable Comments adds that switch: everywhere, or only on chosen post types (posts, pages, media, products). On the affected content, the plugin closes comments, trackbacks and pingbacks, swaps the theme’s comment template for an empty one and hides the discussion fields on edit screens.
With the “Everywhere” setting, it also cleans up the admin and your markup: no “Comments” item in the menu or toolbar, the Settings > Discussion screen hidden, the “Recent Comments” widget removed, comment RSS feeds shut off (they return a 403 error) and the X-Pingback HTTP header stripped. Two extra options block comment submissions over XML-RPC and the REST API. A “Delete Comments” tab removes existing comments, with a preview and a CSV export before anything is deleted.
First released in 2011, the plugin has been maintained since 2020 by WPDeveloper, the company behind Essential Addons and BetterDocs. It is free, with no paid version. It filters comment status at runtime instead of rewriting your content, so deactivating it brings back each post’s original settings. It supports multisite (one network-wide setup or per-site settings) and ships WP-CLI commands.
Which sites Disable Comments suits best
The plugin is for sites that don’t need comments and would rather stop spam at the source than sort through it:
- Business sites, portfolios and company pages: no form to moderate, no pending spam, and an admin without menus you never use.
- Knowledge bases and documentation: close comments on the documentation post type and keep them open on the blog.
- WooCommerce stores without reviews: product reviews are comments on the Products post type, and the plugin can close them separately from other comments.
- Multisite networks and agencies: one configuration for the whole network, or the same setup replicated across sites with WP-CLI or a JSON export.
It’s the wrong pick if you want to keep comments and just filter spam: a filter such as Akismet or Antispam Bee fits that job better (see our page on WordPress anti-spam). To close comments on a handful of posts, the built-in “Allow comments” checkbox is enough, as the plugin’s own documentation points out.
Disable Comments strengths and limitations
Strengths
- One setting for the whole site. “Everywhere” closes comments, feeds and related screens without editing a single post.
- Side doors covered too. The XML-RPC and REST API options stop bots that post comments without loading the form.
- Controlled deletion. By post type or comment type, with a preview of matched comments and a CSV export first.
- Reversible and free. Your content’s original settings stay intact, and every feature is free.
Limitations
- The theme has the final say. A poorly coded theme can still show a form or “Comments are closed”, which means editing the theme.
- XML-RPC stays open. The option only removes the comment-posting method;
xmlrpc.phpremains reachable for everything else. - Deletion is permanent. Deleted comments don’t come back, and deleting “Everywhere” also wipes WooCommerce order notes.
- No spam filtering. Where comments stay open, the plugin doesn’t sort spam from genuine comments; that takes a separate anti-spam plugin.
Our recommended Disable Comments settings
Labels from version 2.9.1, under Settings > Disable Comments. The quick setup wizard offers the same choices right after activation.
| Setting | Recommended value | Why |
|---|---|---|
| Everywhere Disable Comments tab | On if the site has no comments worth keeping | Closes comments and also removes menus, widgets, comment feeds and the X-Pingback header. |
| On Specific Post Types Same tab | Otherwise, check only the types you need | For example Pages and Media while Posts stay open; check Products only if you’re giving up WooCommerce reviews. |
| Show Existing Comments Same tab | Depends on the site (off by default) | When on, older approved comments stay visible while new ones are refused. |
| Enable Certain Comment Types Same tab | On, with the note type checked, if you use editor Notes | WordPress 6.9 Notes are stored as comments, so without this exception they get switched off too. |
| Disable Comments via XML-RPC and via REST API Same tab, Disable Comments With API section | On (off by default) | Spam bots often submit comments through these two routes without ever loading the form. |
| Disable Avatar Same tab | Off, unless that’s a deliberate choice | This changes the WordPress avatar display option for the whole site, not just comments. |
| On Certain Post Types Delete Comments tab | After a backup, and after reading the preview | Deletion is permanent; on a store, use this rather than “Everywhere”, which would erase order notes. |
- Open a post in a private browser window: no comment form should appear.
- If the form is still there, run “Check my theme” on the Settings tab: the plugin reports what is still rendering it.
- Visit
/comments/feed/on your site: with “Everywhere” on, it should return a 403 error. - On a store, open a product page: reviews should be shown or hidden according to your choice.
Disable Comments security: one known flaw, long fixed
The only published vulnerability for the plugin dates back to 2014: CVE-2014-2550, a CSRF flaw fixed in version 1.0.4. A booby-trapped site could make a logged-in administrator send a request that turned comments back on. WPScan and Patchstack list no other vulnerability as of this review.
The plugin moves fast: version 2.9.0 lets AI assistants and MCP clients change settings and delete comments, gated on the same permissions as the admin screens. Turn on its automatic updates (see our guide to automatic plugin updates), and if you also want to block xmlrpc.php, read our article on XML-RPC and its risks. Disable Comments adds nothing to your public pages; the box below shows what WP Feint covers for it.
What WP Feint hides for Disable Comments
Free version Handled by the free plugin Feint Security
Disable Comments is one of the 50 most used plugins known to the free version. Pro goes further by renaming its files.
Free version
Nothing to remove
With Pro
Nothing more
Still visible
No known trace
Disable Comments FAQ
Does Disable Comments delete my existing comments?
No. Disabling comments deletes nothing: they stay in the database and reappear if you deactivate the plugin. Only the “Delete Comments” tab removes them, and that deletion is permanent.
Why is the comment form still showing?
Either your theme doesn’t check comment status the way WordPress expects, or a cached page is being served. Since version 2.8.0 the plugin purges page caches when you save, and the “Check my theme” test pinpoints a theme at fault.
Can I turn off WooCommerce reviews only?
Yes. Reviews are comments on the Products post type: check Products to close them, or close just the “Product reviews” type under Close Certain Comment Types if you keep other comments on products. To remove reviews already published, use the Delete Comments tab with the Products type.
Is there a paid version of Disable Comments?
No. The plugin is free and the developer offers no Pro version. It shows a request to share usage data, which sends nothing unless you accept.