• Hi,
    I just moved a functioning WP site from Apache to Nginx and it works great. I’m using the latest Q-Translate X with five HTTPS enabled per-domain sites running on five public IPs. (COM/NO/DK/SV/IS/DK)
    On Apache this worked great, except that it was a bit slow. That’s why I changed to Nginx.

    English is the default language.
    BUT now, when you are logged into WP-Admin and select another language from the top-right Language Select flag-list, you get a link like https://www.domain.com/wp-admin/edit.php?post_type=page&lang=no

    But then it tries to redirect to the domain too, not just change the backend language: https://www.domain.no/wp-admin/edit.php?post_type=page&lang=no

    This makes the user log out and and then the user can’t log back in until you delete the qtranslate cookies or manually add ?lang=en after the wp-admin URL.

    With Apache, the WP-Admin URL never changes when you select the other language, so this is probably an NGinx issue?

    TLDR;
    It doesn’t work to select another language when you’re logged into WP-Admin, it tries to redirect the entire URL. I just want the main .com WP-Admin URL to stay the same and not change, like it used to before with Apache.

    Any ideas?

    Thanks!

    Willy T. Koch
    Norway

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter willytk

    (@willytk)

    Never mind.

    Issue was W3 Total Cache which 0.9.5.1 which probably has an issue with PHP7. Deactivating W3 Total Cache resolved the issue.

    Regards,
    Willy T. Koch
    @willytk

    Plugin Author John Clause

    (@johnclause)

    I am sorry for your trouble. We currently do not have resources to answer support questions for free and rely on the community to provide a possible solution, which seems to work well in many cases. Many thanks to our active community members who take a good time to answer people’s problems!

    We need to figure out a way to monetize the support and further development. We would highly appreciate if you take about 5 minutes of your time to respond to the survey linked here: https://wordpress.org/support/topic/what-is-the-future-of-qtranslate-x/

    Any ideas and additional input are also welcome, use the same thread linked above for everyone to see your thoughts.

    Thanks a lot!

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

The topic ‘Wp-admin language redirect issue’ is closed to new replies.