• Resolved Marc Bellêtre

    (@marcbelletre)


    Hi,

    We are trying to use this plugin in a multisite setup. Let’s say the root URL of the website we want to translate is http://www.mysite.test/subdirectory.
    The language switcher works fine when browsing the site in the default language (which is french). The english URL for the homepage is http://www.mysite.test/subdirectory/en.
    However, when browsing the website in english, the french URL in the language switcher is still http://www.mysite.test/subdirectory/en so it’s impossible to go back to the default language.
    I suspect that it has something to do with the website’s root URL being inside a subdirectory.

    Is this plugin compatible with this kind of configuration?

    Thanks,
    Marc

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Edson Galina Fortes

    (@glx77)

    Hi @marcbelletre,

    hope you’re fine?

    Can you give me the version of the plugin you use and tell me what kind of plan you have ?

    Best

    Thread Starter Marc Bellêtre

    (@marcbelletre)

    Hi Edson,

    Thank you for the quick answer.

    We actually figured it out. We were using the language switcher inside a menu created through Appearance > Menus and we had a custom nav walker to add the bootstrap classes to the menu. Removing the walker and switching back to the original WordPress menu fixed the issue.

    It had nothing to do with our multisite setup.

    Sorry for wasting a bit of your time!

    Cheers,
    Marc

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Usage in multisite with subdirectories’ is closed to new replies.