美文网首页
phpcms伪静态列表页分页出现404页面解决方法

phpcms伪静态列表页分页出现404页面解决方法

作者: 小祈祈博客 | 来源:发表于2019-02-13 08:35 被阅读0次

修改/phpcms/modules/special/classes/html.class.php中“生成分类页”里面

define('URLRULE', $site_info['domain'].substr(pc_base::load_config('system', 'html_root'), 1).'/special/{$specialdir}/{$typedir}/type-{$typeid}.html~'.$site_info['domain'].substr(pc_base::load_config('system', 'html_root'), 1).'/special/{$specialdir}/{$typedir}/type-{$typeid}-{$page}.html');

红色加粗去掉,即可。主要是url里面多了html,导致不能访问到。

相关文章

网友评论

      本文标题:phpcms伪静态列表页分页出现404页面解决方法

      本文链接:https://www.haomeiwen.com/subject/swcreqtx.html