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

Polylang language links for page lost with rewrite & republish functionality #250

Open
verkkovaraani opened this issue May 20, 2022 · 0 comments

Comments

@verkkovaraani
Copy link

Hi

The language links for Polylang language plugin break when using the Duplicate Post plugins Rewrite & Republish functionality. Steps to reproduce:

  1. Install Duplicate post & Polylang
  2. Add at least 2 languages in polylang (For example FI & EN)
  3. Add the Polylang "Language switcher" to the menu
  4. Create a new page for both language and link them together. For example "Sivu" in FI and "Page" in EN
  5. 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".
  6. Use the "Rewrite & REpublish" functionality to one of the pages, for example "Sivu" in FI. MAke some changes and republish
  7. 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.
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