How to put a WordPress site into maintenance without hurting SEO: the 503 status and Retry-After header, how the core .maintenance file works, a custom maintenance.php, an mu-plugin with admin bypass, and an Nginx flag file that works even with page caching.