RewriteEngine On RewriteCond %{REQUEST_URI} !dispatch\.php$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule .* dispatch.php [L,QSA]