在使用路由类型为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
最佳答案