OrangeRind OrangeRind - 5 months ago 8x
PHP Question

How to remove "index.php" in codeigniter's path

How do I remove the

sticking out in every path in codeigniter somewhere in the center?
I want clean non
index.php-fied URLs


If you are using Apache place a .htaccess file in your root web directory containing the following:

RewriteEngine on
RewriteCond $1 !^(index\.php|[Javascript / CSS / Image root Folder name(s)]|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]

Another good version is located here: