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

迅睿框架 更新 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-10-15)
子站域名新增llms.txt访问
GEO系统
GEO系统(2026-10-14)
修复下载zip空白地址问题 修复流量复刻和任务队列错误
GeoSeo收录宝
GeoSeo收录宝(2026-10-14)
新增 站长工具箱 前端首页自动调用meta 数据
滑块验证码 Gocaptcha
滑块验证码 Gocaptcha(2026-10-13)
基于开源项目 go-captcha 的行为验证码插件,滑动拼图、区域...
GeoSeo工具箱
GeoSeo工具箱(2026-10-13)
优化巡检任务
GeoSeo排名助手
GeoSeo排名助手(2026-10-11)
加入大模型自定义
SEO聚合关键字
SEO聚合关键字(2026-10-11)
优化关键字列表页最多支持1万篇文章,过多会导致服务器扛不住;
CMS内容同步复制
CMS内容同步复制(2026-10-10)
增加时间是否更新的开关