联系官方销售客服
1835022288
028-61286886
插件 | 建站系统 V3.17 |
应用作者 | 迅睿官方团队 |
发布时间 | 2022-03-01 15:30:06 |
更新时间 | 2024-12-19 10:00:07 |
4.5.3 4.5.4版本 伪静态的内容页url不唯一 怎么解决呢?
https://www.vla.cn/dnwx/1968.html (目标页面)
以下url可任意构造访问到页面
https://www.vla.cn/diannao/1968.html
https://www.vla.cn/diannaoaaaaa/1968.html
https://www.vla.cn/diannaobbbbb/1968.html
https://www.vla.cn/diannaocccccc/1968.html
目前设置的伪静态规则如下
/***********************下面写你自己的URL解析规则********************/
"([A-za-z0-9 \-\_]+)\/list_([0-9]+)_([0-9]+)\.html" => "index.php?c=category&dir=$1&page=$3", //【共享栏目测试规则】模块栏目列表(分页)({dirname}/list_{id}_{page}.html)
"([A-za-z0-9 \-\_]+)" => "index.php?c=category&dir=$1", //【共享栏目测试规则】模块栏目列表({dirname}/)
"([A-za-z0-9 \-\_]+)\/([0-9]+)-([0-9]+)\.html" => "index.php?c=show&id=$2&page=$3", //【共享栏目测试规则】模块内容页(分页)({dirname}/{id}-{page}.html)
"([A-za-z0-9 \-\_]+)\/([0-9]+)\.html" => "index.php?c=show&id=$2", //【共享栏目测试规则】模块内容页({dirname}/{id}.html)
"([a-z]+)\/search\/(.+)\.html" => "index.php?s=$1&c=search&rewrite=$2", //【共享模块测试规则】模块搜索页(分页)({modname}/search/{param}.html)
"([a-z]+)\/search\.html" => "index.php?s=$1&c=search", //【共享模块测试规则】模块搜索页({modname}/search.html)
"([a-z]+)" => "index.php?s=$1", //【独立模块测试规则】模块首页({modname}/)
"([a-z]+)\/([0-9]+)\/([0-9]+)\.html" => "index.php?s=$1&c=category&id=$2&page=$3", //【独立模块测试规则】模块栏目列表(分页)({modname}/{id}/{page}.html)
"([a-z]+)\/([0-9]+)" => "index.php?s=$1&c=category&id=$2", //【独立模块测试规则】模块栏目列表({modname}/{id}/)
"([a-z]+)\/show-([0-9]+)\/([0-9]+)\.html" => "index.php?s=$1&c=show&id=$2&page=$3", //【独立模块测试规则】模块内容页(分页)({modname}/show-{id}/{page}.html)
"([a-z]+)\/show-([0-9]+)\.html" => "index.php?s=$1&c=show&id=$2", //【独立模块测试规则】模块内容页({modname}/show-{id}.html)
开启唯一模式