The language links for Polylang language plugin break when using the Duplicate Post plugins Rewrite & Republish functionality. Steps to reproduce:
Install Duplicate post & Polylang
Add at least 2 languages in polylang (For example FI & EN)
Add the Polylang "Language switcher" to the menu
Create a new page for both language and link them together. For example "Sivu" in FI and "Page" in EN
If you now go to the Fi page "Sivu" and click the language switcher in the menu, you end up to the linked page called "Page" in english and when you click the language switcher in "Page" you end up to the page "Sivu".
Use the "Rewrite & REpublish" functionality to one of the pages, for example "Sivu" in FI. MAke some changes and republish
After republish, when you go to the FI page "Sivu" and click the language switcher, you end up to the linked page called "Page" BUT when you click the language switcher in the "Page", you end up to the front page, which is normal Polylang behaviour, if the other language page is not found. So basicly the link from EN to FI is broken when you use rewrite & republish for the FI page.
Hi
The language links for Polylang language plugin break when using the Duplicate Post plugins Rewrite & Republish functionality. Steps to reproduce: