Skip Navigation

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

Problem:
The client is attempting to set up a multi-domain website using WPML, where junomarkets.com will serve all languages except Malay, which will be served by junomarkets-my.com. The client is using Cloudflare for domain management, hosting on EC2 with Ubuntu and Nginx, and is seeking guidance on the necessary configurations before following the WPML guide on using different domains per language.
Solution:
We explained that WPML allows for one language per domain and provided steps to set up a multi-domain site for different languages:
1. Purchase the desired domains.
2. Ensure the ability to edit DNS settings to connect the domain to the website's IP address.
3. If using sub-domains, the main domain must be owned and the hosting plan should allow for sub-domain creation.
4. Choose a hosting provider compatible with WPML from our recommended list.
5. Obtain an SSL certificate for each site translation or a multi-domain SSL certificate.
We directed the client to our documentation for further instructions: https://wpml.org/documentation/getting-started-guide/language-setup/language-url-options/how-to-use-wpml-with-different-domains-per-language/

Please note that this solution might be irrelevant due to being outdated or not applicable to your case. If this is the 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. If you still need assistance, please open a new support ticket: https://wpml.org/forums/forum/english-support/

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.

This topic contains 1 reply, has 2 voices.

Last updated by Lucas Vidal de Andrade 1 year, 3 months ago.

Assisted by: Lucas Vidal de Andrade.

Author Posts
February 19, 2024 at 3:18 am #15315828

juno-markets-limitedA

Tell us what you are trying to do?
So my website junomarkets.com will be for all other languages and junomarkets-my.com will be for Malay language, Im trying to set it. Im using Cloudflare for my domains, hosting my wordpress on ec2, ubuntu, nginx. What kind of configuration do i need to do before I can apply the steps on the guide below

Is there any documentation that you are following?
https://wpml.org/documentation/getting-started-guide/language-setup/language-url-options/how-to-use-wpml-with-different-domains-per-language/

February 19, 2024 at 3:12 pm #15319310

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello,

Thank you for getting in touch with us. Currently, WPML only offers the option to have one language per domain (multi-domain website), to have they separated by directory or by parameter. You can use only one option at a time, so it seems to me that what you are trying to achieve is not possible at the moment.

If you wish to use one domain per language, there are the following requirements, as described in our documentation:

1. You need to buy the domains that you want to use. If you are setting up your site manually you also need to make sure you can edit your domain DNS settings. This lets you connect your domain name to your website’s server location, also known as its IP address.
2. If you’re using sub-domains, then you still need to buy the main domain for it (e.g. example.com). Make sure your hosting plan allows you to create sub-domains.
3. If you’re looking for a reliable hosting provider whose packages work great with WPML, here is a list you can use.
4. You should have an SSL certificate for each site translation, or one multi-domain SSL certificate.

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

Let me know if that answers your question.