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
- 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
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.