WPML - Stop language redirection in initial load
-
20-04-2021 - |
Вопрос
We have a multilingual website which is connected with English & Arabic using WPML plugin in WordPress. As a default behavior, the website is redirecting to /en/ version which I need to stop, but the same time, /en/ should not be removed from any menu links. The overall expectation is to stop the redirection only in initial load.
For an example: If I type www.abcd.com, currently it redirects to www.abcd.com/en/ that needs to be stopped. I tried couple of workarounds advised in WPML forum but no luck.
Thanks in advance for any help/suggestion.
Решение
Solution provided in WPML forum.
Не связан с wordpress.stackexchange