Welcome Guest, Not a member yet? Register   Sign In
Removing index.php file from URI
#1

[eluser]Tanvir[/eluser]
Hello, I am new to codeigniter. Every time I type the URL, I have to put the index.php/controller name . How can I get rid of this index.php URI part. I want to use the URI this way- ..localhost/mySite/controller name .
I tried deleting the index.php from $config['index_page'] = 'index.php'; and then typing localhost/mySite/controller name, but it didnt work. I need to add the index.php URI part to get to the controller class.
#2

[eluser]wr5aw[/eluser]
Have a look at this - http://codeigniter.com/wiki/mod_rewrite/




Theme © iAndrew 2016 - Forum software by © MyBB