Description
Rokku Maintenance Mode lets administrators easily enable a maintenance mode for their WordPress site.
When enabled, non-logged-in visitors will see a custom maintenance page with:
- A custom logo
- A headline message
- A WYSIWYG text message
The WordPress admin bar turns red while maintenance mode is active, and an admin notice is displayed.
Perfect for site updates or temporary downtime, without the complexity.
License
This plugin is licensed under the GPLv2 or later.
Installation
- Upload the
rokku-maintenance-mode
folder to the/wp-content/plugins/
directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Navigate to Settings > Maintenance Mode to configure.
FAQ
-
Will this affect logged-in administrators?
-
No. Administrators (users with
manage_options
capability) will see the normal site. -
Can I upload a logo?
-
Yes, you can upload a logo using the WordPress Media Library.
-
Will search engines be affected?
-
Yes. The plugin returns a 503 Service Unavailable status code while active, which tells search engines the downtime is temporary.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Rokku Maintenance Mode” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Rokku Maintenance Mode” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.4
- Improved code organization and standards compliance:
- Updated all function names, options, and constants to use unique prefix
- Removed deprecated textdomain loading for WordPress 5.0+
- Properly enqueued all styles using WordPress functions
- Improved maintenance page template with proper wp_head/wp_footer
- Added version numbers to all assets for better caching
- Improved code organization and maintainability
1.3
- Added comprehensive security improvements:
- Added nonce verification for maintenance mode toggle
- Implemented rate limiting for status changes
- Added security headers (CSP, X-Frame-Options, etc.)
- Enhanced maintenance page template security
- Added REST API endpoints with proper auth checks
- Improved error handling and validation
- Added responsive design improvements
- Removed debug logging in production
- Improved maintenance page styling and accessibility
1.2
- Fixed maintenance mode detection and display
- Added proper template redirect priority
- Improved settings handling and caching
- Added REST API support for settings
- Added debugging capabilities
1.1
- Added media uploader support for logo upload
- Replaced checkbox with styled on/off toggle
- Cleaned code for WordPress.org submission