最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

plugins - WPML - Stop language redirection in initial load

programmeradmin0浏览0评论

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.

发布评论

评论列表(0)

  1. 暂无评论