Categories CodeIgniter

Remove index.php from URL in CodeIgniter

Remove index.php from URL in codeIgniter. Open and make .htaccess file in the root and follow these steps. Step 1 : Make .htaccess file in root location i.e along with application folder Step 2 : Write this code into .htaccess file. RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L]

Read More