New WordPress Plugin Prevents Duplicate Titles From Being Published

By default, if a post or page uses a title that’s already been used, WordPress appends a -2 to the end of the slug to prevent conflicts. Not only do duplicate titles cause conflicts, they’re not good for SEO. Developed by wallfa_hm, the Duplicate Title Validation plugin checks the title and displays a notice if it’s considered a duplicate.

Duplicate Title Detected
Duplicate Title Detected

I tried to publish a post with a duplicate title but the plugin prevented it from being published and saved it as a draft instead. This is a nice touch and forces the writer to use a unique title.

Duplicate Post Saved as a Draft
Duplicate Post Saved as a Draft

It’s not difficult to determine what the plugin is doing but the notices could be improved so they’re easier to understand. If you publish a lot of content, this plugin is an easy way to make sure each post or page has a unique title.

Would you like to write for WP Tavern? We are always accepting guest posts from the community and are looking for new contributors. Get in touch with us and let's discuss your ideas.

6 Comments


  1. Wow great plugin. I think this feature should be in the WP core. Joomla doesn’t allow duplicate title by default.

    Report


    1. Hi Joseph,

      WordPress doesn’t allow duplicate slugs which is the most important thing. There are valid use cases for duplicate titles. For example I run a job website. There must be several hundred posts titled “English Teacher in Beijing”. They are all unique with their own URL, so that’s fine. If everyone had had to make the title unique, it would be hard for the users submitting the jobs..

      Report


      1. You said it best brother! I don’t get what’s the big deal with duplicate titles. I have an entertainment blog, so many of my posts have titles such ‘Top Memes of the Week’ etc.

        Report


    1. Thanks for bringing this to my attention. I’ll try and contact the author and point him to this conversation and see what I can do to get them to add the necessary attribution.

      Report


  2. CMS Tree Page View – Version 1.2.30 by Pär Thernström – has this function built in. This plugin works well in wp4.0

    Report

Comments are closed.