#<IfModule mod_rewrite.so>
#    RewriteEngine on
#    RewriteBase /
#    RewriteCond %{REQUEST_FILENAME} !-f
#    RewriteCond %{REQUEST_FILENAME} !-d
#    RewriteRule ^(.*)$ index.php?/$1 [L]
#<IfModule>


#RewriteEngine on
#RewriteCond $1 !^(index\.php|uploads|fonts|css|js|lib|img|bootstrap|robots\.txt)
#RewriteRule ^(.*)$ index.php/$1 [L]

# index file can be index.php, home.php, default.php etc.
DirectoryIndex index.php

# Rewrite engine
RewriteEngine On

# condition with escaping special chars
RewriteCond $1 !^(index\.php|robots\.txt|favicon\.ico)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ ./index.php/$1 [L,QSA]