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.

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Mohamed Sayed 1 year, 7 months ago.

Assisted by: Mohamed Sayed.

Author Posts
September 23, 2023 at 2:50 pm #14450897

danieleC-3

Hello,

I'm having this issue with WPML for a long time, and it's not the first site it's happening me with me.

Basically, while I'm normally able to edit one language (usually the main one), everytime I switch the secondary language the system asks me to log in again. Even after I do it, it will either ask me to login again everytime I go to edit or, best case scenario, the page it freezes and the builder keeps loading forever.

I'm not understanding what's the issue. I'm using the different domain option per language, and the only major plugin installed is Elementor. (but again, I had the same issue with other sites without Elementor).

Can you please help?

Thank you!

EDIT: One thing I've noticed is the url, usually sticking to the language I'm able to edit. So for example If I'm in the backend in the .com version and I switch to .pl, the backend url keeps being .com. I'm not sure if this is an indicator of the issue. Thank you

September 24, 2023 at 9:35 pm #14453979

Mohamed Sayed

Hi there,
Thanks for contacting WPML support.

Please try the following steps:

- Go to WPML > Languages > Language URL format
- Make sure the "Validate" option is enabled for the secondary domains.
- Enable the "Auto sign-in and sign-out users from all domains" option
- Save it
- Go to Dashboard > Settings > Permalinks and save the permalinks once.
- Logout from the primary domain
- Now login from both domains, you can log in from secondary domains using /wp-login.php at the end of the second domain. For example, login path will be:

hidden link
hidden link

To make sure you are correctly logged in from both domains you can check if the WP top admin bar is available from both languages.

- Once you are logged in from both domains, check if you can edit the page in Elementor from the secondary language.

Let me know please if that helps.

Kind regards,
Mohamed