Welcome Guest, Not a member yet? Register   Sign In
remove the neccessity of index.php on url
#1

[eluser]rana[/eluser]
hi,
i am new code-igniter programmer. i found that to call a controller i have to use url like 'http://example.com/index.php/controllername'. but i don't want the index.php to use. how can i remove it? thanks...
#2

[eluser]Colin Williams[/eluser]
Check out the user guide. It's covered there. Covered extensively in the wiki and these forums, too.
#3

[eluser]umefarooq[/eluser]
simple solution use this htaccess file will help you

http://ellislab.com/forums/viewthread/85429/
#4

[eluser]rana[/eluser]
hi, i don't know that much about htaccess. i am on a free web hosting(with cpanel). can i modify that to use htaccess?
#5

[eluser]pistolPete[/eluser]
A .htaccess file is just a file named .htaccess which you upload by ftp.
#6

[eluser]jedd[/eluser]
Hi Rana - Pete's right - it should be a drop-in of the file, and .htaccess files are not all that complex. Have a read up on them, see if your ISP can cope with you uploading one, and if it doesn't work post back here with where you're up to.

Apropos this kind of testing scenario - if you can, I'd really recommend you try doing this kind of testing on your local machine - it'll make life way easier.




Theme © iAndrew 2016 - Forum software by © MyBB