RewriteEngine on
RewriteCond $1 !^(index\.php|images|uploads|css|translation|js|robots\.txt|.well-known)
RewriteRule ^(.*)$ index.php/$1 [L]