This simple and lightweight WordPress maintenance plugin puts the site into maintenance mode. The major advantage, compared to existing plugins, is that there are no options, it is ready to use!
It was think, while in maintenance mode, to :
– Not impact your SEO by sending a ‘503 Service Unavailable’ status to all unauthenticated clients. This means that it will inhibits search engines from both losing your site’s existing content and indexing your maintenance page as well, so your site will not lose its rankings while it is out of service. Content will even be hidden from consumers of the site’s RSS or Atom feeds.
– Make continually work the login/loggout process.
– It handle the activate process in multisite, which a lot of existing plugins don’t.
– If people are logged in they will have the site displayed as normal/expected.
We would like to precise that this plugin is simple as pie, anyone can use it but still dev-oriented. The idea is to not have a bunch of options to set before using it, in fact not only one! Because, it is a really pain when working on a multisite.
That is why there as still two filter for developers, which come in the section below.
In certain conditions, it is useful to not trigger the maintenance mode. That’s why you can add a file to your project (mu-plugins) to specify a range of IPs to whitelist. At the agency we use it with our VPN IP.
Please find an example of implementation on the following github;
Customize the maintenance mode template
By default it is the file located in the templates folder : maintenance.php
But you can customize this template using the following implementation on github, with a custom template placed wherever you want.
It is possible to activate the plugin by composer
wp plugin activate beapi-maitenance-mode [--network]
If you are a developer and the plugin is not installed, you could also just use a dedicated composer command.
This plugin is only maintained, which means we do not guarantee some free support. Consider reporting an issue and be patient.
To facilitate the process of submitting an issue and quicker answer, we only use Github, so don’t use WP.Org support, it will not be considered.