联系官方销售客服
1835022288
028-61286886
联动菜单。的伪静态链接怎么整?最后一步了,求帮忙解决。
https://www.177kd.com/jingdongfang/
以下是我现在的规则
<?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 [ "tag" => "index.php?s=tag", // tag插件聚合首页 "tag\/(.+)\.html" => "index.php?s=tag&name=$1", // tag插件 "([A-za-z0-9 \-\_]+)" => "index.php?c=category&dir=$1", //【共享栏目规则】模块栏目列表(/{dirname}/) "([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 \-\_]+)\/([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-za-z0-9 \-\_]+)\/([A-za-z0-9 \-\_]+)_([0-9]+)\.html" => "index.php?c=category&dir=$2&page=$3", //【频道专用】模块栏目列表(分页)(/{otdirname}/{dirname}_{page}.html) "([A-za-z0-9 \-\_]+)\/([A-za-z0-9 \-\_]+)\.html" => "index.php?c=category&dir=$2", //【频道专用】模块栏目列表(/{otdirname}/{dirname}.html) "tag\/p([0-9]+).html" => "index.php?s=tag&page=$1", // tag插件聚合首页分页 'sitemap.xml' => 'index.php?s=sitemap&c=home&m=xml&page=998', // sitemap.xml地图规则 'sitemap.txt' => 'index.php?s=sitemap&page=999', // sitemap.txt地图规则 'tag.txt' => 'index.php?s=sitemap&c=home&m=tag&page=998', // tag.txt地图规则 "tag\/(.+)\-([0-9]+)\.html" => "index.php?s=tag&name=$1&page=$2", // tag插件分页 "([a-z]+)\/search\.html" => "index.php?s=$1&c=search", //【共享模块搜索规则】模块搜索页({modname}/search.html) "([a-z]+)\/(.+)\.html" => "index.php?s=$1&c=search&rewrite=$2", //【共享模块搜索规则】模块搜索页(分页)({modname}/{param}.html) ];