WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: WP-o-Matic] Duplicate Post (4 posts)

  1. shally87
    Member
    Posted 5 years ago #

    How to prevent duplicate post?
    I've run cron every 20 minutes then i end up getting duplicate post from some campaign. This means for 2 hours i can get 6 same post posted on my blog. Is there a solution for this?
    Now my simple solution just to run it every 6 hours.
    Anyone can help or any other plugins to avoid duplicate post?

    http://wordpress.org/extend/plugins/wp-o-matic/

  2. Iftekhar Ahmed Amit
    Member
    Posted 5 years ago #

    This following solution will fix your problem:

    1. Open up wp-includes/post.php in your favorite editor
    2. Find the following line :
    if ($post_name_check || in_array($post_name, $wp_rewrite->feeds) ) {
    3. After this insert a new line of code :
    return 0;
    4. save (you did make a backup, right?).
    5. All done.

  3. csawp
    Member
    Posted 5 years ago #

    Will this work for version 2.2.1?

  4. bekar09
    Member
    Posted 5 years ago #

    so will this top posting duplicate posts? i think this is very useful. please suggest.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags