CodeIgniter Subfolder .htaccess setup

When you are going to setup  CodeIgniter in live sufolder. There you need to create .htaccess file.

RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f 
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /admin/index.php?/$1 [L]

Most Popular

How to select first div and change data of its.

The difference between React vs AngularJs