Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Sami Ahmed Siddiqui

    (@sasiddiqui)

    Hi @begoodinweb

    Sorry for the delay in my response. Are you still facing this issue or is it resolved for you?

    I have checked the pages and looks like that there is no issue. I believe you have already resolved this issue either from the WPML support or removing this plugin. Not sure what you have done and would like to know and make it fixed if I can.

    Sami

    Thread Starter begoodinweb

    (@begoodinweb)

    Hello Sami,
    Thank you for your reply. No there is still the issue.
    If you go on
    https://www.galvaunion.com/en/mediatheque-videos
    or on
    https://www.galvaunion.com/en/sites-galva
    (2 examples among a lot of pages)

    Going to the French (default language is ok), but going to the ES version is not possible as the URL is replaced by https://www.galvaunion.com//en/mediatheque-videos with double slash and still the “EN” directory.

    Till there is no “patch” on your module or on WPML, i tried to put a redirection of //en/ to /es/ (and also true for //es/ to /en/).
    But :
    1. it’s not a solution and i get errors from google search console and logs
    2. this redirection is only working if i’m logged in. So normal visitor can not use it.

    I hope you can find a solution.
    Best regards.
    Chris

    Plugin Author Sami Ahmed Siddiqui

    (@sasiddiqui)

    Hi Chris,

    Sorry, I misunderstood. As you are given the reference of the Canonical issue so I was checking that rather than a switcher.

    I can not check this issue as I don’t have WPML installed on any of the sites. Have you reported this issue to WPML? If yes, then what they replied?

    It is strange that it is working fine for EN but having issues with ES. Not sure why it is doing this. I may patch if it only adding double slash but it is not even applying the correct language slug so that thing may not work.

    I recommend you to open the thread for this issue on WPML and let me include in it.

    Sami

    Thread Starter begoodinweb

    (@begoodinweb)

    Hi again,
    Actually it’s not working neither in EN nor in ES.
    Both have problems with each other.
    When there were only 2 languages (FR and EN) there was no issue.

    I opened a thread on WPML also (https://wpml.org/forums/topic/language-switcher-doesnt-give-the-good-url/) but for now there is no patch from them as well. And your module is still marked as 100% compatible (but several persons reported the same issue without any solution for now).

    It seems that the issue occures because the page URL is exactly the same in the different language, except the language directory /EN/ or /ES/.

    FR : https://www.domain.com/mediatheque-videos
    ES : https://www.domain.com/es/mediatheque-videos
    EN : https://www.domain.com/en/mediatheque-videos
    If i change https://www.domain.com/en/mediatheque-videos to https://www.domain.com/en/mediatheque-videos-en for example, it seems to work.

    Maybe it can help you to understand the problem.
    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WPML language switcher incompatibility’ is closed to new replies.