1、在WordPress的wp-includes目录下的class-wp.php文件中找到以下代码(WordPress4.7之前大概在155行,WordPress4.7现在在178行): $pathinfo = isset( $_SERVER['PATH_INFO'] ) ? $_SERVER['PATH_INFO'] : ''; 直接修改为: $pathinfo = isset( $_SERVER['PATH_INFO'] ) ? mb_convert_encoding($_SERVER['PATH_INFO']…