RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ public/index.php [QSA,L]