Avoid Duplicate Titles

Description

By default this plug detects duplicate titles across all public post types. This includes galleries and custom posts that you may have created.
Posts with duplicate titles to existing published posts are prevented from publication and instead are saved as draft.
There is a settings page which allows these default behaviors to be changed:

  1. Uniqueness can be detected across all post types or only for the type of post being created.
  2. Posts with duplicate titles can be notified but still be published.

Screenshots

  • screenshot-1.png showing Settings page
  • Screenshot-2.png Showing duplicate title warning
  • Screenshot-3.png Showing publish rejection notice.

Installation

Option 1.

  1. From the Admin>>Plugins>>Add New page, search for Avoid Duplicate Titles.
  2. When you have located the plugin, click on “Install” and then “Activate”.
  3. Visit the Admin>>Tools>>Avoid Duplicate Titles page to review and choose your preferred setup.

With the zip file:

Option 2
1. Upzip the plugin into it’s directory/file structure
2. Upload Avoid Duplicate Titles structure to the /wp-content/plugins/ directory.
3. Activate the plugin through the Admin>>Plugins menu.
4. Go to Admin>>Tools>>Avoid Duplicate Titles to configure the plugin.

Option 3

  1. Go to Admin>>Plugins>>Add New>>Upload page.
  2. Select the zip file and choose upload.
  3. Activate the plugin.
  4. Go to Admin>>Tools>>Avoid Duplicate Titles to configure the plugin.

FAQ

Q. Does this plugin support Custom Post-Types?

A. Yes, this plugin supports custom post types that are edited in the back end. The custom post must use the WP $title for it’s title as it is this that is checked.

Q. Can I check for duplicate titles across all post types?

A. Yes, this is what Avoid Duplicate Titles was designed to do, it will check for duplication of post titles across also public post types loaded on your WP install.

Q. Can I check for duplicates within individual post types?

A. Yes, there is an option to check only the same post types for duplicates.

Q. Can I prevent duplicate posts from being published?

A. Yes, Avoid Duplicate Titles will not allow posts with duplicate titles to be published, they are saved as draft until changed.

Q. Can I choose to allow posts with duplicate titles to be published?

A. Yes, you can set it to warning only mode, where a warning is given prior to post publication but publication will not be prevented.

Q. Where are the settings?

A. The settings are in the Admin>>Tools menu in the back-end, it can only be accessed by Administrators.

Q. What are the default settings?

A. Out of the box Avoid Duplicate Titles will check for duplicates across all public post types and prevents them from being saved.

Q. What about front-end editors?

A. This plugin does not support front-end post editors at this time. The publish operation will trigger it’s checks but it will be unable to output it’s messages and so will cause errors.

Q. Wat about if I’m using a front end posting solution but still want to use this in the backend?

A. In the first instance if you turn off enforcement of uniqueness is settings then you can have unenforced announcements in the backend. I’m considering how best to work with front end posting software so if you post the system you are using to the forum then I can take a look at it as see if it’s possible to create a smoother experience. However there are a great many front end posting solutions so I may not be able to cater for every requirement.

Q. Does this plugin support BuddyPress Docs?

A. Yes in so much as front end bp_doc post types have been excluded from the tests, so will not cause an error. back end duplicate title warnings are enabled.

Q. What about testing for duplicate categories?

A. I’m considering this, however categories work differently to posts and that may require a separate plugin.

Q. Can you disable checking for Custom Post-Types?

A. No, if you are only using standard posts then you should look at Duplicate Title Validate.

Installation Instructions

Option 1.

  1. From the Admin>>Plugins>>Add New page, search for Avoid Duplicate Titles.
  2. When you have located the plugin, click on “Install” and then “Activate”.
  3. Visit the Admin>>Tools>>Avoid Duplicate Titles page to review and choose your preferred setup.

With the zip file:

Option 2
1. Upzip the plugin into it’s directory/file structure
2. Upload Avoid Duplicate Titles structure to the /wp-content/plugins/ directory.
3. Activate the plugin through the Admin>>Plugins menu.
4. Go to Admin>>Tools>>Avoid Duplicate Titles to configure the plugin.

Option 3

  1. Go to Admin>>Plugins>>Add New>>Upload page.
  2. Select the zip file and choose upload.
  3. Activate the plugin.
  4. Go to Admin>>Tools>>Avoid Duplicate Titles to configure the plugin.
Translators

Contributors & Developers

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

Changelog

1.0.4

Revised option names for uniqueness.

1.0.3

Updated code with correct escape sequences and sanitization

1.0.2

Added support for BuddyPress Docs (bp_doc) with limitations – front end posts are not validated, back end posts only get the warning.
Added settings saved confirmation.

1.0.1

  • Added uninstall.php.

1.0.0

  • Initial release.