Completely disable all comment features in WordPress, including REST API, XML-RPC, and feeds.
Disable All Comments is a lightweight, high-performance WordPress plugin that completely disables all standard comment features across your website. It is designed to save server resources, reduce spam, and simplify the admin interface for websites that do not require comment functionalities (such as corporate portfolios, landing pages, or blogs using third-party comment systems).
- Disable Comment Support: Removes comment and trackback support from all post types (posts, pages, and custom post types).
- Hide Existing Comments: Hides existing comments from rendering on front-end templates without modifying database records.
- Direct Access Protection: Blocks direct HTTP POST requests to
wp-comments-post.phpwith a403 Forbiddenresponse. - API & XML-RPC Disabling: Removes comment-related endpoints from the WordPress REST API (
/wp/v2/comments) and disables comment XML-RPC methods (e.g.,wp.newComment). - Feeds & Pingbacks Cleanup: Redirects comment RSS feeds to the homepage and removes pingback HTTP headers (
X-Pingback) and links. - Clean Admin UI: Removes the Comments menu, admin bar node, dashboard widget, and comments table columns.
- Upload the
disable-all-commentsfolder to your/wp-content/plugins/directory, or install directly through the WordPress admin panel. - Activate the plugin through the Plugins menu.
- Upon activation, all comment functionalities will be instantly disabled globally.
No. This plugin only disables and hides comment features. It does not modify or delete any comment data from your database.
Yes. Deactivating the plugin restores all WordPress default comment behaviors.
This plugin is one of the six origin projects of Omni Webmaster & SEO Suite — an all-in-one webmaster toolkit that consolidates and optimizes the author's standalone plugins, adding Meta Pixel tracking and monthly post data export on top.
This project is licensed under the GNU General Public License v2.0 or later (GPL-2.0-or-later).