Created
April 23, 2019 06:11
-
-
Save WordPress-Handbuch/2971854a51b1df607511b3e99a84fe53 to your computer and use it in GitHub Desktop.
WordPress 5 dropin /wp-content/maintenance.php, a custom maintenance message when using the .maintenance-mechanism in the main directory
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: 3600'); | |
?><!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Website wird gewartet</title> | |
</head> | |
<body> | |
<h1>Eine eigene Wartungsmeldung bei Einsatz des .maintenance-Mechanismus im Hauptverzeichnis</h1> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment