After my recent upgrade vom kirby2 to kirby3 I noticed, that my language detection does not work anymore.
In my kirby2 site I had the url param for the default language german set to
According to the issue
https://github.com/getkirby/kirby/issues/1924 this does not work anymore in kirby3 and I had to set it to
/de. After applying this change, the language detection works perfectly smooth again.
Now I would like to assure, that the old url’s are redirected correctly. I tried to apply some stuff in the .htaccess, but could not make it work. I mostly ended up with too many redirects.
Is there an effective way to do this via routes? Or do I have to apply all the redirects manually?
My goal is that all url’s without a language param redirect to the equivalent of the request with the
de param. However, requests with
it should not be influenced by this.
Thanks in advance for your help!