Answers for "Codeigniter 4 .htaccess"

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
0

codeigniter 3 htaccess

RewriteEngine on
# RewriteCond $1 !^(index\.php)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L,QSA]
Posted by: Guest on March-24-2021

Browse Popular Code Answers by Language