lloc / Multisite-Language-Switcher

WordPress Plugin: Multisite Language Switcher
http://msls.co
132 stars 41 forks source link

Reciprocal links not working right #162

Open martin-neumann-gurus opened 3 years ago

martin-neumann-gurus commented 3 years ago

Describe the bug Setting a link is working fine, but the reciprocal link is gibberish

To Reproduce Steps to reproduce the behavior:

  1. Set up 2 different languages, in my case en_US and pt_BR
  2. Write a post on each language
  3. At the en_US site I set the title of the pt_BR article and update
  4. The English site has the correct link like for examle: https://www.saudeplena.org/verdade-sobre-coronavirus/ The reciprocal link is not a valid article, like: https://www.abundanthealth.info/b89565a8f360c821c06679cc18444944/

Expected behaviour It should link back to the English article

Environment (please complete the following information):

Additional context Add any other context about the problem here.

lloc commented 3 years ago

These posts seem to be tied together as expected. MSLS is using the id of a post and builds the link at run-time with the help of the Wordpress API.

martin-neumann-gurus commented 3 years ago

It works after me setting the link on both articles. But if I am setting it on one article only, the other link is going wrong. Sorry, on my side I have this problem.

lloc commented 3 years ago

Do you have other subsites in that network?

martin-neumann-gurus commented 3 years ago

I have other sites in the network, but they are not part of MSLS. That far I have only those 2 languages configured.