Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 15:00 9:00 – 15:00 9:00 – 15:00 9:00 – 15:00 9:00 – 15:00 - -
- - - - - - -

Supporter timezone: Asia/Yerevan (GMT+04:00)

This topic contains 0 replies, has 0 voices.

Last updated by Christopher Amirian 1 day, 11 hours ago.

Assisted by: Christopher Amirian.

Author Posts
February 6, 2025 at 2:10 pm #16675926

timO-12

Background of the issue:
I am trying to ensure that users automatically get signed in when switching languages on a multi-domain setup. I have had the auto sign-in option turned on for months, and the domains are validated.

Symptoms:
Users do not automatically get signed in when switching languages. This causes WooCommerce shopping carts to not sync between languages, showing as empty when switching.

Questions:
How can I fix the issue of users not being automatically signed in when switching languages?

February 6, 2025 at 2:22 pm #16675971

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi, I'd appreciate it if you could give me the URL/User/Pass of your WordPress dashboard after you make sure that you have a backup of your website.
It is absolutely important that you give us a guarantee that you have a backup so if something happens you will have a point of restore.

Make sure you set the next reply as private.

February 9, 2025 at 12:00 pm #16683878

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

Thank you for the login information. I checked and even without the login the other languages do not work and do not load at all.

What I have found is that the other domains do not have a secure HTTPS protocol and they use HTTP and the browsers complain about that.

I think that should be the problem cause. Please contact your hosting service provider and ask them to enable SSL for the other URLs too.

If you check the WPML settings you will see that WPML expects to have HTTPS for all other domains. (check the screenshot)

Thanks.

Screenshot 2025-02-09 at 3.59.51 PM.png
February 10, 2025 at 9:33 pm #16689599

timO-12

Hi,

That's weird because my browser + external tools do show these domains have valid ssl certificates. I tried it with this tool for example: hidden link
The domains are also valid when I re-save the languages.

So I don't think that should be the problem.

Best regards,

Tim

February 12, 2025 at 2:50 pm #16697403

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi Tim,

Thank you very much and sorry for my late reply. I asked my colleagues to check the other languages and they confirmed the SSL works ok for them.

I asked the second tier support to give me possible suggestions, but meanwhile would you please check if the same thing happens on a minimal installation?

- IMPORTANT STEP! Create a backup of your website. Or better approach will be to test this on a copy/staging version of the website to avoid any disruption of a live website.
- Switch to the default theme such as "TwentyTwenty" by going to "WordPress Dashboard > Appearance > themes".
- Go to "WordPress Dashboard > Plugins" and deactivate all plugins except WPML Multilingual CMS and WPML String Translation.
- Check if you can still recreate the issue.
- If not, re-activate your plugins one by one and check the issue each time to find out the plugin that causes the problem.

February 13, 2025 at 10:58 am #16701267

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

Did you change something on your side? The second tier support and I now test and it works ok and the other language is logged in when changed.

Thanks.