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 Andreas 1 year, 3 months ago.

Assisted by: Andreas.

Author Posts
January 23, 2023 at 11:03 am #12871805

estherP

Tell us what you are trying to do?
Create select language langing page for main domain
Is there any documentation that you are following?
No
Is there a similar example that we can see?
Yes. hidden link (i don't need to use other domains, just wanna use directory structure
What is the link to your site?
Irrelevant

Hello I'd like to know if it is possible to have a landing page for the root domain. Lets say I have 2 languages:
- FR
- ES
And a domain example.com

I'd like to have example.com/ be a page where you can select your language and then have example.com/es and example.com/fr depending on the option chosen.

Is it possible to do that? I see WPML needs a main directory (in this case i would have / for ES and /fr for FR, but I'd like to have / for landing, and then depending on what is chosen /es or /fr.

Thanks,

January 23, 2023 at 11:32 am #12872109

Andreas

Hello there

Thank you for contacting us. I am happy to help you.

If I understand correctly you need a root page.

Please read our document on how to do it :

https://wpml.org/documentation/getting-started-guide/language-setup/directory-default-language/#setting-up-the-root-page

I hope this helps. Please let us know how it goes or if you need any further assistance. I'll gladly help you. 🙂

Regards,
Andreas

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.