Plugins Plugin hub Backup SEO Caching Security Forms WooCommerce Images Best backup plugins
Hosting Hosting directory Shared Managed Cloud India
Themes & builders Compare Rank Math vs Yoast
Tools All tools Hosting finder Plugin stack builder Cost calculator Salt generator Theme detector Who is hosting this? Speed test Headline analyzer robots.txt generator Redirect generator Uptime calculator Blog name generator
Best lists Best backup plugins Deals
Guides All guides Speed up WordPress Choose hosting Back up WordPress
How we test

Blogging & content · Guide

How to Turn Off Comments in WordPress

How to Turn Off Comments in WordPress

Short answer

Turn off comments for new posts at Settings → Discussion by clearing 'Allow people to post comments on new articles' and saving. That switch does not touch posts you already published, so close those with the auto-close setting set to 0 days, or with bulk edit on the post list. Comments that were already approved stay visible until you delete them from the Comments screen.

Key takeaways

  • The Discussion switch only sets the starting value for new posts, not for old ones.
  • Auto-close with 0 days closes comments on every post already published.
  • Bulk edit lets you close comments on selected posts without touching the rest.
  • Pingbacks and trackbacks need their own switch on the same screen.
  • Check the site logged out to confirm the comment form is really gone.

How do you turn off comments for new posts?

Turn off comments for new posts at Settings → Discussion by clearing one checkbox and saving the page.

Go to your WordPress dashboard, open Settings, then click Discussion. Under Default post settings, clear the box next to “Allow people to post comments on new articles” and click “Save Changes” at the bottom of the page. New posts will then start with comments closed.

WordPress.org states that this setting can be overridden for single posts, and that it covers new posts only (checked November 2026).

Posts you already published keep their own comment setting, so you must close those one by one or in bulk. That split catches many site owners, so plan for both steps.

The same screen holds the pingback setting. Clear "Allow link notifications from other blogs (pingbacks and trackbacks)" if you also want to stop those notes from other sites. WordPress.org notes that pingbacks and trackbacks show in the comments area of your posts when this box is checked (checked November 2026).

How do you close comments on posts you already published?

Close comments on old posts with the auto-close setting or with bulk edit, because the site-wide switch does not touch them.

The fastest route is the auto-close setting on the same Discussion screen. Check “Automatically close comments on articles older than [X] days” and enter 0 as the number of days, then save.

WordPress then closes comments on posts older than that number of days, and 0 covers every post already published.

WordPress.org gives 14 as its example number of days for this setting (checked November 2026).

Use 14 if you only want to close comments on posts older than two weeks, and use 0 when you want all old posts closed at once. Old comments that were already approved stay visible unless you delete them.

Bulk edit gives you more control over which posts change. Go to Posts → All Posts, tick the posts you want, open the Bulk actions menu, choose Edit, and click Apply.

Set Comments to “Do not allow” and click Update. Repeat for each page of results until every post is done.

How do you turn off comments on one post or page?

Turn off comments on one post or page from its editor, in the Discussion panel of the sidebar.

Open the post in the block editor and open the Settings sidebar on the right. Make sure the Post tab is active, scroll to Discussion, and set it to Closed. Click Save or Update to store the change.

If the Discussion panel is missing, open the Options menu (the three dots at the top right), choose Preferences, and turn on Discussion under Document settings in the General tab. That step only shows the panel; it does not change any comment setting by itself.

You can also use Quick Edit from the post list. Hover over the post at Posts → All Posts, click Quick Edit, clear “Allow Comments”, and click Update.

WordPress.com Support gives the same steps for its dashboard: open the post settings, scroll to Discussion, and untick Allow Comments (checked November 2026).

Pages need the same check. The site-wide setting at Settings → Discussion covers new posts, so open each page that shows a comment form and close its Discussion setting too.

Make WordPress Support states that pages are static and are not listed by date, while posts are dated entries (checked November 2026). A guide on how to stop comment spam in WordPress covers what to do when spam still arrives after you close comments.

What happens to comments that are already published?

Comments that were already approved stay on the post until you delete them, even after you close new comments.

Closing comments stops new ones. It does not hide or delete the old ones. Readers can still read them, and the count shown next to the post stays the same until you remove them.

To delete old comments, go to Comments in the dashboard, tick the ones you want to remove, open Bulk actions, choose “Move to Trash”, and click Apply. Trashed comments sit in the Trash view until you delete them for good or they are cleared.

WordPress.org states that making a post private also blocks comments, since a private post needs its password before a comment is allowed (checked November 2026).

That option hides the whole post, so use it only when you want the post itself hidden, not just its comments.

Check the front of the site after you delete comments. Open a post as a logged-out visitor and confirm the comment form is gone and the old comments are gone too.

A cached page can still show the old form for a short time, so clear your cache if your host or plugin stores one.

How do you stop pingbacks and trackbacks too?

Stop pingbacks and trackbacks by clearing their checkbox at Settings → Discussion, then closing them on old posts as well.

Pingbacks and trackbacks are notes that other sites send when they link to your post. WordPress.org states that they appear in the comments section of your posts when the setting is on (checked November 2026).

Turning them off keeps your comment area free of those link notes.

