Skip Navigation

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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Europe/Tirane (GMT+02:00)

This topic contains 1 reply, has 2 voices.

Last updated by Marsel Nikolli 1 year, 7 months ago.

Assisted by: Marsel Nikolli.

Author Posts
October 25, 2023 at 3:30 pm #14662839

charisaR

Hi,
I want to use a different domain per language. My domain domain is currently not in use so I installed the staging site on that domain: hidden link

- The other two language domains are: prolaz.bg (Not in use) and Prolaz.hr (currently in use)
- I will also be using elementor pro

My concern is that if I select these options from the beginning, I will not be able to access the croatian translation side of the site.. From the documentation, it looks like a logout will be required when switching between domains?

What is the best way for me to set this up for development?

Thanks for your guidance!

October 26, 2023 at 8:57 am #14668249

Marsel Nikolli

Hello,

Thank you for reaching out to WPML Support.

If I understood correctly you already have a Croatian website running (hidden link), which has Croatian as a default language and English as a secondary one (from what I could notice from the website).

I would suggest you set up the development site to use the WPML -> Language-> Language URL format -> "Different languages in directories", after development/translation is finished you can switch to "A different domain per language" and set up the respective domains.

* Note: You'll need to import the Croatian translations to the development site in order to function after you switch the language URL format.

* Please make sure that all the domains are also set properly before switching the Language URL format, please check the documentation for more:
https://wpml.org/documentation/getting-started-guide/language-setup/language-url-options/how-to-use-wpml-with-different-domains-per-language/#3-set-up-the-option-in-wpml

Regarding your concern related to the logout, on the WPML -> Language-> Language URL format, when setting "A different domain per language", you'll need to check the checkbox "Auto sign-in and sign-out users from all domains" in order to enable login sessions to carry over to other domains. As you said you'll be using Elementor, you need to enable this feature. Otherwise, you’ll get logged out when you switch between domains.

Please check the documentation for more information:
https://wpml.org/documentation/getting-started-guide/language-setup/language-url-options/how-to-use-wpml-with-different-domains-per-language/#3-set-up-the-option-in-wpml

Let me know if you have any other questions.

Regards,
Marsel

The topic ‘[Closed] Set up using different domain per language’ is closed to new replies.