Describe the bug
When trying to access a content representation, for example, https://example.com/about.json in a multi-lingual setup, Kirby returns the error page.
To Reproduce
Steps to reproduce the behavior:
In a Starterkit, enable languages, set up a language and set default language url to /.
Create a new content representation, e.g. about.json.php, empty or with a string or whatever
Try to access `https://example.com/about.json
Be redirect to the error page
The content representation works if we set the url to /languageCode
Expected behavior
The content representation should also work if the root URL without the language code is used.
Describe the bug When trying to access a content representation, for example,
https://example.com/about.json
in a multi-lingual setup, Kirby returns the error page.To Reproduce Steps to reproduce the behavior:
/
.about.json.php
, empty or with a string or whatever`https://example.com/about.json
The content representation works if we set the
url
to/languageCode
Expected behavior The content representation should also work if the root URL without the language code is used.