如连接:c170.cn/topic/,话题广场,第一页没有问题
但是选择第二页时:c170.cn/topic_id-.html__page-2,内容却是发现板块的内容,不是话题列表了。
后台的自定义路由是:
/question/(:any)===/q_(:any).html
/article/(:any)===/a_(:any).html
/topic/(:any)===/t_(:any).html
/topic/page-(:any)===/topic_list/(:any).html //这一条是话题分页的
/people/(:any)===/p_(:any).html
/account/login/===/login/
/account/logout/===/logout/
/account/setting/(:any)/===/setting/(:any)/
nginx的rewrite的规则:
1 location / {
2 if (!-e $request_filename)
3 {
4 rewrite (.*) /index.php;
5 }
6 }
~
请问还需要哪些规则呢
阅读全文
收起全文