阿拉伯语网址不是wordpress wpml windows iis服务器

Owa*_*lam 3 php windows wordpress wpml server

阿拉伯slu ur的网址将在iis windows服务器上运行404,并在apache服务器上运行良好.

当我在网址上有阿拉伯语时 /ar/product-categories/?????/

它将重定向到404,当我将slug编辑成英文时它正在工作

我安装了多语言的wpml

我的wordpress版本是4.3.2 php版本是5.4.24

任何人都可以帮我解决这个问题吗?任何帮助将不胜感激.

Nom*_*man 6

这个问题是由于IIS无法识别多语言URL所致

尝试在wp-config.php文件末尾添加以下代码:

if ( isset($_SERVER['UNENCODED_URL']) ) {
$_SERVER['REQUEST_URI'] = $_SERVER['UNENCODED_URL'];}
Run Code Online (Sandbox Code Playgroud)