Answer the question
In order to leave comments, you need to log in
Why does Polylang redirect to another version of the language?
Forced to ask for help again. Monitored the issue on the net and many developers have such a problem.
Landing Wordpress site, multilingual implemented by Polylang.
site.ru will automatically redirect to site.ru/en. And if you turn on some kind of caching plugin, then language switches do not work at all. Google Page Speed when requesting site.ru writes that "The requested URL redirects to the following URL: site.ru/en/".
One of the forums suggested a solution - disable “Detect browser language” in Polylang. I tried, the language switchers work, but the redirect remains. Moreover, this function is important. Although there may be a way to do it without a plugin.
I will be grateful to everyone for their help.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question