PHP webdeveloper and frontend developer

How to enable the WordPress maintenance mode

Category : PHP, Wordpress · by Feb 17th, 2013

WordPress has a built-in maintenance feature. By adding a “.maintenance” file to your website’s root directory with the piece of code WordPress will trigger its maintenance mode.

This file is also used during the auto-update process. By using the maintenance mode, users will not see any error messages while you’re updating your WordPress installation or theme. It will generate a default maintenance message but you can override this by adding a maintenance.php file to your wp-content folder. 

This is a standard maintenance page I use:

 The page will look like like this:

Maintenance mode in WordPress


Leave a Reply

Your email address will not be published. Required fields are marked *