Ready to get started?Download WordPress

Plugin Directory

WP Maintenance Mode

Adds a splash page to your site that lets visitors know your site is down for maintenance. Full access to the back- & front-end is optional.

Adds a maintenance-page to your blog that lets visitors know your blog is down for maintenancetime. User with rights for theme-options get full access to the blog including the frontend. Activate the plugin and your blog is in maintenance-mode, works and see the frontend, only registered users with enough rights. You can use a date with a countdown for informations the visitors or set a value and unit for infomrations. Also you can add urls for exlude of maintenance mode.

Use the shortcode [loginform] for easy use a login form on the maintenance page.

Adding Custom CSS

In plugin settings, choose the "Own CSS Style" in the CSS Style dropdown. Then enter the full URL to your stylesheet in the textbox underneath.

Custom HTML

You can add your own html by dropping a wp-maintenance-mode.php file in the wp-content folder. It will automatically be used instead of the default html. The default html Markup and my source for countdown and more find you in the site.php inside the plugin folder of this plugin.

Custom Content

You can also add content via these hook:

  • wm_head - hook inside the head of the maintenance mode site
  • wm_content - hook over the content, after the div with id content
  • wm_footer - hook inside the footer


function add_my_link() {
    echo '<a href="http://mylink.com/">My Link</a>
add_action( 'wm_footer', 'add_my_link' );

More hooks for meta data inside the head. The <meta> tag provides metadata about the HTML document. Metadata will not be displayed on the page, but will be machine parsable. You can change the data for 3 different meta data values:

  • wm_meta_author - Define the author of a page
  • wm_meta_description - Define a description of your web page
  • wm_meta_keywords - Define keywords for search engines

More hooks for other data, if the settings possibilities is not enough.

  • wm_title - Filter the title on splash page
  • wm_header - Filter for header string on splash page
  • wm_heading - Filter for the heading string


  1. WordPress version 3.0 and later, works also on Multisite
  2. PHP 5

Bugs, technical hints or contribute

Please give us feedback, contribute and file technical bugs on GitHub Repo.

Work with MySQLDumper

This option is designed for users, who backups their database with "MySQLDumper". With this option you can switch your WordPress into maintenance mode, when you create a database-backup with MySQLDumper. This is very usefull especially for larger blogs, because their backup takes a longer time. With this option enabled, you have the guarantee of a clean and full backup of your database. All other requests to your database from other resources were blocked in the time of the backup and all the performance of the MySQL-Server will be taken for the backup.

How to use

  • MySQLDumper must be installed and has to run full funtionally. This includes the crontab, MySQLDumper uses.

How to install MySQLDumper: Please visit the official website for several tutorials and videotutorials where you can see, how to install MySQLDumper.

To configure the automatic backup with MySQLDumper: Please visit the official website for informations about the full automatic backup of your database with perl and crontab.

  • Maintenance Mode must be installed and all needed options must be set.
  • After that, go to your Dumper-settings -> Configuration -> Databases. There you have two options ->Command before Dump ->Command after Dump
  • On the right you find a link named "SQL Commands", after you click this link, you can set the two queries for the automatic backup.
  • Click the link "new command", give it a name like "activate maintenance mode" and paste the code below in the required field and finally save this command:

    UPDATE 'wp-database'.'wp-prefix_options' SET 'option_value' = '1' WHERE 'wp-prefix_options'.'option_name' = 'wp-maintenance-mode-msqld';

  • Now you can set the second command to deactivate the maintenance mode like the first one with this code:

    UPDATE 'wp-database'.'wp-prefix_options' SET 'option_value' = '0' WHERE 'wp-prefix_options'.'option_name' = 'wp-maintenance-mode-msqld';


You must edit three places of the code to your options:

  • wp-database -> put here the name of your database.
  • wp-prefix_options -> put here the name of your options-table with the prefix you use (normally wp_options). This you must edit twice in the code!

When you have edited the code, save the two commands and go back to the MySQLDumper Configuration. Now you can choose the commands in the required field. For "Command before Dump" use the Command you named like "activate maintenance mode" and for "Command after Dump" use the other, named like "deactivate maintenance mode".

Don't forget to save these settings! After that, your WordPress will be switch in maintenance mode, when Dumper is backup your database!

Frequently Asked Questions for MySQLDumper

Please visit the official website for general informations about MySQLDumper.

How to: Backup with maintenance mode and MySQLDumper (illustrated Tutorial in german language)

Please visit Automatisches Backup der WordPress-Datenbank

Cache Plugin Support

The plugin flush the cache on activate the maintenance mode form the plugins W3 Total Cache and WP Super Cache

Requires: 3.0 or higher
Compatible up to: 3.9.2
Last Updated: 2014-7-7
Downloads: 1,208,004


4 stars
4.4 out of 5 stars


0 of 10 support threads in the last two months have been resolved.

Got something to say? Need help?


Not enough data

1 person says it works.
0 people say it's broken.

100,1,1 100,1,1
100,1,1 100,1,1
100,8,8 0,1,0 100,10,10 100,1,1 100,4,4 100,1,1
100,1,1 86,7,6 83,6,5 67,3,2 100,1,1 100,1,1
57,7,4 100,1,1 75,4,3 78,9,7
0,1,0 100,1,1
100,1,1 100,1,1
0,1,0 60,10,6
80,5,4 0,1,0
40,5,2 0,1,0
100,1,1 100,4,4 100,3,3
100,1,1 50,2,1 0,1,0 100,1,1
94,16,15 50,8,4 67,3,2 100,2,2
76,17,13 100,1,1
67,3,2 100,3,3 89,9,8 100,1,1 80,5,4 100,3,3 100,1,1
100,1,1 100,11,11 100,1,1
50,2,1 100,8,8 77,13,10 67,9,6 75,4,3 80,5,4
100,2,2 100,3,3 0,11,0
100,1,1 100,4,4