How to remove index.php from url in CodeIgniter
just create a .htaccess file in the root and write these listed below entries:
---------------------------------------------------------------------
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php/$0 [PT,L]
---------------------------------------------------------------------
just create a .htaccess file in the root and write these listed below entries:
---------------------------------------------------------------------
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php/$0 [PT,L]
---------------------------------------------------------------------