CodeIgniter is one of the best and popular php framework available today. Sometimes we need to remove the default index.php that appears in the url of codeigniter application, so that the url becomes more cleaner and search engine friendly. With the help of .htaccess file it’s very easy to do so.
Paste the follwing code into your .htaccess file which is on root folder of website, it will remove default index.php from your urls in codeigniter:

codeigniter_htaccess