From the configuration documentation, we can see that we can choose or not to include the prefix for the default lang: https://learn.getgrav.org/basics/grav-configuration
include_default_lang: true
# Include the default lang prefix in all URLs
In my configuration, the default lang is en
, is it possible to disable the prefix only on the homepage of the app?
For example:
-
http://www.mysite.com/ < This doesn’t have the
en
prefix. - http://www.mysite.com/fr
- http://www.mysite.com/en/contact
- http://www.mysite.com/fr/contact
Thanks