Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
WordPress 5 dropin /wp-content/maintenance.php, a custom maintenance message when using the .maintenance-mechanism in the main directory
header('HTTP/1.1 503 Service Temporarily Unavailable');
header('Status: 503 Service Temporarily Unavailable');
header('Retry-After: 3600');
?><!DOCTYPE html>
<meta charset="UTF-8">
<title>Website wird gewartet</title>
<h1>Eine eigene Wartungsmeldung bei Einsatz des .maintenance-Mechanismus im Hauptverzeichnis</h1>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment