Skip Navigation

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.

Tagged: 

This topic contains 4 replies, has 1 voice.

Last updated by vadimP 3 days, 17 hours ago.

Assisted by: Andreas W..

Author Posts
April 11, 2025 at 2:26 pm #16923105

vadimP

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?

April 11, 2025 at 2:27 pm #16923169

vadimP

Here is what I see in console when spinner is stuck

Failed to load resource: the server responded with a status of 404 ()
hidden link

SCR-20250411-phxq.png
April 14, 2025 at 2:18 pm #16930020

vadimP

Hello, can someone assist me on this please?

April 15, 2025 at 10:53 pm #16936264

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

Our apologies for the delay in getting back to you.

Could you please go to WPML > Support > Installer Support (last link on the page) and then click on the following screen "Check now"?

Now, do you see any API connectivity issues indicated?

If yes, please contact your hosting support team and ask them to whitelist the following domains:

wpml.org
cdn.wpml.org
api.wpml.org
api.toolset.com
cloudfront.net

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.

Best regards,
Andreas

April 16, 2025 at 9:24 am #16937471

vadimP

Hey Andreas, I see there are no issues with API connectivity, I will attach screenshot.

I can provide you with site access so you can run other tests, is that ok?

SCR-20250416-leif-2.png
April 16, 2025 at 10:55 am #16938138

Andreas W.
WPML Supporter since 12/2018

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.

April 16, 2025 at 10:12 pm #16941362

Andreas W.
WPML Supporter since 12/2018

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.

fehler.jpg
April 16, 2025 at 10:28 pm #16941381

vadimP

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

April 16, 2025 at 11:38 pm #16941440

Andreas W.
WPML Supporter since 12/2018

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.

April 17, 2025 at 9:35 am #16943023

vadimP

Hi Andreas, those sub-domains popup there no matter what I save previously. And the problem is that my setup is not even saved, but spinner is stuck.

The setup should be:

Latvian (default) - hidden link
English - hidden link
Russian - hidden link
French - hidden link

I will attach images with steps

SCR-20250417-lhrd-2.png
SCR-20250417-lhjn-2.png
April 22, 2025 at 4:21 pm #16956595

Andreas W.
WPML Supporter since 12/2018

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:

hidden link
hidden link

April 22, 2025 at 5:19 pm #16956745

vadimP

Thanks Andreas,

Could you please confirm that my *only* options in this case would be the following:

1) either separate domain for each language:

English - hidden link
Russian - hidden link
French - hidden link
Latvian - hidden link

or

2) keep languages as a sub domains

English - hidden link
Russian - hidden link
French - hidden link
Latvian - hidden link

Please note that in option 2 I'm using 2 subdomains and 2 separate domains

April 22, 2025 at 5:43 pm #16956856

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Both options are valid. You can use full domains or subdomains at the same time. You can not use directories and domains/subdomains at the same time.

April 23, 2025 at 11:13 am #16959240

vadimP

Thank you