RewriteEngine on \nRewriteCond $1 !^(index\\.php|static|files|robots\\.txt) \nRewriteCond %{REQUEST_FILENAME} !-f \nRewriteCond %{REQUEST_FILENAME} !-d \nRewriteRule ^(.*)$ index.php/$1 [L,QSA]