Polylang redirects to ‘en’ subdirectory only when user tries to access homepage
-
Our Polylang installation has the “Hide URL language information for default language” unchecked. Our website is translated into 3 languages: en, de and ro. En is selected as default language in Polylang.
If a visitor tries to acces https://mca.electricmura.ro/, (s)he’s redirected to https://mca.electricmura.ro/en/, which I understand is done by Polylang when the “hide URL […]” is unchecked.
Our surprise is that the redirection to English only happens for the homepage, but not for other pages.For example, https://mca.electricmura.ro/repairs/ does not redirect to https://mca.electricmura.ro/en/repairs/
Furthermore, our tests show that https://mca.electricmura.ro/repairs/ is randomly assigned to a language. Sometimes we get the English page, sometimes the German page. It probably depends on the cache, browser settings, location etc. But it seems like Polylang is not indicating the default language for displaying other pages except for the homepage.
Is this the normal behavior ? Is anybody else having this problem ? Did somebody find a solution ?
Thank you !
- This topic was modified 5 years, 10 months ago by .
- This topic was modified 5 years, 10 months ago by .
The page I need help with: [log in to see the link]
- The topic ‘Polylang redirects to ‘en’ subdirectory only when user tries to access homepage’ is closed to new replies.