Created
January 20, 2013 10:07
-
-
Save justyns/4577644 to your computer and use it in GitHub Desktop.
Rewrite rule to redirect all requests to a temporary maintenance page
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
# HTACCESS Rewrite rule to redirect all requests to a temporary maintenance page | |
RewriteEngine On | |
RewriteBase / | |
RewriteCond %{REQUEST_URI} !^/maintenance\.html$ | |
RewriteRule ^(.*)$ http://justynshull.com/maintenance.html [R=307,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment