Welcome Guest, Not a member yet? Register   Sign In
Is php extension required for URL routing?
#1

[eluser]Unknown[/eluser]
Is the php extension required for URL routing, i.e.

Quote:http://localhost/welcome.php/index

How can I eliminate the php extension to create the following url instead?

Quote:http://localhost/welcome/index
#2

[eluser]Colin Williams[/eluser]
On Apache, you use a module called mod_rewrite. See "Removing the index.php file" at http://ellislab.com/codeigniter/user-gui.../urls.html

Also see a more robust solution at http://codeigniter.com/wiki/mod_rewrite/




Theme © iAndrew 2016 - Forum software by © MyBB