[SOLVED] URL rewriting with CI |
[eluser]Unknown[/eluser]
Hello, I'm developing a little website to find some POI. So really easy on my home page I have 2 searchfield "Where" and "What" So If i enter "London" "Restaurants" I send the search field variables to my controller that will work and return me some results.. OK until here.. But I can do for example if I enter an URL like this http://localhost/London/Restaurant So here the controller will receive where=London an What=Restaurant ? Because now I have to make it works I have to do that http://localhost/index.php/welcome/index...Restaurant I would like to remove the index.php and the variable name (Where and what). How can I do that? With URL rewriting ? If so How Can I do it with CI ? Thank you |
Welcome Guest, Not a member yet? Register Sign In |