Publish one URL in two languages
Show different content at the same address for each language.
Two pages can share one URL address when each has its own language.
Create the pages
- Create a page with the URL address
/hello/and the Languageen. - Create a second page with the same URL address and the Language
sk. - Add the content of each page.
Open a language
Add the language to the address:
/hello/?language=en
/hello/?language=skSet the default language
Without a language in the address, these pages return a 404 error. To choose the default, add this line to the configuration file and restart the app:
language : enPages with an empty Language field appear in every language.