htaccess rewrite all to index.html
snippet in htaccess

htaccess rewrite all to index.html

user3945

RewriteEngine on
RewriteCond %{REQUEST_URI} !^/maintenance.html$
RewriteRule .* /maintenance.html [L,R=302]