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');
搞明白了!!是不支持 http://codeigniter.org.cn/forums/thread-19402-1-1.html这里有完美答案
页:
[1]