Forum Replies Created

Viewing 1 replies (of 1 total)
  • Hello,

    I am having almost the same problem. As long as I do not use the language code for the default language, I see the following behaviour.

    Languages activated are:
    * de (default)
    * en

    Simplification: Slugs are the same for de and en.

    Exemplary page opened:
    http://www.mydomain.de/en/slug-1

    The links in the language switcher are
    * http://www.mydomain.de/slug-1 (for “de”)
    * http://www.mydomain.de/en/slug-1 (for “en”)

    If I click on the “de” link, the english page is opened again:
    http://www.mydomain.de/en/slug-1

    Viewing the network info in developer mode shows a “302 moved temporarily”, but that’s maybe generally not related to the problem.

    If I add the language code for German manually to the url and open that:
    http://www.mydomain.de/de/slug-1

    Then the German page is opened, but also with a redirect, so the url in the browser is now:
    http://www.mydomain.de/slug-1

    Which is funny because that is the same url thats linked with the “de” entry in the language switcher, but when I tried to open it from there (being on the english version of the page) it always redirected me to the same english version.

    If I deactivate “Hide URL language information for default language.”, then the links in the language switcher work fine, but I have the language code for pages in the default language.

    Version info:
    WordPress 4.1.1
    qTranslate-X 3.2.9

    Kind regards

    Christian

Viewing 1 replies (of 1 total)