Plugin info

Total downloads: 9,464
Active installs: 200
Total reviews: 11
Average rating: 5
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 3
Last updated: 5/9/2015 (3889 days ago)
Added to WordPress: 5/9/2015 (10 years old)
Minimum WordPress version: 3.5
Tested up to WordPress version: 4.2.39
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 3889 days ago • 11 reviews

24/100

Is Cleanup Duplicate Meta abandoned?

Possibly abandoned (last update 3889 days ago).

Compatibility

Requires WordPress: 3.5
Tested up to: 4.2.39
Requires PHP: f

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

No similar plugins found yet.

Description

There are times when your database gets filled up with duplicate entries that you may not want. Cleanup Duplicate Meta allows you to check for any duplicates in either the Post Meta or User Meta tables. Then if you want to get rid of them, simply click on the Cleanup button and Cleanup Duplicate Meta deletes the duplicates leaving either the first or last meta (you select which).

The interface is simple and easy to use:

  1. ‘Check for Duplicates’ queries the database and then displays all the duplicates found.
  2. ‘Count Duplicates’ counts all the duplicates found in the database (i.e. a total count).
  3. The ‘Cleanup’ buttons trigger a SQL query to run, which deletes each of the duplicate entries, leaving either the first or last one (per your selection) in the database. All non-duplicates remain untouched by the plugin.

See the screenshots tab for more details.

Installation

From your WordPress dashboard

  1. Visit ‘Plugins > Add New’
  2. Search for ‘Cleanup Duplicate Meta’
  3. Activate Cleanup Duplicate Meta from your Plugins page.

Once Activated

  1. Go to ‘Tools > Cleanup Duplicates’
  2. Click on the ‘Check for Duplicates’ button for either Post or User Meta.
  3. If there are duplicates, you can then click on ‘Cleanup Post Meta’ or ‘Cleanup User Meta’ button.

Frequently Asked Questions

How do I check how many duplicates are in either the Post Meta or User Meta table?

Simply click on the ‘Check for Duplicates’ button and the plugin will report the count back to you on the screen.

See the screenshot 2 for an example.

How do I know whether to leave the first or last one?

If you know which one you want, then select either the first or last one. Otherwise, leave it at the default.

Should I backup my database first?

Yes. Before you run Cleanup, you should backup your database.

Will this work on WordPress multisite?

Yes!

What happens to non-duplicates when I run Cleanup?

Nothing. Cleanup Duplicate Meta does not touch non-duplicates. Therefore you’re data remains intact.

Review feed

Evan Herman
9/3/2016

Great Plugin

I was just about to write up my own plugin as a soltuion to clearing duplicates when I can across this plugin. Cleanup Duplicate Meta is an awesome plugin that just saved me a good deal of time. Within a few minutes of installing the plugin I had successfully purged around 3,200 duplicate entries from a clients database (after taking a backup ;]). Thanks for putting this plugin up in the repo for others to take advantage of! Evan
Jackie D'Elia
9/3/2016

Easy to Use and Helpful

This plugin is perfect when working with a client database that has not been maintained properly. Goodbye duplicates. Thank you!
Michael Ott
9/25/2020

Works perfect

Cleaned up nearly 70,000 redundant _postmeta records with just a couple of clicks. Top marks.

Screenshots

  1. The plugin's page in Tools > 'Cleanup Duplicates'.

    The plugin's page in Tools > 'Cleanup Duplicates'.

  2. Screen for both the Post Meta and User Meta controls.

    Screen for both the Post Meta and User Meta controls.

  3. An example of the table generated when clicking on 'Check for Duplicates' button.  The results are sorted by meta key.

    An example of the table generated when clicking on 'Check for Duplicates' button. The results are sorted by meta key.

  4. After clicking on the 'Count Duplicates' button, notification is displayed of the number of duplicates found (which could be deleted).

    After clicking on the 'Count Duplicates' button, notification is displayed of the number of duplicates found (which could be deleted).

  5. The message after clicking on 'Cleanup Post Meta'.

    The message after clicking on 'Cleanup Post Meta'.

Changelog

Version 1.0.2

  • Added in missing files to repo

Version 1.0.1

  • First release