Comments can turn a blog post into a conversation. They can also turn into a flood of spam, a stream of notification emails or an unmoderated mess that hurts your site's credibility. Which one you get depends largely on a single screen that many site owners never open: Settings → Discussion.
This guide walks through the WordPress comment settings one section at a time, explains what each option does, and suggests sensible choices for blogs, business sites and sites that want comments off entirely.
Where to find the comment settings
Log in to your dashboard and go to Settings → Discussion. Everything below lives on that page, except for per-post settings, which are covered near the end.
Note that settings in the first section mostly apply to new posts. Existing posts keep whatever comment setting they had when they were published, unless you change them.
Default post settings
Attempt to notify any blogs linked to from the post
When checked, WordPress sends a pingback to other WordPress sites you link to, letting them know you mentioned them. It is harmless but rarely useful today. Many site owners uncheck it.
Allow link notifications from other blogs (pingbacks and trackbacks) on new posts
This lets other sites notify yours when they link to you. In practice, pingbacks and trackbacks are heavily abused by spammers and clutter your comment queue. For most sites, uncheck this.
Allow people to submit comments on new posts
The master switch for comments on posts you publish from now on. Uncheck it if you do not want comments at all.
Other comment settings
Comment author must fill out name and email
Requires a name and email before commenting. Keep it on. It adds a little accountability and makes it easier to identify repeat commenters.
Users must be registered and logged in to comment
Only logged-in users can comment. This is useful for membership communities, but on a public blog it usually means very few comments.
Automatically close comments on posts older than X days
Spam bots love old posts. Closing comments after, say, 30, 60 or 90 days cuts spam significantly while keeping discussion open when a post is fresh. Choose a window that matches how long your posts get real engagement.
Show comments cookies opt-in checkbox
Adds a checkbox letting commenters choose whether their name and email are saved in a browser cookie for next time. Turn it on if you serve visitors in regions with strict privacy laws, and mention comments in your privacy policy.
Enable threaded (nested) comments
Allows replies to specific comments, displayed as indented threads. Three to five levels deep is usually plenty; deeper threads get very narrow on phones.
Break comments into pages
Splits long comment sections into pages. It helps load time on posts with hundreds of comments, but creates extra URLs. Most small sites can leave it off.
Comments should be displayed with the older/newer comments at the top
Older at the top reads like a conversation. Newer at the top highlights recent activity. Older first is the more common choice.
Email me whenever
- Anyone posts a comment: useful on a quiet blog, overwhelming on a busy one.
- A comment is held for moderation: keeps you aware of comments waiting for approval.
If notifications are not arriving, the problem is usually WordPress email delivery rather than these settings. Our guide to fixing WordPress email with SMTP explains how to solve it.
Before a comment appears
Comment must be manually approved
Every comment waits for you to approve it. This gives you complete control and is a good choice for business sites, where an off-topic or spammy comment reflects on your brand.
Comment author must have a previously approved comment
A middle ground: a person's first comment is held, and once approved, their later comments appear automatically. This works well for active blogs with regular readers.
Comment moderation
Hold a comment in the queue if it contains X or more links
Spam comments almost always include links. The default holds comments with two or more links. Lowering it to one catches even more spam while letting normal conversation through.
Moderation keywords
Any comment containing a word, email address, IP address or URL fragment listed in this box goes to the moderation queue. Enter one item per line. Be careful with short words, because WordPress matches them inside longer words too.
Disallowed comment keys
This box works like the moderation list, but matching comments go straight to the trash instead of the queue. Use it for terms that only ever appear in spam. Because matches are silently trashed, avoid broad terms that could catch genuine comments.
Avatars
The final section controls the small profile images next to comments. You can turn avatars off, set a maximum rating and choose a default image for people without a Gravatar account. Avatars are loaded from an external service, so turning them off can slightly speed up pages with many comments.
Changing comments on individual posts
To turn comments on or off for one post or page:
- Open it in the editor.
- In the settings sidebar, find the Discussion panel (in some versions it appears under the post's status options).
- Check or uncheck Allow comments, and optionally pingbacks and trackbacks.
- Update the post.
To change many posts at once, go to Posts → All Posts, select them, choose Edit from the Bulk actions menu, click Apply and set Comments to Allow or Do not allow.
How to turn off comments completely
Unchecking "Allow people to submit comments on new posts" does not affect existing posts, and your theme may still show old comments. For a complete shutdown:
- Bulk-edit existing posts and pages to Do not allow comments
- Set comments to close automatically after 1 day as a safety net
- Or use a lightweight plugin like Disable Comments, which removes comment features site-wide, including from the dashboard
If you are using a block theme, you can also remove the Comments block from your post template in the Site Editor.
Recommended settings for most sites
Business or brochure site: comments off, pingbacks off.
Active blog: comments on, pingbacks off, name and email required, auto-close after 60 to 90 days, previously approved author required, hold comments with one or more links, and an anti-spam plugin such as Akismet or an alternative you trust.
Community or membership site: comments on, users must be registered and logged in, threaded comments enabled.
Wrap-up
The WordPress comment settings on the Discussion screen control who can comment, what gets held for review and how much spam reaches you. Turn off pingbacks, close comments on older posts, hold first-time commenters and link-heavy comments for moderation, and use bulk edit or a plugin if you want comments gone entirely. Ten minutes on this screen saves hours of cleaning up later.