CodeIgniter - How to hide index.php from the URL
snippet in htaccess

CodeIgniter - How to hide index.php from the URL

user7424

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /folder/index.php/$1 [L]