Delete Duplicate Posts


This plugin searches and removes duplicate posts and their meta data. You can change in the settings how many at a time and if the plugin should run automatically every hour.

You can delete posts, pages and other Custom Post Types enabled on your website.

The plugin deletes not only the post, but post meta and other references to the post, cleaning up space in your WordPress website.

Read more on the plugin page.


  • Duplicate posts were found
  • Details in the log


  1. Upload the delete-duplicate-posts folder to the /wp-content/plugins/ directory
  2. Activate the Delete Duplicate Posts plugin through the \’Plugins\’ menu in WordPress
  3. Use the plugin by going to Tools -> Delete Duplicate Posts


Installation Instructions
  1. Upload the delete-duplicate-posts folder to the /wp-content/plugins/ directory
  2. Activate the Delete Duplicate Posts plugin through the \’Plugins\’ menu in WordPress
  3. Use the plugin by going to Tools -> Delete Duplicate Posts
Should I take a backup before using this tool?

Yes! You should always take a backup before deleting posts or pages on your website.

What happens if it deletes something I do not want to delete?

You should restore the backup you took of your website before you ran this tool.


Not off to a good start

As soon as I activated this plugin, it took me to the settings page where a list of errors displayed from the plugin itself (before I did anything with the plugin at all):

Notice: Undefined index: ddp_enabled in /Applications/MAMP/htdocs/my-site/wordpress/wp-content/plugins/delete-duplicate-posts/delete-duplicate-posts.php on line 456

Notice: Undefined index: ddp_pts in /Applications/MAMP/htdocs/my-site/wordpress/wp-content/plugins/delete-duplicate-posts/delete-duplicate-posts.php on line 471

Notice: Undefined index: ddp_keep in /Applications/MAMP/htdocs/my-site/wordpress/wp-content/plugins/delete-duplicate-posts/delete-duplicate-posts.php on line 484

Notice: Undefined variable: query in /Applications/MAMP/htdocs/my-site/wordpress/wp-content/plugins/delete-duplicate-posts/delete-duplicate-posts.php on line 516

Yeah, that’s not good. Deleting the plugin now.

Deleted My Menu

Seemed to work great until I realized it decided to ignore the Custom Post Type I selected and deleted my main menu. I’m afraid to look at what else was deleted. Find another plugin, this one lost my confidence.

Version 4 rebuilt

The new version 4 of Delete Duplicate Posts was rewritten to fix many bugs and introduce new features such as deletion of other post types than just posts.

Read all 9 reviews

Contributors & Developers

“Delete Duplicate Posts” is open source software. The following people have contributed to this plugin.




  • Fixed PHP Notification – Logs were not automatically cleaned.


  • Fixed missing icon
  • Listed freemius as contributer


  • Fixing PHP Warning if no post types selected


  • Fixed a mistake in Freemius configuration :-/


  • Added language .pot file
  • Improved Danish translation
  • Added Fremius for more usage details – Opt-in


  • Fix PHP notices
  • Clean up code comments
  • Logo now in Retina


  • Fixes which kinds of posts that can be cleaned- Thanks Mark –
  • Option up from max 250 posts to 500 – Thanks Mark.
  • Improved visual style in the table listing.


  • Fixes problem with cron job not working properly.
  • New: Choose interval for automated cron job to run.
  • Adds 3 cron interval 10 min, 15 min and 30 minutes to WordPress.
  • Minor PHP Notice fix.
  • Code cleaning up


  • Added log notes for cron jobs and manual cleaning.
  • Added missing screenshots, banners and icons.


  • Big rewrite, long overdue, many bugs fixed
  • NEW: Choose between post types.
  • Optional cron job now runs every hour, not every half hour.
  • The log was broken, it has now been fixed.
  • Removed unused and old code.
  • Improved plugin layout.


  • Fix for deleting any dupes but posts – ie. not menu items :-/
  • Fix for PHP warnings.
  • Fix for old user capabilities code.


  • Code refactoring and updates – Basically rewrote most of the plugin.
  • Removed link in footer.
  • Removed dashboard widget.
  • Internationalization – Now plugin can be translated
  • Danish language file added.


  • Bugfixes


  • Bugfix: Problem with the link-donation logic. Hereby fixed.


  • Bugfix: Could not access the settings page from the Plugins page.
  • Ads are no longer optional. Sorry about that 🙂
  • Changes to the amount of duplicates you can delete using CRON.


  • Bugfix : A minor speed improvement.


  • Bugfix : Minor logic error fixed.


  • Bugfix : Now actually deletes duplicate posts when clicking the button manually.. Doh…


  • Design interface updated
  • New automatic CRON feature as per many user requests
  • Optional: E-mail notifications


  • Fixes problem with dashboard widget. Thanks to Derek for pinpointing the error.


  • Ensures all post meta for the deleted blogposts are also removed…


  • Uses internal delete function, which also cleans up leftover meta-data. Takes a lot more time to complete however and might time out on some hosts.


  • First release