

默认进入栏目页是 https://www.91084.com/svip/
点击分页条下一页后,再点击上一页,也就是回到第一页时,变成了
https://www.91084.com/svip/list_1.html
第一页时应该还是栏目默认页 https://www.91084.com/svip/ 才对,现在是默认页与第一页重复了
- 解决方案
打开 /include/arc.listview.class.php 找到 (大概在1003行)
$tnamerule = preg_replace("/^(.*)\//", '', $tnamerule);
在它下面加入
$typedir = GetOneTypeUrlA($this->Fields);
如图

继续找到,大概在1008行的
$prepagenum,$tnamerule
改成
$prepagenum,($prepagenum==1) ? $typedir : $tnamerule
如图


最后找到,大概在1076行的
$j,$tnamerule
改成
$j,($j==1) ? $typedir : $tnamerule
如图


重新生成栏目列表,刷新浏览器看效果