Polylang – Share same slug between languages
-
Hello,
I am using Polylang to create a multilingual site.
I would like all translated pages/posts to share the same slug between languages.
e.g.
In English: https://www.example.com/page-1
In French: https://www.example.com/fr/page-1Currently this is not possible due to WP limitations.
I tried to use your plugin setting both pages custom_permalink to page-1.
That means that
EN page-1 has slug:page-1 and custom_permalink: page-1
FR page-1 has slug:page-1-fr and custom_permalink: page-1The problem is that after doing that, both page URLs
https://www.example.com/page-1
https://www.example.com/fr/page-1
redirect to the same English URL
https://www.example.com/page-1I also tried custom_permalink: /fr/page-1 for the French, but the result was the same, it redirected back to the English page-1 URL.
Is there something that can be done about that?
Thank you very much,
Elias
- The topic ‘Polylang – Share same slug between languages’ is closed to new replies.