Close Comments After X Amount Of Days

One thing I recently implemented on my WordPress blog is to close comments on posts older than 30 days. After 24 hours, I noticed my spam comments has dropped dramatically to zero. That’s a good thing.

To close comments on posts after x amount of days, all you have to do is access your WordPress Dashboard > Settings > Discussion page. Look for the option saying “automatically close comments older than  x days.” Here’s a snapshot of the page.


Just check it to turn on the feature. Supply the number of days that you want the comments to be turned on. Comments will be turned off on posts older than x number of days that you’ve provided. Simple enough. This is just another tool to help lower your blog’s spam comments. It certainly did on my blog.

3 thoughts on “Close Comments After X Amount Of Days

  1. Thanks for the tip. Do you know how unapproved or pending comments affect a site? Such comments will remain unseen by Google, correct?

  2. That is a good thing for your case but let`s say for example a tech blog it would not be a good solution because it would not get the people reactions about the gadget that is discussed in the article. Let`s say i post an article about a new phone and the reactions will come in the next months.

Comments are closed.