RewriteEngine On RewriteRule ^index.html$ / [QSA,R] RewriteRule .*? index.php