Created
May 16, 2016 15:27
-
-
Save olivertappin/405fbd98b45a3af15f9035961a184af9 to your computer and use it in GitHub Desktop.
Maintenance page .htaccess
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintenance page | |
RewriteCond %{REMOTE_ADDR} !^000\.000\.000\.000 | |
RewriteCond %{REQUEST_URI} !^/maintenance\.php$ | |
RewriteCond %{REQUEST_URI} !^/company-logo.png$ | |
RewriteRule ^(.*)$ https://www.domain.com/maintenance.php [R=307,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment