泠泠杀手 发表于 2014-3-6 18:11:21

ci的后缀添加后在分页之后出现问题·

简而言之是$config['url_suffix'] = ''; 在这里配置后缀为.html后使用分页类的时候所有的url都会变为ci/index.php/page/note.html/数字
!!!!当我打开第八页的时候ci/index.php/page/note.html/8 会报一个404 Page Not FoundThe page you requested was not found.
!但是使用ci/index.php/page/note/8 的时候可以正常访问!我觉得就是后缀的问题不能识别。在配置中我不适用后缀可以正常使用,我想用后缀,不知道使用过的人是怎么操作的,我用的 $config['base_url']=site_url('page/note');

泠泠杀手 发表于 2014-3-7 10:44:20

搞明白了!!是不支持

Aloghli 发表于 2014-9-15 19:29:11

http://codeigniter.org.cn/forums/thread-19402-1-1.html这里有完美答案
页: [1]
查看完整版本: ci的后缀添加后在分页之后出现问题·