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.

This topic contains 1 reply, has 2 voices.

Last updated by Mohamed Sayed 1 year, 3 months ago.

Assisted by: Mohamed Sayed.

Author Posts
September 20, 2023 at 4:16 pm #14432313

michaelK-170

We were wondering when setting up a URL format if it was possible to have a alternative URL structure. It seems the default for "Different languages in directories" is to suffix the language directory to the end like this "hidden link" but is it possible to have the lang structured in the URL like this "hidden link".

Thanks in advance!

September 20, 2023 at 8:57 pm #14433609

Mohamed Sayed

Hi there,
Thanks for contacting WPML support.

The URL format "Different languages in directories" adds the language directory after the domain name, not at the end of the URL. So it should be like the following:

hidden link

Only the "Language name added as a parameter" format adds the language parameter to the end of the URL like the following:

hidden link

Please check this doc for more details: https://wpml.org/documentation/getting-started-guide/language-setup/language-url-options/

Could you please tell me if you get different results when choosing any of those options?

Kind regards,
Mohamed