Redirect to base URL from configuration
Closed this issue · 0 comments
malteriechmann commented
Right now we redirect to $siteRootUrl . $browserLanguageIsoCode
. This is not always correct.
Instead we should redirect to the base configured in the site configuration, e. g.
-
languageId: '2'
title: Español
base: /es/
iso-639-1: es
enabled: true
websiteTitle: 'Example website'
The base
property can be es
, but it also can be spanish
or something completely different.