Home » Categories » Managed WordPress » Content and Settings

Disable comments on old posts in WordPress

You can prevent users from commenting on old WordPress pages and posts as a way to help prevent comment spam.

  1. Log in to WordPress.
  2. Go to Settings > Discussion
  3. Locate the Other comment settings section
  4. Check the box next to the line stating, "Automatically close comments on articles older than XX days"
  5. On the same line, change the Day setting to the number you prefer
  6. Scroll to the bottom of the page, and click Save Changes.
  7. After making the above changes, users will not be able to comment on any pages or posts after the number of days you specified.
0 (0)
Article Rating (No Votes)
Rate this article
  • Icon PDFExport to PDF
Related Articles
Change comment approval settings in WordPress
Added on Mon, Nov 16, 2020
Change which comments require moderation in WordPress
Added on Mon, Nov 16, 2020
Change who can comment in WordPress
Added on Mon, Nov 16, 2020
Disable comments in WordPress
Added on Mon, Nov 16, 2020
Setup a comment blacklist in WordPress
Added on Mon, Nov 16, 2020