wordpress发布文章失败,显示404 在nginx配置文件增加 location / { try_files $uri $uri/ /index.php?q=$uri&$args; } 重启nginx即可