=== DupeGuard - Find and Block Duplicate Posts ===
Contributors: quintaphon
Tags: duplicate posts, duplicate content, duplicate tags, categories, cleanup
Requires at least: 5.8
Tested up to: 7.1
Requires PHP: 7.2
Stable tag: 1.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Find duplicate posts, tags and categories, and posts in several categories. Stops new duplicate posts from being published.

== Description ==

DupeGuard keeps a site to one post per title.

* **Duplicate posts.** Lists every group of posts with the same title, per post type. Trash single copies, keep one and trash the rest, or mark a group as not a duplicate.
* **Duplicate tags and categories.** Lists terms with the same name in one taxonomy and merges them into the one you keep. Posts move over and child categories move under the kept term.
* **Posts in several categories.** Lists posts filed in two or more categories, with a one-click "Keep only" per category. A category together with its own child counts as one by default.
* **Warning while writing.** The block editor and the classic editor show a notice as soon as the title matches another post, with links to it.
* **No new duplicates.** A post can not be published while a published, scheduled or private post has the same title. Old duplicates can still be edited.

Titles can be compared loosely (case, accents, punctuation and symbols ignored) or exactly (only case and extra spaces ignored).

== Installation ==

1. In WordPress go to Plugins > Add New Plugin and search for DupeGuard, or upload the `dupeguard` folder to `wp-content/plugins/`.
2. Activate the plugin.
3. Open Duplicates in the admin menu. The Overview shows what was found; Settings sets what to check and what to block.

== Frequently Asked Questions ==

= What happens when someone tries to publish a duplicate? =

The block editor shows an error and the post stays unpublished. The classic editor, Quick Edit and imports save the post as a draft and show a notice. A published post that is renamed to a title already in use keeps its old title.

= Can administrators still publish a duplicate? =

Turn on "Administrators may publish duplicates anyway" under Settings, or mark the title as not a duplicate.

= Does merging terms keep their links? =

The archive link of each deleted term stops working. Add redirects if those pages are indexed.

== Screenshots ==

1. Overview: duplicate posts, tags and categories at a glance.
2. Duplicate posts grouped by title, with Trash, Keep one and Not a duplicate.
3. Duplicate tags and categories, merged into the one you keep.
4. Posts filed in more than one category, with Keep only per category.
5. The warning in the block editor when a title is already used.
6. Settings: how titles are compared and what to block.

== Changelog ==

= 1.1.0 =
* New name: DupeGuard (it was Duplicate Post Finder). Settings and the not-a-duplicate list carry over.
* The plugin is now ready for translation.

= 1.0.2 =
* The plugin is now licensed under the GNU General Public License, version 2 or later, ready for the WordPress.org plugin directory.

= 1.0.1 =
* The sidebar links to the plugin site on quintaphon.com.

= 1.0.0 =
* First release.
