<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_URI} !index\.php$
    RewriteRule .* index.php [L,QSA]
</IfModule>
