Created
May 12, 2014 10:38
-
-
Save opnchaudhary/82410a2062de5a626532 to your computer and use it in GitHub Desktop.
503 page for WordPress
This file contains hidden or 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
<?php | |
header(“HTTP/1.1 503 Service Temporarily Unavailable”); | |
header(“status: 503 Service temporarily Unavailable”); | |
header(“Retry-After: Mon 1 April 2013 00:00 GMT”); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
.htaccess file
ErrorDocument 503 /503.php RewriteEngine on RewriteBase / RewriteCond %{ENV:REDIRECT_STATUS} !=503 RewriteCond %{REMOTE_HOST} !^111.111.111.111$ RewriteCond %{REQUEST_URI} !robots.txt$ [NC] RewriteRule ^ - [L,R=503]