• Resolved p4fciu

    (@p4fciu)


    Hello

    I have a website in two language versions. For each of them I have a separate domain .pl (Polish language version) and .eu (English version). The .pl domain has an SSL certificate, and the .eu domain does not.

    When I change the language being in the language version of a page with HTTP header (.eu domain), the language switcher takes me to the .pl domain with HTTP header instead of HTTPS.

    When I am on a website with HTTPS header (.pl domain), clicking on the “En” flag takes me to the .eu domain with HTTPS header when it should set HTTP header.

    In the Plugin settings, I have two domains set for each language version with the appropriate headers entered, but it does not help.

    How can I fix this issue?

    • This topic was modified 3 years, 5 months ago by p4fciu.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Chouby

    (@chouby)

    Hello,

    We have no way to guess that the other domain has an SSL certificate or not. So we suppose that this the same as for the current domain.

    I suggest that you add an SSL certificate to your second domain. If you really don’t want then you’ll need filter the “wrong” urls in PHP. The filter site_url may help you.

    Thread Starter p4fciu

    (@p4fciu)

    Ok. Thanks for response.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Language switcher redirects to domain with wrong HTTP header’ is closed to new replies.