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.