I hate the codeigniter custom urls where it’s: domain.com/controller/action/id
How can I have it like a normal website like: domain.com/controller.php
Anyone know how to disable that?
(using the latest codeigniter)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you hate it, you might be not ready to jump in a framework like codeigniter. Rest like urls are a big feature, so the url has some actually meaning, and not just a pointer for something. It’s ok if you are used to something like
example.com/person.php?id=123&action=seeprofile, instead ofexample.com./person/profile/123but how can’t you see the beauty of it? You just should check out some experts explaining why you should do it like that, and why everyone else are doing it like that.EDIT:
You should check this pages of the docs, so you can understand the neat of this great feature.
http://codeigniter.com/user_guide/general/controllers.html#passinguri
http://codeigniter.com/user_guide/general/routing.html
http://codeigniter.com/user_guide/libraries/uri.html