帝国cms nginx伪静态规则+tag伪静态规则
rewrite ^([^.]*)/p/listinfo-([0-9]+)-([0-9]+).html$ $1/e/action/ListInfo/index.php?classid=$2&page=$3 last;
rewrite ^([^.]*)/p/showinfo-([0-9]+)-([0-9]+)-([0-9]+).html$ $1/e/action/ShowInfo.php?classid=$2&id=$3&page=$4 last;
rewrite ^([^.]*)/p/infotype-([0-9]+)-([0-9]+).html$ $1/e/action/InfoType/index.php?ttid=$2&page=$3 last;
rewrite ^([^.]*)/tags-(.+?)-([0-9]+).html$ $1/e/tags/index.php?tagname=$2&page=$3 last;
rewrite ^/tags-(.*)-(.*).html$ $1/e/tags/index.php?tagid=$1&page=$2 last;
if (!-e $request_filename) {
return 404;
}


相关文章
猜你喜欢
- 如何修改PbootCMS默认面包屑导航样式及自定义设置方法 2024-04-03
- 如何使用PbootCMS内容详情页标签调用相关信息 2024-04-03
- discuz论坛设定会员时间 2024-04-03
- wordpress迁移typecho 2024-04-03
- WordPress建站宝塔更换域名 2024-04-03
- discuz x3 定义的常量 2024-04-03
- discuz帖子里面多筛选设置 2024-04-03
- discuz修改门户文章的段间距 2024-04-03
- discuz x3.4 网易邮件设置 2024-04-03
- discuz3.2 开启https 2024-04-03