How to get rid of index.php in codeigniter?
I was creating my first codeigniter project. I like this framework very
much. But is there anyway to remove index.php page from the url ? Beside
.htaccess ? Like i using form helper class to generate form. with this
code
<?= form_open('site/login'); ?>
And the URL came out
<form action="http://localhost/index.php/site/login" method="post"
accept-charset="utf-8">
It would be great if somebody share how to do it. Thanks
No comments:
Post a Comment