Htaccess maintenance redirect

Htaccess maintenance redirect

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

//if you need to allow to a certain IP, add this line
RewriteCond %{REMOTE_ADDR} !^11\.111\.111\.111

How to send email confirmation after form submission
Connecting to a database
Displaying database results
How to use an array
How to edit and replace data
Number format in PHP
Convert unix timestamp to Excel
Combine padding into one single line using CSS
Displaying year using PHP
404 redirect using htaccess
Highlight textarea on click
Htaccess maintenance redirect
Comment out lines in a htaccess file