Auto-Close Comments, Pingbacks and Trackbacks


Spammers target old posts in a hope that you won’t notice the comments on them. Why not stop them in their tracks by just shutting off comments and pingbacks? Auto-Close Comments, Pingbacks and Trackbacks let’s you automatically close comments, pingbacks and trackbacks on your posts, pages and custom post types.

You can also choose to keep comments / pingbacks / trackbacks open on certain posts, page or custom post types. Just enter a comma-separated list of post IDs in the Settings page.

An extra feature is the ability to delete post revisions that were introduced in WordPress v2.6 onwards.

Key features

  • Close comments: Automatically close comments on posts, pages, attachments and even Custom Post Types!
  • Close pingbacks and trackbacks: Automatically close pingbacks and trackbacks as well
  • Choose how old: Choose a custom time period as to when the comments, pingbacks and trackbacks need to be closed
  • Scheduling: You can also schedule a cron job to automatically close comments, pingbacks and trackbacks daily
  • Bonus: Delete post revisions, pingbacks and trackbacks


  • Autoclose Settings - General
  • Autoclose Settings - Comments
  • Autoclose Settings - Pingbacks/Trackbacks
  • Autoclose Tools


WordPress install

  1. Navigate to Plugins within your WordPress Admin Area

  2. Click “Add new” and in the search box enter “autoclose”

  3. Find the plugin in the list (usually the first result) and click “Install Now”

Manual install

  1. Download the plugin

  2. Extract the contents of to wp-content/plugins/ folder. You should get a folder called autoclose.

  3. Activate the Plugin in WP-Admin.

  4. Goto Settings » Auto-Close to configure


If your question isn’t listed there, please create a new post at the support forum. It is the fastest way to get support as I monitor the forums regularly. I also provide premium paid support via email.

What does “Delete Post Revisions” do?

The WordPress revisions system stores a record of each saved draft or published update. This can gather up a lot of overhead in the long run. Use this option to delete old post revisions.

If you enable this option and turn on the cron job then any new revisions will be automatically deleted on a daily basis.

Contributors & Developers

“Auto-Close Comments, Pingbacks and Trackbacks” is open source software. The following people have contributed to this plugin.




Release post:

  • Features:

    • New Tools page with several buttons to open, close and delete comments, pingbacks and trackbacks. You can find the link in the Settings page under the main header
    • New button to delete all pingbacks and trackbacks in the Tools page
    • Activating the plugin on Multisite should upgrade settings from v1.x
    • Uninstalling the plugin on Multisite will delete the settings from all sites
  • Enhancements:

    • Migrated options to the Settings API
  • Modifications:

    • Main plugin file has been renamed to autoclose.php
    • Cron hook renamed from ald_acc_hook to acc_cron_hook

For older changes, refer to changelog.txt