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

迅睿框架 更新 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,,,随意打赏,,拒绝白嫖!



方案

迅睿系统漏洞

GeoSeo收录宝
GeoSeo收录宝(2026-09-01)
升级 ai智能发布功能 升级 支持8国语言后端设置和前端输出功能 ...
Word发布批量上传
Word发布批量上传(2026-08-31)
版本覆盖问题重发
多语言翻译Seolang
多语言翻译Seolang(2026-08-31)
新增 LLM 大模型对话翻译模块 配置层强类型化重构 URL 模...
自定义存储
自定义存储(2026-08-30)
同步服务器端通用版实现,统一管理端、CMS 端和浏览器直传的提示与错...
GeoSeo工具箱
GeoSeo工具箱(2026-08-29)
新增 bing推送 新增 IndexNow推送 新增 baidu...
外贸多语言建站
外贸多语言建站(2026-08-27)
新增阿里云专业版入口 新增阿里云自动识别字符格式
Querylist渐进式采集
Querylist渐进式采集(2026-08-26)
增加范围截取规则
实时任务
实时任务(2026-08-26)
补充并整理完整使用说明、历史版本更新日志,统一帮助页样式。