The site-wide switch covers new posts only, just like the comment switch. For old posts, use bulk edit and set Pings to “Do not allow” along with Comments. That pair of settings closes both doors at once.

In the single-post editor, the Discussion panel has a separate control for pingbacks and trackbacks. Turn that off on posts where you still see link notes after the bulk change. If a note is already published, delete it from the Comments screen like any other comment.

How do you keep spam out after comments are off?

Spam can still reach your site through forms and old posts, so check the places where comments stay open.

First, confirm that no old post still takes comments. Open Posts → All Posts and look for posts you missed in bulk edit.

A single missed post can collect spam while the rest of the site stays quiet. Repeat the bulk edit until the list is clean.

WordPress.org states that you can hold a comment for review when it holds a set number of links, since spam often carries many links (checked November 2026).

That setting sits in the Comment Moderation area of the Discussion screen. Set the link limit to 2 while comments are still open anywhere on your site.

WordPress.org also states that threaded comments can run up to 10 levels deep at most (checked November 2026).

That limit matters little once comments are off, but it shows how much control the Discussion screen gives you over comment threads. Keep the moderation settings in place even after you close comments, in case you reopen them on one post later.

A guide on how to run a WordPress security audit lists other checks worth doing at the same time, such as reviewing user accounts and old plugins.

How do you check that comments are really off?

Check comments are off by viewing the site as a visitor, not only in the dashboard.

Log out of WordPress, or open the site in a private browser window. Visit a new post and an old post, and look for the comment form at the bottom.

If the form is gone on both, the change worked. If it shows on one, that post still has comments open.

Test the auto-close result the same way. Visit your oldest post and your newest post. Both should show no form.

Then test a page that used to show a form, since pages keep their own setting.

Check the Comments screen too. It should show no new comments arriving after the change.

If new ones still appear, note which post they belong to, open that post, and close its Discussion setting by hand. That post is the one your bulk edit missed.

What mistakes should you avoid?

Avoid thinking the site-wide switch closes comments everywhere, because it only sets the starting value for new posts.

That one error leaves old posts open for months. Always follow the switch with the auto-close setting or a bulk edit pass.

Learn WordPress walks through the same Discussion screen, starting with the default post settings at the top (checked November 2026). A guide on fixing comments that do not show helps when the form acts in a way you did not expect, such as showing on some posts and not others.

Avoid deleting comments before you check them. Some old comments hold useful questions or kind words from readers. Read through them once, save any point worth keeping in the post itself, and only then move them to trash.

Avoid turning comments off on every post when you only need them off on one type of post. A contact page or a news post may still gain from reader replies, while a sales page may not.

Close comments where they cause work, and leave them open where they help readers.

MethodWhat it closesTime it takesBest for
Settings → Discussion switchNew posts only2 minutesStarting the change
Auto-close with 0 daysAll old posts2 minutesClosing everything fast
Bulk editPosts you select10 to 20 minutesPicking which posts close
Single post editorOne post or page1 minute eachOne-off fixes
Quick EditOne post from the list1 minute eachQuick fixes while browsing
Note: always check the site as a logged-out visitor after you change comment settings, since the dashboard view can hide what readers see.

Frequently asked questions

Will turning off comments delete the old ones?

No. Closing comments stops new ones, but comments that were already approved stay on the post until you delete them. To remove them, go to Comments in the dashboard, tick the ones you want gone, choose Move to Trash from Bulk actions, and click Apply. Trashed comments sit in the Trash view until you delete them for good. Check the live post after you delete them.

Can I turn comments off for pages but not posts?

Yes. The site-wide setting at Settings → Discussion covers new posts, while each page keeps its own Discussion setting. Open the page in the editor, open the Settings sidebar, scroll to Discussion, and set it to Closed. Repeat for each page that shows a comment form. You can also use Quick Edit from the Pages list to clear Allow Comments on one page at a time.

Why do comments still show after I changed the setting?

The most common cause is that the setting only covers new posts, so old posts still take comments. Use the auto-close setting with 0 days, or bulk edit the old posts to Do not allow. A second cause is cache: a cached page can still show the old form for a short time, so clear your cache. A third cause is a single post whose own Discussion setting is still open.

How do I turn comments back on for one post?

Open the post in the editor, open the Settings sidebar, and set Discussion to Open in the Post tab. If the Discussion panel is missing, open the Options menu at the top right, choose Preferences, and turn on Discussion under Document settings. Click Update to save. The site-wide switch stays off, so only that post takes comments again. Use Quick Edit from the post list for the same change.

Does turning off comments stop spam on my contact form?

No. The comment setting only covers the comment form under posts and pages. A contact form is a separate tool, often a plugin, with its own spam controls. If spam arrives through a form, check that form plugin for spam protection such as a captcha or a honeypot field. Turning off comments helps only with spam that arrives as a comment on a post or page.

Sources

  1. Settings Discussion screen WordPress.org
  2. Managing Settings: Discussion Learn WordPress
  3. Enable and Disable Comments WordPress.com Support
  4. Posts vs Pages Make WordPress Support

Is your product missing, or something out of date?

Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.

About the editors

WPLegible editors

Researched from the primary sources listed above and checked against our editorial rules. About the site · How we test