RewriteEngine On

# If the request is for an actual existing file or folder, allow it
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

# Otherwise, send everything to index.php
RewriteRule ^(.*)$ index.php [L,QSA]
