如何在codeigniter的代码中删除index.php? [英] How to remove index.php in codeigniter's code?

查看:115
本文介绍了如何在codeigniter的代码中删除index.php?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从codeigniter中的url中删除index.php。所以在用户指南,有办法通过编辑.htaccess。但我的主机不允许编辑它。有什么办法用codeigniter的代码?感谢。

I want to remove index.php from url in codeigniter . So in user guide, there is way to do it by editing .htaccess.But my host do not allow to edit it. Is there any way to do with codeigniter's code? Thanks.

推荐答案

按照本教程,它将在您的主机上工作。 这里的教程

Follow this tutorial, it will work on your host. Tutorial here

我一直使用这个:)

这篇关于如何在codeigniter的代码中删除index.php?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