seacms-net/CMS

伪静态下专题不能翻页的解决办法

Opened this issue · 0 comments

apache环境下:
修改伪静态规则配置文件 data/admin/ApacheRule.config:

RewriteRule {topicDirName}/(.*?){fileSuffix}$ {topicDirName}/\?$1{fileSuffix}
修改为:
RewriteRule {topicDirName}/index(.*?){fileSuffix}$ {topicDirName}/\?$1{fileSuffix}

iis环境下:
修改伪静态规则配置文件data/admin/RewriteRule.config:

RewriteRule ^(.*)/{topicDirName}/(.+?)\{fileSuffix}$ $1/{topicDirName}/index\.php\?$2\{fileSuffix}
修改为:
RewriteRule ^(.*)/{topicDirName}/index(.+?)\{fileSuffix}$ $1/{topicDirName}/index\.php\?$2\{fileSuffix}

最后删除根目录下已经生成的伪静态规则,重新生成即可