Welcome Guest, Not a member yet? Register   Sign In
removing index.php from the url without .htaccess
#1

[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?
#2

[eluser]TheIgniter[/eluser]
indeed you will need a htaccess to acheive this.
#3

[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 Smile




Theme © iAndrew 2016 - Forum software by © MyBB