业务经理

微信扫描以上二维码

028-61286886

技术咨询

关键字独立模块、图书独立模块、自定义网页、帮助独立模块

迅睿框架 更新 2025-04-17 19:06:32 大於

关键字独立模块、图书独立模块、自定义网页、帮助独立模块、文章共享模块,,伪静态设置分享!亲测有效


关键字独立模块

https://abc.org/index.php?s=tag   //目标效果https://abc.org/tag/

https://abc.org/index.php?s=tag&name=1   //目标效果https://abc.org/tag/abc.html


图书独立模块

https://abc.org/index.php?s=book   //目标效果https://abc.org/book

https://abc.org/index.php?s=book&c=category&id=1   //目标效果https://abc.org/book/hao/

https://abc.org/index.php?s=book&c=show&id=1   //目标效果https://abc.org/book/hao/1.html

https://abc.org/index.php?s=book&c=son&m=show&id=1   //目标效果https://abc.org/book/read/1.html


帮助独立模块

https://abc.org/index.php?s=help   //目标效果https://abc.org/help/

https://abc.org/index.php?s=help&c=category&id=5   //目标效果https://abc.org/help/hao/

https://abc.org/index.php?s=help&c=category&id=42   //目标效果https://abc.org/help/hao/henhao/

https://abc.org/index.php?s=help&c=show&id=461   //目标效果https://abc.org/help/461.html


文章共享模块

https://abc.org/index.php?c=category&id=1   //目标效果https://abc.org/xinwen/

https://abc.org/index.php?c=category&id=5   //目标效果https://abc.org/xinwen/guonei/

https://abc.org/index.php?c=show&id=7830   //目标效果https://abc.org/xinwen/guonei/7830.html


return [
//关键词库模块
    "tag" => "index.php?s=tag", // tag首页  /tag/
    "tag\/(.+)\.html" => "index.php?s=tag&name=$1",  // tag内容页   tag/{tag}.html
//独立书籍模块
    "book\/read\/([0-9]+).html(.*)" => "index.php?s=book&c=son&m=show&id=$1", // 书章节页 ({pdirname}/{id}.html)
    "book\/([A-za-z0-9 \-\_\/]+)\/([0-9]+)\.html" => "index.php?s=book&c=show&id=$2", //书首页 ({modname}/{pdirname}/{id}.html)
    "book" => "index.php?s=book", //书首页({modname}/)
    "book\/([A-za-z0-9 \-\_]+)" => "index.php?s=book&c=category&dir=$1",  //书分类页 ({pdirname})  
//帮助模块
    "help\/([0-9]+)\.html" => "index.php?s=help&c=show&id=$1", // ({modname}/{id}.html)
    "help" => "index.php?s=help", //({modname})
    "help\/([A-za-z0-9 \-\_]+)" => "index.php?s=help&c=category&dir=$1",  //  ({modname}/{dirname}/)
//自定义网页
    "page\/([A-za-z0-9 \-\_]+)\.html" => "index.php?s=page&dir=$1", // (page/{dirname}.html)
//共享文章模块
    "([A-za-z0-9 \-\_\/]+)\/p([0-9]+)\.html" => "index.php?c=category&dir=$1&page=$2",  //【带栏目路径】栏目列表(分页)({dirname}/p{page}.html)
    "([A-za-z0-9 \-\_\/]+)\/([0-9]+)\.html" => "index.php?c=show&id=$2",  //【带栏目路径】模块内容页({dirname}/{id}.html)
    "([A-za-z0-9 \-\_\/]+)" => "index.php?c=category&dir=$1",  //【带栏目路径】模块栏目列表({dirname})
   
];


特别要注意的是:  id、dir是有区别的,,少个字母就404,,,随意打赏,,拒绝白嫖!



方案

迅睿系统漏洞

独立站群系统
独立站群系统(2026-09-14)
子站独立部署时修复同步附件失败问题
在线客服
在线客服(2026-09-13)
修复删除会话报错问题 删除会话时联动删除聊天图片
在线考试竞赛系统
在线考试竞赛系统(2026-09-12)
增加投票功能 考试功能拓展 注意:更新后需要执行系统更新,更新数...
网上信箱
网上信箱(2026-09-12)
修复新版本兼容问题
GeoSeo收录宝
GeoSeo收录宝(2026-09-12)
1 优化Update.php文件,解决版本在线升级不完整问题 2 ...
GeoSeo工具箱
GeoSeo工具箱(2026-09-11)
修正历史记录推送
微信系统
微信系统(2026-09-11)
增加数据统计总览界面 账号管理增加服务和公众号的区别 菜单管理支持更...
答题系统
答题系统(2026-09-11)
一站式在线答题系统,支持真题考试、题库练习和错题本,适合培训、考证、...
阿里云滑动验证码
阿里云滑动验证码(2026-09-10)
采用阿里云验证码替换迅睿系统自带的图片验证码和滑动验证码。后台设置方...
下载Plus
下载Plus(2026-09-09)
为网站附件下载加上“计数、限次、统计、防护”四重能力:按用户组控制下...