Answers for "ci default app url codeigniter apache"

3

.htaccess file for codeigniter

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
Posted by: Guest on November-02-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