chilieu/codeigniter-admin-template/master/.htaccess
RewriteEngine on
# force trailing slash
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_URI} !^/?$
#RewriteCond %{REQUEST_URI} !.(jpg|jpeg|gif|png|css|js)$
#RewriteRule ^(.*[^/])$ http://%{HTTP_HOST}/$1/ [L,R=301]
# force www
#RewriteCond %{HTTP_HOST} ^[^.]+.[^.]+$
#RewriteRule ^ https://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
# force https
#RewriteCond %{HTTPS} !=on
#RewriteCond %{HTTP_HOST} !^loanzify$
#RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
# all requests to code igniter index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php?/$0 [PT,L]
On Github License
Files