Skip to content Skip to sidebar

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

Problem:
The client is using the 'A different domain per language' option for their multilingual site and wants to implement a mixed URL format. They have separate domains for Estonian and Latvian languages but wish to use directory-based URLs for English and Russian on the main domain.

Solution:
We recommend using a consistent URL format across all languages. Mixing different domains with directory-based URLs for different languages is not supported. You should choose either to use different domains for all languages or directory-based URLs for all. For more details on setting up language URL options, please refer to the following documentation:

If this solution does not apply to your case, or if it seems outdated, 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 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.

This topic contains 3 replies, has 0 voices.

Last updated by Waqas Bin Hasan 1 month, 1 week ago.

Assisted by: Waqas Bin Hasan.

Author Posts
July 10, 2025 at 11:31 am #17223249

uabV

Background of the issue:
I'm trying to sort out the language URL format for my site hidden link. Currently, I'm using the 'A different domain per language' option. I have a domain for the Estonian language (vekstrus.ee) and for Latvian (vekstrus.lv). However, for English and Russian, I don't have separate domains and would like to use vekstrus.lt/en and vekstrus.lt/ru.

Symptoms:
I need guidance on how to implement a mixed URL format using WPML.

Questions:
I'm trying to sort out the language URL format for my site hidden link. Currently, I'm using the 'A different domain per language' option. I have a domain for the Estonian language (vekstrus.ee) and for Latvian (vekstrus.lv). However, for English and Russian, I don't have separate domains and would like to use vekstrus.lt/en and vekstrus.lt/ru.

How can I implement mixed url format to use vekstrus.lt/en and vekstrus.lt/ru for English and Russian languages?

July 10, 2025 at 11:38 am #17223546

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting the support. You seem to be disconnected on chat so I've moved it to this ticket.

Please note that you can not mix of different domains with different languages in directories. You can use one of the option at a time.

As per my understanding, using /en or /ru on the same domain requires, different languages in directories option. Please see https://wpml.org/documentation/getting-started-guide/language-setup/language-url-options/ for more details.

Regards.

July 10, 2025 at 11:53 am #17223656

uabV

Could we mix it with subdomains?

Let's say the main website - vekstrus.lt
Estonian lang - vekstrus.ee
Latvian - vekstrus.lv

and for russian ru.vekstrus.lt
and for eng - en.vekstrus.lt

Is that possible?

July 10, 2025 at 1:33 pm #17224288

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Yes that should be possible, please see https://wpml.org/documentation/getting-started-guide/language-setup/language-url-options/how-to-use-wpml-with-different-domains-per-language/ for details.