帝国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;
}


相关文章
猜你喜欢
- 最新口红机防篡改版本源码安装教程 2025-09-18
- pbootcms模板文章加浏览权限出现404错误 2025-08-15
- pbootcms文章加了浏览权限后出现404错误 2025-07-09
- pbootcms后台自定义字段多图上传 不能多图拖动解决办法 2025-07-09
- WordPress换域名、批量修改替换网站链接URL最完美教程[新手必看] 2025-03-07
- pbootcms模板首页可以打开 详情页也可以打开 唯独栏目页404是什么原因? 2025-02-25
- 实现WordPress文章添加设置隐藏内容关注公众号可见 2025-02-14
- 苹果cms新手如何搭建,小白入门安装配置详细教程V10版本 2024-12-07
- 如何调用织梦CMS全站30天内热门文章全站最新文章 2024-12-07
- 如何使用织梦CMS模板获取当前栏目ID,适用于做banner判断不同的图片地址 2024-12-07