关于伪静态分页

浏览:1857 发布日期:2015/12/08 分类:求助交流 关键字: thinkphp 分页 路由 伪静态
求高手 回答一下啊。。。谢谢

在使用路由类型为2 时
配置内容页路由如下
'URL_ROUTE_RULES' => array(
's_c/:sid'=>'Index/School/S_C',
),
http://localhost/s_c/1.html

内容页里有分页显示
点击分页链接后成
http://localhost/school/s_c/sid/1/p/2.html
我想要的效果
http://localhost/s_c/1/2.html

同时有检索条件路由变成
http://localhost/school/s_c/sid/1/xueweileixing/BachelorDegree/major_direction/工科/p/2.html

理想效果:
http://localhost/s_c/1/p/2/major_direction/不限/其它条件/其它条件内容.html

希望 把
school/s_c/sid ,index/school/S_C
变成 s_c
最佳答案
评论( 相关
后面还有条评论,点击查看>>