Skip to content

This is handy in instances where you don't want to use any additional plugins to put a WordPress site on maintenance.

Notifications You must be signed in to change notification settings

manoj-lk-code/wordpress-maintenance-mode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

Wordpress-maintenance-mode

This is handy in instances where you don't want to use any additional plugins to put a WordPress site on maintenance. This code utilized the WordPress default upgrade maintenance code with a custom maintenance html template.

How to GET STARTED and

Enable Wordpress maintenance mode?

  • Download the latest version of the ZIP file.
  • Extract it into your wordpress installation directory.

This should be enough. There's also a chance that the extracted file will generate a new folder called wordpress-maintenance-mode-main. Simply relocate/move all files in this folder to the wordpress installation directory in such circumstances.

How to Disable Wordpress maintenance mode?

  • Rename .maintenance file to .maintenance-old

Note

  • If you don't see maintenance mode when you visit the site, it probably because of the cache.

Screenshot of the maintenance mode:

image

About

This is handy in instances where you don't want to use any additional plugins to put a WordPress site on maintenance.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages