I’ve installed Kirby at a subdirectory of a client’s existing site:
www.example.at/mykirby
this initial page load works and all assets are correctly loaded. However, every consecutive request (clicking a link, or a fetch
request) is inserting /en/
after the base URL resulting in a 404 on the main site, i.e www.example.at/en/mykirby/data.json
even manually entering www.example.at/mykirby/de
(which should work because i have a multi lang install) auto redirects to www.example.at/en/mykirby/de
The main domain example.at
also auto redirects to example.at/en
on first load so I’m kind of assuming there is some server side language check happening in the background that leaks into Kirby.
I really don’t believe so, but is there any possible way whatsoever that this is caused by Kirby itself? Never ran it from a subdomain, so I wanna make completely sure before I go annoy the person who set up the server.
edit: tried via phone where my language is set to german, and it redirects to “de”. maybe there’s some measures I can take myself? maybe even make use of the fact that en and de already exist as languages on the base server, maybe i can read these preferences and apply to the kirby install somehow…