带有阿拉伯语slu ur的网址将在IIS Windows Server上运行404并在Apache服务器上正常运行。
当我在网址中使用阿拉伯语时,如/ar/product-categories/الأرز/
当我将slug编辑成英文时,它正在重定向到404
我已经为多语言安装了wpml
我的WordPress版本是4.3.2,PHP版本是5.4.24
这个问题是由于IIS无法识别多语言URL所致
尝试在wp-config.php文件的末尾添加以下代码:
if ( isset($_SERVER['UNENCODED_URL']) ) {
$_SERVER['REQUEST_URI'] = $_SERVER['UNENCODED_URL'];}