What do you mean by routing in Codeigniter?
It is the process of taking a URI endpoint and decomposing it into parameters to determine module controller and action of that controller should receive the request.
CodeIgniter has a userfriendly URI routing rule so that we can re-route URL easily . There is a one-to-one relationship between a URL string and its corresponding controller class and its methods.
Routing is a technique through which we can converts SEO friendly URLs into a server code format that easily understandable.
We can manage these from routes.php
file at the located in application/config
.
BY Best Interview Question ON 13 Jan 2019