Skip to content

Instantly share code, notes, and snippets.

@mav2287
Created March 31, 2022 20:54
Show Gist options
  • Save mav2287/8450717ed4189f9ab25c2ad25ff82ab0 to your computer and use it in GitHub Desktop.
Save mav2287/8450717ed4189f9ab25c2ad25ff82ab0 to your computer and use it in GitHub Desktop.
Wordpress Indefinite Maintenance File
<?php
$upgrading = time();
?>
@mav2287
Copy link
Author

mav2287 commented Mar 31, 2022

Putting this file in the root directory of your Wordpress installation will put the site into maintenance mode indefinitely. To end maintenance mode just delete the file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment