Support » Requests and Feedback » Is there a plugin to warn authors about duplicate posts?

  • On my blog, I post articles that have a unique code for each entry. So its possible to check with the code to see if an entry already exists before making a new one. My problem is I am not a programmer and am wondering if there is already a plugin to handle anything like this. Basically, the plugin works thus:

    1. Author loads text editor. A small entry field loads also.
    2. Author enters a unique code (eg XF2929-xyzxyz-ufg) into the small entry field.
    3. WordPress checks the database to see if this code already exist
    4. If it does, author is told, that an entry has already been made.
    5. If not, author goes ahead to make entry.

    Am wondering if a plugin already exists like this. If not, how do i go about handling this issue. Thanks in advance 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Ipstenu (Mika Epstein)


    Lead Plugin Wrangler

    I’m not sure how that would help you, since the unique code could easily be changed at whim.

    Right now there isn’t a way of preventing it, and I’m not really confident that there ever can be, except with a detailed recursive check of the content of every post made against every post already made. Overhead would be nutso.

    My codes for each post is unique and there is need not to duplicate an entry. I was just wondering if there is a way to check through already made post (in the code field) to ensure the entry does not exist forst b4 making a new one.

    Basically, a custom field will be created into which this unique code will be made. The field should immediately check the database for duplicates. If non exists, then the author can go ahead to make his post.

    Will be thankfull for any help or ideas.

    Moderator Ipstenu (Mika Epstein)


    Lead Plugin Wrangler

    I guess I don’t understand how you’ll manage that code but hey, you seem to think you can. Once you figure out that, then it’s ‘easy.’

    Any custom fields in a post are stored in the SQL database. You’d basically want to check in the SQL DB in the table wp_postmeta for any instance of a meta_value with that unique code, when the meta_key equals your custom field name.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Is there a plugin to warn authors about duplicate posts?’ is closed to new replies.