## You can use .htaccess to redirect to another page while on Maintenance Mode.
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} !^/maintenance\.html$
RewriteRule ^(.*)$ http:
==========================================================
The below code sends all users to maintenance.html EXCEPT those with the
specified IP, which just so happened to be us. We got to test the website
while others were locked out. When we were satisfied with the website,
we removed the .htaccess code and the site was back up immediately!
RewriteEngine On
RewriteBase /
RewriteCond %{REMOTE_ADDR} !^11\.111\.111\.111
RewriteCond %{REQUEST_URI} !^/maintenance\.html$
RewriteRule ^(.*)$ http:
## ref links:
https:
https: