mipcms做为二级目录伪静态设置后不能打开文章页
- 时间:
- 浏览:5180
- 来源:MIP建站系统交流平台
发出伪静态规则 主站是wordpress做的现在想拿mipcms做二级目录
location / {
index index.html index.php;
if (-f $request_filename/index.html){
rewrite (.*) $1/index.html break;
}
if (-f $request_filename/index.php){
rewrite (.*) $1/index.php;
}
if (!-f $request_filename){
rewrite (.*) /index.php;
}
}
location /mip/ {
if (!-e $request_filename) {
rewrite ^(.*)$ /mip/index.php?s=/$1 last;
break;
}
}
rewrite /wp-admin$ $scheme://$host$uri/ permanent;
困扰一段时间一直没有解决 二级目录又回归了wordpress
5个回答
![](http://mipclouds.oss-cn-beijing.aliyuncs.com/89f2ccc531c921fdfc1d1bad-990e06bd0fa576800ae46c6e.jpg)
![](/public/assets/common/images/avatar.jpg)
![](/public/assets/common/images/avatar.jpg)
![](/public/assets/common/images/avatar.jpg)
![](http://mipclouds.oss-cn-beijing.aliyuncs.com/89f2ccc531c921fdfc1d1bad-990e06bd0fa576800ae46c6e.jpg)
![](https://www.mipjz.com/public/assets/common/images/login-comments.png)