Keep default language in URL
-
Hi, I was wondering if it’s possible somehow to keep the default language in the URL?
My site is in English, and I have 2 translations: French and Dutch. So my homepage URL looks like this:
- English:
example.com/
- French:
example.com/fr/
- Dutch:
example.com/nl/
What I would like is that the default language follows the same patterns as my translations. So:
example.com/en/
Also the other pages on the English website should look like this:
example.com/en/sample-page/
example.com/en/about/
- …
The reason we need this is because we have multiple websites with some automatic processes running in the background to set up websites and pull data from them. Being able to always rely on the language-part in the URL would greatly simplify our process. Also, we are migrating some websites from an older CMS system that was using this URL structure, so if we could keep our URLs the way they were before it would take away the need to create 301 redirects for all these pages.
- English:
- The topic ‘Keep default language in URL’ is closed to new replies.