联系官方销售客服
1835022288
028-61286886
独立模块中伪静态设置,使用栏目的目录名称当做url,除去模块目录,但出现栏目不存在的错误,各位大神请问如何改?详细如下:
// 独立模块测试规则---解析规则----开始
"([\w]+)" => "index.php?s=$1", //【独立模块测试规则】模块首页({modname}/)
"([a-z0-9]+)\/([0-9]+)" => "index.php?s=$1&c=category&dir=$2&page=$3", //【独立模块测试规则】模块栏目列表(分页)({dirname}/{page}/)
"([a-z0-9]+)-([0-9]+)" => 'index.php?c=category&dir=$2', //【独立模块测试规则】模块栏目列表({dirname}/)
"([a-z0-9]+)\/([0-9]+)-([0-9]+).html" => "index.php?s=$1&c=show&id=$3&page=$4", //【独立模块测试规则】模块内容页(分页)({{dirname}/{id}-{page}.html)
"([a-z0-9]+)\/([0-9]+).html" => "index.php?s=$1&c=show&id=$3", //【独立模块测试规则】模块内容页({dirname}/{id}.html)
"([a-z]+)\/search\/(.+).html" => "index.php?s=$1&c=search&rewrite=$2", //【独立模块测试规则】模块搜索页(分页)(search/{param}.html)
"([a-z]+)\/search.html" => "index.php?s=$1&c=search", //【独立模块测试规则】模块搜索页({search}/so.html)
// 独立模块测试规则---解析规则----结束