Closed ghost closed 3 years ago
Did you set "forceUrl = 1" in the localePicker component ?
Did you set "forceUrl = 1" in the localePicker component ?
It's the same either way. I have tested this so many different ways always the same error. I can't put a site like this into production...
I have many sites in production without this issue. Something is not properly configured.
Can you send me a link to the website so I can take a look? You can connect on our discord channel and PM me directly.
The sites are not public as they are still work in progress. I have to reconfigure the server so you will be able to have a look. Give me 30 minutes and I will PM you on discord.
Can you show me the full CMS page definition for a page having the problem? Did you properly set the slug in both languages?
Confirmed by mjauvin that what I am was trying to do is not supported. You need to reference the language suffix in the url so the site knows what language to load.
I don't understand how everyone missed this when they designed this plugin. This is important for multilingual pages. If my client has opened the page in language 1 and I send him the link to page on language 2 url he will receive error 404.
Will this be fixed in the future or what is your advice how to deal with this?
Example below:
This is so it will display menu in the top right corner:
Everything will work fine if I switch languages via language picker from english to slovenian it will switch the url from https://example.com/blogslovenian to https://example.com/blogenglish without problems.
I have added different url for each language on page:
This will work when I am switching languages via language picker:
The problem is when I try to access different language url manually. For example the page is set to Slovenian (https://example.com/blogslovenian) via language picker and I access english url (https://example.com/blogenglish) manually it will 404.
Here is the error log: