Created
August 20, 2013 07:52
-
-
Save bavington/6278354 to your computer and use it in GitHub Desktop.
Declare a 503 Status via PHP for SEO friendly downtime.
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
<?php | |
header('HTTP/1.1 503 Service Temporarily Unavailable'); | |
header('Retry-After: Sat, 8 Oct 2011 18:27:00 GMT'); //How long before you estimate your website will be back. | |
?> | |
<!DOCTYPE HTML> | |
<html> | |
<head> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment