diff --git a/.htaccess b/.htaccess index d4cdb68..ecf1c05 100644 --- a/.htaccess +++ b/.htaccess @@ -1,3 +1,7 @@ +DirectoryIndex index.php + RewriteEngine on -RewriteCond $1 !^(index\.php|images|robots\.txt|assets|css|js) -RewriteRule ^(.*)$ ./index.php/$1 [L] +RewriteCond $1 !^(index\.php|images|robots\.txt|css|js) +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule ^(.*)$ ./index.php/$1 [L,QSA] \ No newline at end of file