How to change default ROUTING in Codeigniter
One of the most common problem that a beginner faces with Codeigniter is the presence of index.php in the URL just before the name of the controller. This makes the URL look odd. Also, whenever developers are trying to form a link during the development of a project, it becomes mandatory for the developer to add index.php in the URL otherwise the application does not work and keeps on providing a 404 Error (Not Found). So, in order to make the URL of the codeigniter user friendly , we can use .htaccess file. This .htaccess file helps us in changing the default routing behavior of Codeigniter. This .htaccess file contains some line of code which can help us achieve our target and it is placed in the root directory of…