Fix some default site redirect woes

* The fix for #14357 yesterday sadly had the assumption that default language/version/role always was the first site in the sites matrix. This is common, but not always true.
* Also, that fix forgot to add a redirect the other way when `defaultContentLanguageInSubdir` was disabled, e.g. from `/en/` to `/`.
* This commit also renames config option `DisableDefaultDimensionRedirect` to `DisableDefaultSiteRedirect`. This is stricly a breaking change, but it's only been out for a day, and the old name didn't make much sense.

Fixes #14361
This commit is contained in:
Bjørn Erik Pedersen
2026-01-11 15:30:33 +01:00
parent 66ba63cd5f
commit a775488304
6 changed files with 85 additions and 22 deletions
+1
View File
@@ -0,0 +1 @@
tpl/tplimpl/embedded/templates/**