Title: Duplicate posts when using a custom permastructure
Last modified: May 20, 2020

---

# Duplicate posts when using a custom permastructure

 *  Resolved [antoine83990](https://wordpress.org/support/users/antoine83990/)
 * (@antoine83990)
 * [6 years ago](https://wordpress.org/support/topic/duplicate-posts-when-using-a-custom-permastructure/)
 * Hi,
 * We tried using your plugin to use custom Permastructure and translate slugs from
   EN to FR, for example :
 * EN: /car/XXX
    FR: /voiture/XXX
 * We are using WPML for translations and ACF for custom posts.
 * We encountered a big issue, and we had to clean everything, disable all Permalink
   Manager Lite settings, and deactivate the plugin. Now the problem is solved, 
   but we can’t use custom permastructure anymore.
 * Here what happened:
 * When creating a custom post and translate it, it makes duplicates entries with
   the same URL but a different ID. Sometimes by adding only one custom post, we
   had 1 FR and 3 EN versions.
 * That was very problematic because those duplicate entries are displayed in the
   search results, and it clutters up the database.
 * We knew there was an issue because the number of “Total post” was different than“
   FR posts” + “EN posts”. For example, WordPress said we had 70 cars but in fact,
   there were only 25 cars in FR language and 25 cars in EN language. Total should
   be 50.
 * We would enjoy finding a solution for it as we really want to use custom Permastructure…
 * Thank you in advance for your help.
 * Kind regards,
    Antoine

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

 *  Plugin Author [Maciej Bis](https://wordpress.org/support/users/mbis/)
 * (@mbis)
 * [6 years ago](https://wordpress.org/support/topic/duplicate-posts-when-using-a-custom-permastructure/#post-12866529)
 * Hi Antoine,
 * That is really strange because my plugin does not contain any function that would
   be able to create a new post.
 * Nevertheless, whatever it caused – my plugin should not set-up custom permalinks
   for duplicated posts.
 * Are the posts duplicated only when my plugin is activated? Could you send me 
   a list of all active plugins to my email: contact /at/ maciejbis.net?
 * I apologize for the inconvenience!
 * Best regards,
    Maciej
 *  Thread Starter [antoine83990](https://wordpress.org/support/users/antoine83990/)
 * (@antoine83990)
 * [6 years ago](https://wordpress.org/support/topic/duplicate-posts-when-using-a-custom-permastructure/#post-12868127)
 * Hi Maciej,
 * Thank you for your reply.
 * I think it is a multi-level issue and WPML is also playing a part here.
 * We made several tests, and the issue is only appearing when a custom Permastructure
   is set. When restoring all settings, everything is going normal.
 * Those duplicate posts are not visible in the WordPress back office, and we have
   to go in your URL Editor to find them and delete them.
 * I sent you the list of plugins used.
 * Kind regards,
    Antoine
 *  Plugin Author [Maciej Bis](https://wordpress.org/support/users/mbis/)
 * (@mbis)
 * [6 years ago](https://wordpress.org/support/topic/duplicate-posts-when-using-a-custom-permastructure/#post-12874666)
 * To whom it may concern:
 * With a help from Antoine, I managed to localize the issue.
 * The problem occurred when WPML’s Advanced Translation Editor is used. The hotfix
   will be added to the next version of plugin after additional tests are made.
 * Best regards,
    Maciej

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

The topic ‘Duplicate posts when using a custom permastructure’ is closed to new 
replies.

 * ![](https://ps.w.org/permalink-manager/assets/icon.svg?rev=2625166)
 * [Permalink Manager Lite](https://wordpress.org/plugins/permalink-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/permalink-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/permalink-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/permalink-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/permalink-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/permalink-manager/reviews/)

## Tags

 * [duplicated](https://wordpress.org/support/topic-tag/duplicated/)
 * [url](https://wordpress.org/support/topic-tag/url/)

 * 3 replies
 * 2 participants
 * Last reply from: [Maciej Bis](https://wordpress.org/support/users/mbis/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/duplicate-posts-when-using-a-custom-permastructure/#post-12874666)
 * Status: resolved