Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Localized posts with different languages have a number added to their permalink if the title is the same. #18

Open
ironland opened this issue Apr 24, 2019 · 0 comments

Comments

@ironland
Copy link

ironland commented Apr 24, 2019

When localized versions of posts with the same title are created with Polylang manually in WP, the localized permalink structure handles it so that there's no -2 etc added to the end of the permalink.

With the importer, the post is saved before the translation connection and in that moment it is in the same language as the primary version of the post. The translation is created only afterwards and at that moment, there's already a -2 in the permalink of the translated post.

This would be an issue for example when importing events or movies that have the same name -> title in each language used on the web site.

@ironland ironland changed the title Localized posts with different languages have -2 added to their permalink if the title is the same. Localized posts with different languages have "-{NUMBER}" added to their permalink if the title is the same. Apr 24, 2019
@ironland ironland changed the title Localized posts with different languages have "-{NUMBER}" added to their permalink if the title is the same. Localized posts with different languages have a number added to their permalink if the title is the same. Apr 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant