Multisite-Language-Switcher icon indicating copy to clipboard operation
Multisite-Language-Switcher copied to clipboard

Reciprocal links not working right

Open martin-neumann-gurus opened this issue 3 years ago • 4 comments

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):

  • OS: [e.g. iOS]
  • Browser any browser
  • PHP Version PHP 7.3.25
  • Plugin Version 2.4.9
  • Wordpress 5.6

Additional context Add any other context about the problem here.

martin-neumann-gurus avatar Dec 30 '20 21:12 martin-neumann-gurus

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.

lloc avatar Jan 04 '21 08:01 lloc

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.

martin-neumann-gurus avatar Jan 04 '21 17:01 martin-neumann-gurus

Do you have other subsites in that network?

lloc avatar Jan 12 '21 14:01 lloc

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

martin-neumann-gurus avatar Jan 12 '21 20:01 martin-neumann-gurus