DefaultContentLanguageInSubdir

Preferred Language Module
Preferred Language Module
When the defaultContentLanguageInSubdir is enabled, Hugo will redirect the home page to the default language site, e.g. / -> /en/. This module will attempt to redirect the site based on the user’s preferred language.