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/XXXWe 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
The topic ‘Duplicate posts when using a custom permastructure’ is closed to new replies.