How To Remove Index.Php From CodeIgniter

In this tutorial i am going to show how to remove index.php from url using htaccess file in CodeIgniter. Basically it’s define URL rewrite. By default index.php file will be included in your URLs. You can easily remove this file by using a CodeIgniter htaccess file with some simple rules. Here is an example of such a file.Step:-1 Open the folder “application/config” and open the file “config.php”. find and replace the below code in config.php file.