Temporary redirect to maintenance page
snippet in htaccess

Temporary redirect to maintenance page

user3852

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} !^/maintenance\.html$
RewriteRule ^(.*)$ http://domain.com/maintenance.html [R=307,L]