The plugin sets a cookie if you switch to English and so it is intended behavior that it will redirect to /en
The 404 is off course not intended. Is that for the homepage (/en) or other pages ?
Can you provide the site name so I can take a closer look and please use the latest version of the plugin. Version 1.x had some issues with page routing which would cause 404 in some cases.
Some issues are solved, but the main issue is that when I visit the site, it redirects to /en, although the site’s default language is French. https://cohesi-d.ca/
-
This reply was modified 5 days ago by
raqibnur.
I tested it and it works as designed. If you visit the site and use the switcher to switch to english. The next visit, the site will show english. This is because the plugin will use cookies to remember the users preferred language.
If you switch back to french using the switcher. The next time you visit the site, it will use french.
There is still a problem with other languages. Which model do you use for translation ? Or is translation disabled in the admin panel now. If so, disable all “Detectable Languages”. Otherwise users get a 404