removing index.php from the url without .htaccess |
[eluser]Unknown[/eluser]
Hi, all i would like to ask if i could achive the following with CodeIgniter Default URL: ------------------- http://domain/index.php/controller/method http://localhost/CI/index.php/about/me URL Required: ---------------------- http://localhost/CI/about/me so that index.php is totally removed from the url?
[eluser]TheIgniter[/eluser]
indeed you will need a htaccess to acheive this.
[eluser]cahva[/eluser]
Server cannot read your mind and you will need to tell the server where you would redirect those urls so htaccess is needed. mod_rewrite should always be present at the server. If its not, ask the host to add it. If they dont add it, change host ![]() |
Welcome Guest, Not a member yet? Register Sign In |