联系官方销售客服
1835022288
028-61286886
模板标签里面
采用仿照织梦的伪静态后,调用列表分页的{$pages},显示的分页地址本应是html/chanpinzhanshi/list_1.html 但分页的网址实际是html/list1_.html
二级和三级栏目都是这样的问题,请大神指教下
伪静态配置:
rewrite.php设置:
"(.+)\/([0-9]+)\/([0-9]+)\/([0-9]+)_p([0-9]+).html(.*)" => 'index.php?c=show&id=$4&page=$5',
"(.+)\/([0-9]+)\/([0-9]+)\/([0-9]+).html(.*)" => 'index.php?c=show&id=$4',
"(.+)\/list_([0-9]+).html(.*)" => 'index.php?c=category&dir=$1&page=$2',
"(.+)" => 'index.php?c=category&dir=$1&page=$2',
页面代码:
{module module=image order=displayorder_asc catid=$catid pagesize=9 page=1 sbpage=1 urlrule=list_[page].html}
{/module}
{$pages}
栏目页的模板标签生成工具:https://www.xunruicms.com/doc/code/lists.html