Title: Duplicate posts
Last modified: August 20, 2016

---

# Duplicate posts

 *  [Bage](https://wordpress.org/support/users/bagerathan/)
 * (@bagerathan)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/duplicate-posts-16/)
 * Does this updated version fixes the duplicate post issue? I still have that problem.
 * Thanks,
    Bage.
 * [http://wordpress.org/extend/plugins/feedwordpress/](http://wordpress.org/extend/plugins/feedwordpress/)

Viewing 14 replies - 1 through 14 (of 14 total)

 *  [noppresed](https://wordpress.org/support/users/noppresed/)
 * (@noppresed)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/duplicate-posts-16/#post-3345825)
 * Now I’m taking a crack at it and found many duplicate post.
    I tried to unite
   feeds by using Google Reader and fetch GR’s feed. But I got the same result.
 *  [epawel](https://wordpress.org/support/users/epawel/)
 * (@epawel)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/duplicate-posts-16/#post-3345867)
 * I also have problem with many duplicate posts
 *  [dmsspb](https://wordpress.org/support/users/dmsspb/)
 * (@dmsspb)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/duplicate-posts-16/#post-3345872)
 * many-many duplicated posts… Some identical posts has a different hash, some identical
   posts has identical hash, but still duplicated (multiple times).
    FWP 2012.1218
   Wordpress 3.5.1 (doesn’t matter, because 3.5 has the problem too) FWP+: Strip
   HTML Tags from Posts 2010.1105 Ada FeedWordPress Keyword Filters 2012.0521 transposh
   0.9.1 (I use custom field in posts tp_language for transposh) auto tag
 * With previous version of transposh, I didn’t see duplicated posts. May problem
   be in the transposh? (But on localhost no duplicated posts presented)
 * Duplicate Posts Remover can’t find duplicated posts.
 * Settings:
    auto update 60 min one feed -> one category feed can use tags tags
   sets automatically by auto tag plugin stip html tags(through additional plugin
   STRIP HTML) filter showing posts (trough additional plugin ADA)
 * PS turn off the Auto Tag plugin. Seeing…
 *  [arterynyc](https://wordpress.org/support/users/arterynyc/)
 * (@arterynyc)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/duplicate-posts-16/#post-3345873)
 * Same Problem here. It’s creating way to many duplicate posts and it’s crashing
   the server.
 *  [dmsspb](https://wordpress.org/support/users/dmsspb/)
 * (@dmsspb)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/duplicate-posts-16/#post-3345875)
 * FWP localhost-located has no such problem. (But FWP on localhost has 3 feeds,
   no more).
 *  [atrus1701](https://wordpress.org/support/users/atrus1701/)
 * (@atrus1701)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/duplicate-posts-16/#post-3345878)
 * I have also been experiencing this with my install of WordPress. I’ve found two
   workarounds to the problem. Each of these workaround were tested for a couple
   of days each and I never experienced another duplicate posts.
 * —–
 * The first workaround has to do with the guid that is generated and stored along
   with the post. I found that all of my duplicate posts had only one difference:
   their guid in the posts table were slightly different. For example:
 *     ```
       http://www.testsite.com/example/?guid=<guid-hash>
       https://www.testsite.com/example/?guid=<guid-hash>
       http://example.testsite.com/?guid=<guid-hash>
       https://example.testsite.com/?guid=<guid-hash>
       ```
   
 * In syndicatedpost.class.php:
    Line 778, change to:
 *     ```
       return trailingslashit(get_option('siteurl')).'?guid=';
       ```
   
 * I’m using the Domain Mapping plugin ([http://premium.wpmudev.org/project/domain-mapping/](http://premium.wpmudev.org/project/domain-mapping/)),
   so I had to also add the following.
 * In feedwordpress.php, add:
    Line 1003 at the beginning of function update, add:
 *     ```
       remove_all_filters('pre_option_siteurl');
       remove_all_filters('pre_option_home');
       ```
   
 * With this workaround, I have noticed in my log file, that feedwordpress repeatedly
   tries to insert the post, but its never duplicated.
 * —–
 * The second workaround, I tried storing the original guid from the rss feed for
   each post and checked for that guid before inserting any post.
 * In sydicatedpost.class.php:
    Line 262, add:
 *     ```
       $this->post['meta']['guid'] = $this->post['guid'];
       ```
   
 * Line 1267, change:
 *     ```
       $q = new WP_Query( array(
           'ignore_sticky_posts' => true,
           'meta_key' => 'guid',
           'meta_value' => $guid
       ));
       ```
   
 * —–
 * I’m thinking for my install, I will do a combination of both workarounds, so 
   I have a consistent guid in my posts table, plus feedwordpress won’t constantly
   be trying to insert already existing posts.
 * If you have a chance to test these, please let me know if these solutions work
   for you or not.
 * Good Luck!
 *  [Morgan Kay](https://wordpress.org/support/users/gwendydd/)
 * (@gwendydd)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/duplicate-posts-16/#post-3345893)
 * Thanks, Atrus! I’ve tried this – I’ll let you know in a day or two if it has 
   helped.
 * One correction, though – I believe that instead of line 262, you meant line 1262.
 *  Thread Starter [Bage](https://wordpress.org/support/users/bagerathan/)
 * (@bagerathan)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/duplicate-posts-16/#post-3345901)
 * I have added both workarounds. Will update here on the outcomes later.
 *  [Virendra](https://wordpress.org/support/users/virendrachandak/)
 * (@virendrachandak)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/duplicate-posts-16/#post-3345905)
 * I have added both the workarounds. Hopefully now my duplicate posts issue is 
   resolved.
 *  [Virendra](https://wordpress.org/support/users/virendrachandak/)
 * (@virendrachandak)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/duplicate-posts-16/#post-3345907)
 * I have added both the workarounds, but it seems I am still getting duplicate 
   posts. Will try to debug and post if I have any updates.
 *  [arterynyc](https://wordpress.org/support/users/arterynyc/)
 * (@arterynyc)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/duplicate-posts-16/#post-3345908)
 * Those fixes actually made my problem worse. I have noticed that publishing immediately
   is much better than having it save a draft. I have been able to successfully 
   maintain 7 feeds through feedwordpress.
 *  [dEM0nsTAr](https://wordpress.org/support/users/dem0nstar/)
 * (@dem0nstar)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/duplicate-posts-16/#post-3345910)
 * Is there a better fix for this available already?
 *  Thread Starter [Bage](https://wordpress.org/support/users/bagerathan/)
 * (@bagerathan)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/duplicate-posts-16/#post-3345911)
 * so far, there is no fix for this duplication post.
 *  [dEM0nsTAr](https://wordpress.org/support/users/dem0nstar/)
 * (@dem0nstar)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/duplicate-posts-16/#post-3345912)
 * Okay, then I hope it gets resolved with the next update

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘Duplicate posts’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/feedwordpress_a6a79a.svg)
 * [FeedWordPress](https://wordpress.org/plugins/feedwordpress/)
 * [Support Threads](https://wordpress.org/support/plugin/feedwordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/feedwordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/feedwordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/feedwordpress/reviews/)

 * 14 replies
 * 9 participants
 * Last reply from: [dEM0nsTAr](https://wordpress.org/support/users/dem0nstar/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/duplicate-posts-16/#post-3345912)
 * Status: not resolved