codeigniter 3 htaccess
<?php
#By default, the index.php file will be included in your URLs:
# Create a .htaccess file in your root folder and paste the below code
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
?>
0
4
RewriteEngine on
# RewriteCond $1 !^(index\.php)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L,QSA]
Thank you!
4
0
4.5
2
//find the below code
$config['index_page'] = "index.php"
//replace with the below code
$config['index_page'] = ""
Thank you!
2
0
Are there any code examples left?
New code examples in category Other