wordpress发布文章失败,显示404

在nginx配置文件增加

location / {

try_files $uri $uri/ /index.php?q=$uri&$args;

}

重启nginx即可

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注