The php url contains Chinese characters. The Error 404 is displayed,
You can use Microsoft Web Platform to configure and install a wordpress in IIS.
When an article is added, the automatically generated URL is similar to the following:
Http: // localhost/wordpress/index. php/2017/06/28/dc % e8 % b6 % 85% e8 % 83% bd % e5 % a6 % b9 % e5 % ad % 90% ef % bc % 9a % e6 % 98% 9f % e9 % 99% 85% e6 % b8 % b8 % e6 % 88% 8f-2017/
Click the 404 prompt. After query, the following solution is found:
Locate the "class-wp.php" file under the "wp-include" directory.
Step 1: Find
$ Pathinfo = $ _ SERVER ['path _ info'];
To:
$ Pathinfo = mb_convert_encoding ($ _ SERVER ['path _ info'], 'utf-8', 'gbk ');
Step 2: Find
$ Req_uri = $ _ SERVER ['request _ URI '];
To:
$ Req_uri = mb_convert_encoding ($ _ SERVER ['request _ URI '], 'utf-8', 'gbk ');
Open the above connection again, perfect ~
Refer:
Https://www.douban.com/note/241751746/
Http://www.cnblogs.com/xishuai/p/3590187.html