Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is unable to access the French version of their website, indicating potential misconfiguration in the settings.
Solution:
We recommend configuring the second domain to use the URL option "A different domain per language." Please follow the step-by-step guide provided in this documentation: How to use WPML with different domains per language.

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your specific case, we highly 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. Should you need further assistance, please do not hesitate to 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 16 replies, has 0 voices.

Last updated by Andrey 1 year ago.

Assisted by: Andrey.

Author Posts
April 11, 2025 at 8:03 am #16921461

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Andrey... did you see my earlier message that the 2 url system is not working?

Yes, I have read it carefully. Could you please explain what exactly is not working and upload some additional screenshots so I can understand better?

April 11, 2025 at 12:49 pm #16922754

leslieV

As described above, I want to have two urls. One for the english version of our site and one for the french. Your "Help" info says have the 2nd language (french) url point to the original site (english). I have set amisdulacbernard.org to forward to the english version - friendsoflakebernard.org

That works.

But then when I change the setting in WPML languages to look like this (see image) it validates and saves. But when I go to amisdulacbernard.org it is not going to the french version, but rather to the english one. And if you click "Francais" in the menu bar it also stays english.

Does that help you understand better?

Screenshot 2025-04-09 at 4.13.21 PM.png
April 11, 2025 at 2:10 pm #16923082

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

I appreciate your feedback. It is now clear to me.

I need to request temporary access (wp-admin and FTP) to your site—preferably to a test site where the problem has been replicated if possible—in order to be of better help. When you log in to leave your next reply, you will find the needed fields below the comment area. The information you will enter is private, meaning only you and I can see and access it.

April 11, 2025 at 8:49 pm #16924457

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for the information.

I have reviewed this and found out that you have a 301 redirect from hidden link to hidden link. This means that you will not be able to change the language to French if the "A different domain per language" option is enabled.

Once you remove this redirect, it should work correctly. Please note that even if you temporarily disable WPML, the redirect will still be in place.

I have set amisdulacbernard.org to forward to the english version - friendsoflakebernard.org

You need to point your domain to the same WordPress site where WPML is installed but do not set up the redirect to the original URL.

April 14, 2025 at 6:22 pm #16930980

leslieV

How do I point the domain to the same wordpress site? If I am not forwarding the domain, then do I have to change the DNS settings?

If so, can you tell me exactly what needs to be changed? I have asked Rebel support (where the site is hosted) and they don't seem to be able to help me.

April 15, 2025 at 6:41 pm #16935914

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for your feedback.

Unfortunately, I’m not familiar with how your hosting provider operates. To set up a second domain in a local environment, I typically point the second domain to the same local server (in your case, you need to point to where your main domain points) and configure it as an alias in the server settings. This works because the main idea is to direct both domains to the same installation.

https://wpml.org/documentation/getting-started-guide/language-setup/language-url-options/how-to-use-wpml-with-different-domains-per-language/

https://stackoverflow.com/questions/21481303/what-is-the-procedure-to-add-domain-aliases-to-an-existing-linux-apache-installa