RewriteEngine On # Handle Angular and other front-end framework routes # Send all requests to index.php unless a file or directory exists RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^ index.php [QSA,L]