Hi all,
after an update, I have a problem with the “home” page of the second language.
Kirby 3.5 → 3.7
PHP 7.4 → 8.1
My default language is DE and the URL “www.example.de” correctly shows the content of the page width the blueprint “home”.
The second language EN should do the same: “www.example.de/en” should show the content of the page “en/home” width blueprint “home”.
But there shows up an 404 error, the page itself “www.example.de/en/home” is working. Every page after /en/ works fine: “www.example.de/en/whatever”.
Before the update, it was working.
I removed the home page of EN, but even the copy of the home DE variant doesn’t work.
For testing, I added another language: CH. Don’t work the same way.
In the kirby config, I added this, but this doesn’t change anything:
'urls' => [
'de' => 'www.example.de',
'en' => 'www.example.de/en',
],
This is my EN config:
return [
'code' => 'en',
'default' => false,
'direction' => 'ltr',
'locale' => [
'LC_ALL' => 'en_US'
],
'name' => 'Englisch',
'translations' => [
...
],
'url' => '/en'
];
And the DE config:
return [
'code' => 'de',
'default' => true,
'direction' => 'ltr',
'locale' => [
'LC_ALL' => 'de_DE'
],
'name' => 'Deutsch',
'translations' => [
...
],
'url' => '/'
];
I don’t know how to fix this. Has someone any idea about this problem?