0
我在CakePHP的页面,看起来像更改URL CakePHP中
www.example.com/posts/next_posts
即我有app/View/posts/next_posts.ctp
,但我有Categories1这,Categories2,Categories3,....在数据库。
如何更改URL,这样我给你的数据库的一个变量,它看起来像
www.example.com/categories1/next_posts
www.example.com/categories2/next_posts
www.example.com/categories3/next_posts