If you want to remove index.php from URL in codeigniter? Use the below example code, If you are using Apache place a .htaccess file in your root web directory containing the following:
RewriteRule ^(.*)$ /index.php/$1 [L]
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.