<IfModule mod_rewrite.c>
    RewriteEngine On

    # Do not rewrite existing files or directories.
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]

    # Route all other requests through the front controller.
    RewriteRule ^ index.php [L,QSA]
</IfModule>

DirectoryIndex index.php
