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 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00
- - - - - - -

Supporter timezone: America/Lima (GMT-05:00)

This topic contains 3 replies, has 2 voices.

Last updated by Andreas W. 1 year, 6 months ago.

Assisted by: Andreas W..

Author Posts
October 5, 2023 at 11:02 am #14519643

lyndsayP-2

Hello, I am trying to setup multiple subdirectories on my client site (site.com/uk, site.com/es, site.com/eu etc). The site also needs to be translated into Spanish and Chinese Simplified.

Currently I have a single site WordPress installation that uses the WPML subdirectories for languages. So its setup like site.com/es.

On multisite, would this mean that if I went to site.com/uk and changed my language to spanish, it would go to site.com/uk/es or would it redirect to /es?

October 5, 2023 at 8:10 pm #14523103

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

The directories for languages work in the same way on usual WordPress sites as on Multisites.

If your site URL is hidden link then Spanish as a second language would be on hidden link.

More about Multisites with WPML:
https://wpml.org/documentation/support/multisite-support/

Let me know if you have any further questions about this topic.

Best regards
Andreas

October 6, 2023 at 10:57 am #14526533

lyndsayP-2

What you suggest is assuming the directories are setup as seperate domains. My client would like multisites setup as sub-directories such that sitename.com/uk, sitename.com/es, sitename.com/eu.

Currently my WPML is setup on one site and set to save the translations in different directories (sitename.com/es, sitename.com/zh-hans etc)

Surely wouldnt this mean that the language gets added to end of the subdomain so sitename.com/uk/es

Ideally, I'd want the spanish to only exist on /es etc

October 6, 2023 at 1:51 pm #14528849

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

Sorry for the misunderstanding, but I did not refer to different domains per language, I am referring to directories for languages.

Also, take note that, that with WPML you can not run multilingual websites that connect each other between various subsites of your multi-site network. Each subsite has its own language setup and translations.

The site URL for your subsite should be http://www.sitename.com - not hidden link

From my prior comment:
If your site URL is
hidden link then Spanish as a second language would be on hidden link;

If you want a directory for the site's default language then we have a specific option that adds the language directory for the site's default language on top of the site URL:
https://wpml.org/documentation/getting-started-guide/language-setup/directory-default-language/

Best regards
Andreas

The topic ‘[Closed] Setup with WordPress Multisite’ is closed to new replies.