plugins - WPML - Stop language redirection in initial load

admin2025-03-19  6

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, currently it redirects to www.abcd/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.

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, currently it redirects to www.abcd/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.

Share Improve this question asked May 28, 2020 at 6:50 KarthickKarthick 2461 silver badge7 bronze badges 1
  • Hi There, I was able to fix the issue by changing WPML settings. – Karthick Commented May 30, 2020 at 6:22
Add a comment  | 

1 Answer 1

Reset to default 0

Solution provided in WPML forum.

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1742388303a211108.html

最新回复(0)