{"id":15440,"date":"2026-02-02T13:16:16","date_gmt":"2026-02-02T13:16:16","guid":{"rendered":"https:\/\/www.copebusiness.com\/?p=15440"},"modified":"2026-02-07T10:10:55","modified_gmt":"2026-02-07T10:10:55","slug":"disable-comments-in-wordpress","status":"publish","type":"post","link":"https:\/\/www.copebusiness.com\/es\/wordpress\/desactivado-comments-en-wordpress\/","title":{"rendered":"How to Disable Comments in WordPress (Step-by-Step Guide)"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Comments are one of WordPress\u2019s most powerful built-in features \u2014 they encourage discussion, build community, and provide social proof. However, for many sites (business pages, portfolios, landing pages, documentation, or stores), comments create more problems than benefits: spam overload, moderation time, performance hits, and security risks. With rising spam sophistication and a focus on fast, clean sites, disabling comments on the right content is a common optimization step.<br><br>At Cope Business, we disable comments strategically for clients during our <a href=\"https:\/\/www.copebusiness.com\/technical-seo-services\/technical-seo-audit-service\/\" target=\"_blank\" rel=\"noreferrer noopener\">technical SEO audit services<\/a> and <a href=\"https:\/\/www.copebusiness.com\/technical-seo-services\/wordpress-speed-optimization-services\/\" target=\"_blank\" rel=\"noreferrer noopener\">WordPress speed optimization services<\/a> to reduce database load, eliminate spam, and improve Core Web Vitals.<br><br>This guide shows you four easy, safe ways to disable comments in WordPress \u2014 globally, on specific posts\/pages, or selectively \u2014 no advanced coding required.<\/p><div id=\"ez-toc-container\" class=\"ez-toc-v2_0_84 ez-toc-wrap-left counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">On this page<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Alternar tabla de contenidos\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #0a0a0a;color:#0a0a0a\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #0a0a0a;color:#0a0a0a\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.copebusiness.com\/es\/wordpress\/desactivado-comments-en-wordpress\/#Why_Disable_Comments_in_WordPress\" >Why Disable Comments in WordPress?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.copebusiness.com\/es\/wordpress\/desactivado-comments-en-wordpress\/#Method_1_Disable_Comments_Globally_All_Posts_Pages\" >Method 1: Disable Comments Globally (All Posts &amp; Pages)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.copebusiness.com\/es\/wordpress\/desactivado-comments-en-wordpress\/#Method_2_Disable_Comments_on_Specific_Posts_or_Pages\" >Method 2: Disable Comments on Specific Posts or Pages<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.copebusiness.com\/es\/wordpress\/desactivado-comments-en-wordpress\/#Method_3_Disable_Comments_Using_a_Plugin_Most_Flexible\" >Method 3: Disable Comments Using a Plugin (Most Flexible)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.copebusiness.com\/es\/wordpress\/desactivado-comments-en-wordpress\/#Method_4_Disable_via_Code_Lightweight_%E2%80%93_No_Plugin\" >Method 4: Disable via Code (Lightweight \u2013 No Plugin)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.copebusiness.com\/es\/wordpress\/desactivado-comments-en-wordpress\/#Best_Practices_After_Disabling_Comments\" >Best Practices After Disabling Comments<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.copebusiness.com\/es\/wordpress\/desactivado-comments-en-wordpress\/#Final_Thoughts\" >Final Thoughts<\/a><\/li><\/ul><\/nav><\/div>\n\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Why_Disable_Comments_in_WordPress\"><\/span>Why Disable Comments in WordPress?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Eliminate Spam<\/strong> \u2014 Stop 90%+ of automated comment spam<\/li>\n\n\n\n<li><strong>Improve Site Speed<\/strong> \u2014 Fewer database queries, smaller comment tables<\/li>\n\n\n\n<li><strong>Reduce Moderation Time<\/strong> \u2014 No more approving\/deleting junk<\/li>\n\n\n\n<li><strong>Better Security<\/strong> \u2014 Removes a common attack vector (comment spam exploits)<\/li>\n\n\n\n<li><strong>Clean Design<\/strong> \u2014 No comment section clutter on pages that don\u2019t need discussion<\/li>\n\n\n\n<li><strong>SEO &amp; UX<\/strong> \u2014 Focused pages load faster and keep visitors on-topic<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Not every site needs comments \u2014 disable them where they don\u2019t add value.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Method_1_Disable_Comments_Globally_All_Posts_Pages\"><\/span>Method 1: Disable Comments Globally (All Posts &amp; Pages)<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Best for new sites or when you never want comments.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Steps<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to <strong>Settings > Discussion<\/strong>.<\/li>\n\n\n\n<li>Uncheck these boxes:\n<ul class=\"wp-block-list\">\n<li>Allow people to submit comments on new posts<\/li>\n\n\n\n<li>Allow link notifications from other blogs (pingbacks and trackbacks)<\/li>\n\n\n\n<li>Allow people to post comments on new articles<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Under \u201cBefore a comment appears\u201d \u2014 uncheck both options (or keep if you want moderation).<\/li>\n\n\n\n<li>Under \u201cOther comment settings\u201d \u2014 uncheck \u201cUsers must be registered and logged in to comment\u201d (optional).<\/li>\n\n\n\n<li>Scroll down and click <strong>Save Changes<\/strong>.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Now new posts\/pages will have comments disabled by default.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Existing Content<\/strong>: Use Method 2 or 3 to bulk-disable on old posts.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Method_2_Disable_Comments_on_Specific_Posts_or_Pages\"><\/span>Method 2: Disable Comments on Specific Posts or Pages<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Perfect when you want comments on blog posts but not on pages.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Steps (Per Post\/Page)<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Edit any post or page.<\/li>\n\n\n\n<li>In the right sidebar \u2192 <strong>Discussion<\/strong> panel (if not visible, click the three dots \u2192 Preferences \u2192 Panels \u2192 Show Discussion).<\/li>\n\n\n\n<li>Uncheck <strong>Allow comments<\/strong>.<\/li>\n\n\n\n<li>Update\/Publish.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Bulk Disable<\/strong> (for many posts):<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to <strong>Posts > All Posts<\/strong> (or Pages).<\/li>\n\n\n\n<li>Select all posts\/pages \u2192 Bulk Actions > Edit \u2192 Apply.<\/li>\n\n\n\n<li>Under <strong>Comments<\/strong>, choose \u201cDo not allow\u201d \u2192 Update.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Method_3_Disable_Comments_Using_a_Plugin_Most_Flexible\"><\/span>Method 3: Disable Comments Using a Plugin (Most Flexible)<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Plugins give you one-click global control, bulk actions, and extra features.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Recommended Plugin: Disable Comments (Free)<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Install <strong>Disable Comments<\/strong> from <strong>Plugins > Add New<\/strong>.<\/li>\n\n\n\n<li>Activate \u2192 Go to <strong>Settings > Disable Comments<\/strong>.<\/li>\n\n\n\n<li>Choose mode:\n<ul class=\"wp-block-list\">\n<li><strong>Everywhere<\/strong> \u2014 Disable comments site-wide (recommended for most non-blog sites)<\/li>\n\n\n\n<li><strong>On certain post types<\/strong> \u2192 Select Pages, Attachments, etc.<\/li>\n\n\n\n<li><strong>On specific posts\/pages<\/strong> \u2192 Manual selection<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Check <strong>Hide existing comments<\/strong> (removes old comments from front-end).<\/li>\n\n\n\n<li>Save Changes \u2014 done!<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Pros<\/strong>: Instant, reversible, bulk tools, hides old comments.<br><strong>Cons<\/strong>: Adds one lightweight plugin.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Alternative<\/strong>: <strong>Comment Blacklist<\/strong> or <strong>No Comments<\/strong> (free) \u2014 similar functionality.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Method_4_Disable_via_Code_Lightweight_%E2%80%93_No_Plugin\"><\/span>Method 4: Disable via Code (Lightweight \u2013 No Plugin)<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">For maximum control without plugins.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Use a child theme or <strong>WPCode<\/strong> (free plugin).<\/li>\n\n\n\n<li>Add this code to functions.php or WPCode snippet (run everywhere):<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>PHP<code><em>\/\/ Disable comments globally<\/em> add_action('init', function() { <em>\/\/ Remove comments from admin bar<\/em> remove_menu_page('edit-comments.php'); remove_submenu_page('options-general.php', 'options-discussion.php'); <em>\/\/ Disable support for comments &amp; trackbacks<\/em> $post_types = get_post_types(); foreach ($post_types as $post_type) { if (post_type_supports($post_type, 'comments')) { remove_post_type_support($post_type, 'comments'); remove_post_type_support($post_type, 'trackbacks'); } } }); <em>\/\/ Close comments on front-end<\/em> add_filter('comments_open', '__return_false', 20, 2); add_filter('pings_open', '__return_false', 20, 2); <em>\/\/ Hide existing comments<\/em> add_filter('comments_array', '__return_empty_array', 10, 2);<\/code><\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Pros<\/strong>: No plugin bloat, complete control.<br><strong>Cons<\/strong>: Requires child theme or snippet plugin; test carefully.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Best_Practices_After_Disabling_Comments\"><\/span>Best Practices After Disabling Comments<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Redirect old comment URLs<\/strong> \u2014 Use Redirection plugin to 301 \/comments\/* to homepage.<\/li>\n\n\n\n<li><strong>Remove comment feeds<\/strong> \u2014 Add to functions.php:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>PHP<code>add_filter('feed_links_show_comments_feed', '__return_false');<\/code><\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>SEO<\/strong> \u2014 Noindex comment feeds\/pages if any remain.<\/li>\n\n\n\n<li><strong>Performance<\/strong> \u2014 Fewer database queries \u2192 faster site (pair with caching).<\/li>\n\n\n\n<li><strong>Test<\/strong> \u2014 Check posts\/pages, admin bar, and front-end for leftover comment elements.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Final_Thoughts\"><\/span>Final Thoughts<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Disabling comments in WordPress is a smart move for many sites \u2014 it cuts spam, reduces maintenance, speeds up your site, and focuses attention on your content. Use the <strong>Disable Comments<\/strong> plugin for instant control or code for zero bloat \u2014 both are quick and effective.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A cleaner site is often a faster, more trusted site.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Need help disabling comments, optimizing your site structure, or improving overall performance &amp; SEO? <a href=\"https:\/\/www.copebusiness.com\/contact\/\" target=\"_blank\" rel=\"noreferrer noopener\">Contact Cope Business<\/a> for a free technical SEO consultation \u2014 we\u2019ll review your setup and implement changes that make your site cleaner, faster, and more professional.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Comments are one of WordPress&rsquo;s most powerful built-in features &mdash; they encourage discussion, build community, and provide social proof. However, [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":15444,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[177],"tags":[],"class_list":["post-15440","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress"],"jetpack_publicize_connections":[],"_links":{"self":[{"href":"https:\/\/www.copebusiness.com\/es\/wp-json\/wp\/v2\/posts\/15440","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.copebusiness.com\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.copebusiness.com\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.copebusiness.com\/es\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.copebusiness.com\/es\/wp-json\/wp\/v2\/comments?post=15440"}],"version-history":[{"count":1,"href":"https:\/\/www.copebusiness.com\/es\/wp-json\/wp\/v2\/posts\/15440\/revisions"}],"predecessor-version":[{"id":15445,"href":"https:\/\/www.copebusiness.com\/es\/wp-json\/wp\/v2\/posts\/15440\/revisions\/15445"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.copebusiness.com\/es\/wp-json\/wp\/v2\/media\/15444"}],"wp:attachment":[{"href":"https:\/\/www.copebusiness.com\/es\/wp-json\/wp\/v2\/media?parent=15440"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.copebusiness.com\/es\/wp-json\/wp\/v2\/categories?post=15440"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.copebusiness.com\/es\/wp-json\/wp\/v2\/tags?post=15440"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}