[Resolved] A different domain per language not saving settings
This thread is resolved. Here is a description of the problem and solution.
Problem: You need to configure WPML to use a different domain for the French language while keeping other languages under the existing domain. However, when trying to save the settings, the 'Auto sign-in and sign-out users from all domains' feature keeps spinning and does not complete. Solution: We have identified that the issue arises because you are trying to mix different URL formats for different languages, which is not supported by WPML. Specifically, you cannot use both 'Languages in directories' and 'A Different Domain per Language' simultaneously. To resolve this, you should choose one URL format for all languages. If you decide to use different domains for each language, ensure that all languages are set up in this manner without mixing with directory-based URLs.
If this solution does not resolve your issue or seems outdated, we recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please open a new support ticket at WPML support forum.
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.
Background of the issue:
I need to configure WPML to use a different domain for the French language while keeping other languages under the existing domain. The setup should be: Latvian (default) - hidden link, English - hidden link, Russian - hidden link, French - hidden link.
Symptoms:
When I try to save the settings, all options are validated, but the 'Auto sign-in and sign-out users from all domains' feature keeps spinning.
Questions:
Why is the 'Auto sign-in and sign-out users from all domains' feature not completing?
How can I successfully configure a different domain for the French language?
If not, it might be that there is a conflict between WPML and another plugin or the theme you are using.
Could you please create a copy or stage of the website and try running it with minimal setup to see if the issue persists?
1) Deactivate all additional plugins that are unrelated to WPML and our add-ons. Now test again.
2) If the issue goes away, start by reactivating the plugins individually or activate them in small groups. This way, check where the issue recurs to identify the plugin causing the issue.
3) If this doesn't resolve the issue, please switch to a standard theme like Twenty Twenty-One to see if the issue might be theme-related.
Once we identify the cause, we can then attempt to replicate the issue and then escalate it internally. In this case, I'll provide a test site with WPML.
If you're unable to set up a copy of your website, please let me know and I'll be happy to help.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Yes, please.
I would like to request temporary access (wp-admin and FTP) to the website to investigate the issue further.
You can find the required fields below the comments section when you log in to leave the next reply. The information you provide is private, meaning only you and I can see and access it.
IMPORTANT
Please be sure to back up your website and database before granting us access.
If you can't see the "wp-admin / FTP" fields, your post and website credentials will be set to "PUBLIC." DO NOT publish the data unless you see the required wp-admin / FTP fields.
The private reply form looks like this: hidden link
Click "I still need assistance" the next time you reply.
Video: hidden link
Please note that we are required to request this information individually on each ticket. We are not permitted to access any credentials that were not specifically submitted on this ticket using the private response form.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
I am currently not seeing the reported error anymore. See screenshot. What I can confirm is that the DNS settings for your domains seem not to be correct.
DNS_PROBE_FINISHED_NXDOMAIN
You should reach out to your hosting support / domain provider about this.
Each second domain needs to point to the IP of the main site domain.
Hi Andreas, on your screenshot domains are not correct. Please see my first message in this thread, there are links for each language and a screenshot.
I can confirm that evrotrans.fr is pointed to same ip as evrotrans.lv
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
The reported issues here was:
"When I try to save the settings, all options are validated, but the 'Auto sign-in and sign-out users from all domains' feature keeps spinning."
I can not confirm this issue. Can you still replicate this issue?
About the domain:
I simply enabled the option and found those domains saved. Please adapt them accordingly. If you run into issues when switching languages, you will need to consult the hosting support or domain provider to set up the domains properly.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Your example uses different site URL formats and you can sadly not mix them.
You try to use:
English - hidden link (Languages in directories)
Russian - hidden link (Languages in directories)
French - hidden link (A Different Domain per Language)
You can sadly not use those URLs if you want to use a different domain per language:
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.