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 2 replies, has 2 voices.

Last updated by sallyR 2 years, 10 months ago.

Assigned support staff: Joanna.

Author Posts
September 1, 2017 at 7:15 am #1355724



I have a .com Domain with the primary language in Spanish. The second language I use is English.

When is switch the language to the primary domain I get the link:

hidden link

When switching to the English Version I get the following link:

hidden link

Is there the possibility to show in the Spanish primary Version also the link like, that the /es/ is shown in the link:

hidden link


September 1, 2017 at 12:32 pm #1355963


Hello @sallyr,

Yes, it's possible. To do this, you need:
1. Go to WPML->Languages.
2. In the "Language URL format" choose the "Different languages in directories" option.
3. The "Use directory for default language" option should appear. Enable it.
4. Choose the root page type and create a root page. Please note that root page is obligatory when the "Different languages in directories" option is enabled.

You can read more about the "Different languages in directories" option and root pages at

September 1, 2017 at 3:09 pm #1356149


Thanks Joanna