【发布时间】:2013-10-17 02:14:42
【问题描述】:
我可以通过在 CI config.php 中添加后缀“.html”来将页面 example.com/index.php/products/view/shoes 作为 example.com/index.php/products/view/shoes.html文件。 [参考:http://ellislab.com/codeigniter/user-guide/general/urls.html]
但是当我在分页中生成链接时,后缀不会添加到生成的指向其他页面的链接中。
有没有可以通过配置进行设置或者需要修改库文件。
【问题讨论】:
-
你所说的“后缀”是什么意思?你能在这里发布一些例子或代码吗?
-
更新了更多细节。