迅睿CMS框架是一款PHP8高性能·简单易用的CMS开源开发框架,基于MIT开源许可协议发布,免费且不限制商业使用,是免费开源的产品,以万端互联为设计理念,支持的微信公众号、小程序、APP客户端、移动端网站、PC网站等多终端式管理系统。
联系官方销售客服
1835022288
028-61286886
伪静态规则,填写完成,配置好以后,文章的列表页,模块的栏目页点击都直接跳转到首页了,进不去,只有内容页可以用。
是哪出问题了啊,有大神指点一下吗?
现在是:
1、共享模块栏目页打不开(点击以后就跳转到首页了),
2、独立模块主页也打不开。
3、站群子站页面也打不开,还有子站的客户端主页。
1:网站的伪静态配置
<?php /** * URL解析规则 * 例如: 114.html 对应 index.php?s=demo&c=show&id=114 * 可以解析: "114.html" => 'index.php?s=demo&c=show&id=114', * 动态id解析: "([0-9]+).html" => 'index.php?s=demo&c=show&id=$1', */ return [ /***********************系统默认URL解析规则*************************/ 'test.html' => 'index.php?s=test&c=home&m=index', 'test222' => 'index.php?s=test&c=home&m=index', /*-------------------站点[1] 共享栏目[厂商新闻 csxw] 开始-----------------*/ // 栏目列表(分页) "([a-z0-9]+)\/list(\d+)_(\d+).html" => "index.php?c=category&id=$2&page=$3", // 栏目列表 "([a-z0-9]+)\/" => "index.php?c=category&id=$2", // 内容页(分页) "([a-z0-9]+)\/(\d+)_(\d+).html" => "index.php?c=show&id=$2&page=$3", // 内容页 "([a-z0-9]+)\/(\d+).html" => "index.php?c=show&id=$2", /***********************下面写你自己的URL解析规则********************/ "tag\/(.+).html(.*)" => 'tag/index/name/$1', "news.html(.*)" => 'news/home/index/', "page\-([0-9]+).html(.*)" => 'page/index/id/$1', "news\-list\-(.+).html(.*)" => 'news/category/index/dir/$1', "news\/search.html(.*)" => 'news/search/index', "news\/search\-(.+).html(.*)" => 'news/search/index/rewrite/$1', "news\-[0-9]+\/([0-9]+).html(.*)" => 'news/show/index/id/$1', "([\w]+)" => 'category/index/dir/$1', ];
<?php /** * URL解析规则 * 例如: 114.html 对应 index.php?s=demo&c=show&id=114 * 可以解析: "114.html" => 'index.php?s=demo&c=show&id=114', * 动态id解析: "([0-9]+).html" => 'index.php?s=demo&c=show&id=$1', */ return [ // 独立模块 "([a-z]+)" => "index.php?s=$1", "([a-z]+)\/([a-z0-9]+)" => "index.php?s=$1&c=category&dir=$2", "([a-z]+)\/([a-z0-9]+)\/list([0-9]+)_([0-9]+).html" => "index.php?s=$1&c=category&id=$3&page=$4", "([a-z]+)\/([a-z0-9]+)\/([0-9]+)_([0-9]+).html" => "index.php?s=$1&c=show&id=$3&page=$4", "([a-z]+)\/([a-z0-9]+)\/([0-9]+).html" => "index.php?s=$1&c=show&id=$3", "([a-z]+)\/search.htm" => "index.php?s=$1&s=search", "([a-z]+)\/search/(.*).html" => "index.php?s=$1&c=search&rewrite=$2", // 共享栏目 "([a-z0-9]+)" => "index.php?c=category&dir=$1", "([a-z0-9]+)\/list([0-9]+)_([0-9]+).html" => "index.php?c=category&id=$2&page=$3", "([a-z0-9]+)\/([0-9]+).html" => "index.php?c=show&id=$1", "([a-z0-9]+)\/([0-9]+)_([0-9]+).html" => "index.php?c=show&id=$1&page=$2", ];
林正英