(转)Nginx下修改wordpress固定链接后导致访问文章404

原文:Nginx下修改wordpress固定链接后导致访问文章404

找到”你的域名.conf“配置文件(我的在/usr/local/nginx/conf/vhost/quchao.me.conf
),找到第二个/root/wwwroot/yourdomain;在下面添加一句

include wordpress.conf; 

关闭,保存,重启nginx

/etc/init.d/nginx restart
Subscribe
提醒
guest
0 评论
内联反馈
查看所有评论