Created
September 15, 2010 12:06
-
-
Save allmarkedup/580635 to your computer and use it in GitHub Desktop.
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
RewriteCond %{HTTP_HOST} ^[www\.]?domain\.com | |
RewriteCond %{REQUEST_URI} !/holdingpage.html$ | |
RewriteRule ^(.*)$ /holdingpage.html [L,R=307] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I always seem to forget how to do this... it will basically redirect all traffic from the main domain to a holding page, but you will still be able to access the site via another domain parked on top of the main domain. Useful for development or maintenance.