Discuz! X3 win Apache迁移到linux nginx后打开文章内容出现404解决办法

来源:互联网 发布:超跑和f1知乎 编辑:程序博客网 时间:2024/06/13 21:14

参考1:http://www.linuxidc.com/Linux/2014-06/103103.htm

参考2:http://www.jbxue.com/article/14294.html



出现404原因:静态化设置失效

1、登录dz后台--  全局  --  seo设置  --  右侧复选框全打开  -- 提交

2、打开查看当前的Rewrite规则 

3、复制 Nginx Web Server 下的配置内容 copy 到 服务器nginx/conf/rewrite/my.conf

4、重启nginx,使伪静态配置生效:


0 0