I have a website with 2 languages. Each language is setup as a different site.
Each site has its own base URL which is defined as follows: @defaultUrl/en
and @defaultUrl/fr
.
I have created a new single section which will be the about page with URI /about
.
This translates to https://mywebsite.com/en/about
.
The issue I am encountering is that https://mywebsite.com/about
is also a valid URL.
How can I make sure that this either throws a 404 or redirects to https://mywebsite.com/en/about
?
I want the locale to always be present in the URL.
about
. Should I prefix this with something else?