/ Published in: CSS
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
# MAINTENANCE-PAGE REDIRECT RewriteEngine on RewriteCond %{REMOTE_ADDR} !^123\.456\.789\.000 RewriteCond %{REQUEST_URI} !/maintenance.html$ [NC] RewriteRule .* /maintenance.html [R=302,L]
URL: http://perishablepress.com/press/2010/05/19/htaccess-redirect-maintenance-page-site-updates/