Answers for "codeigniter version 2 index php htaccess"

PHP
-1

remove index.php in codeigniter

RewriteEngine on
RewriteCond $1 !^(index\.php|resources|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L,QSA]
Posted by: Guest on June-21-2020
1

removing index.php in codeigniter

//find the below code   
$config['index_page'] = "index.php" 
//replace with the below code
$config['index_page'] = ""
Posted by: Guest on October-14-2020

Browse Popular Code Answers by Language