-
-
Notifications
You must be signed in to change notification settings - Fork 186
Open
Description
Description
When activating the option languages.detect, Kirby does correctly redirect the user to the detected language slug, but does remove any params from the redirected url. I think this is due to the way the language redirect is performed in kirby/src/Cms/LanguageRoutes.php
Expected behavior
When the user with e.g. german language request opens the url my-page.com/?myquery=param the automatic redirect should push the user to my-page.com/de?myquery=param
To reproduce
- Install starterkit
- Set
"languages" => true, "languages.detect" => true - Add two languages, e.g.
en.phpandde.php - Set browser to request german language
- Open the frontpage with a query parameter attached.
Your setup
Kirby 4 / Kirby 5
Metadata
Metadata
Assignees
Labels
No labels