- Details
- Getting Started
- Changelog
Description
Simple Maintenance Redirect allows site administrators to enable maintenance mode by redirecting visitors to one of your specified pages (without header and footer) or an external URL instead of complicating things with all kinds of confusing settings. Logged-in administrators can still access the site normally, ensuring a seamless workflow while updates are made.
Features:
- Custom Maintenance Page: Redirects visitors to a selected WordPress page while the site is in maintenance mode.
- Maintenance Page Modifications: Automatically hides the header and footer on the maintenance page and adds a
maintenance-modeclass to the body element for further customization. - External Redirect Option: Redirect to an external URL instead of a WordPress page if needed.
- Admin Bypass: Logged-in administrators can continue working on the site without redirection.
- Omit Specific Pages: Choose individual pages that should never redirect, even while maintenance mode is active, using a simple searchable page picker.
- Redirect Status Code: Choose between 302 (default), 307, or 503 depending on whether this is a quick temporary redirect or genuine maintenance downtime.
- REST API Exemption: REST API (wp-json) requests are exempt from redirection by default, so the block editor, app connections, and other plugins that rely on REST keep working. This can be disabled if you specifically want to block REST access too.
- Developer Hook: Modify rules for when a user should be redirected. See our developer docs for details.
How It Works:
- Create and publish a page with your custom maintenance message.
- Go to Settings > Simple Maintenance Redirect and choose a Maintenance Mode Page or enter an External URL.
- When enabled, visitors will be redirected to the selected page or URL, using the redirect status code you've chosen. Logged-in administrators can still access the site.
- The plugin does not affect the login page. REST API/JSON requests are exempt by default, and individual pages can be added to the omit list.
This plugin is great for "coming soon" pages, staging site protection, design previews, or any situation where you need to hide the main site while keeping access for yourself.
Demo
Screenshots
FAQ
Can I customize the maintenance page?
What redirect status code should I use?
Why does the redirect sometimes stay after I disable maintenance mode?
Why can't I access wp-login.php while maintenance mode is on?
Where can I request features and get further support?
Installation
1. Upload the plugin files to the /wp-content/plugins/simple-maintenance-redirect/ directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Go to Settings > Simple Maintenance Redirect.
What Next?
How-To GuideDeveloper Docs1.2.0.1
- Tweak: Updated demo video
- Fix: Settings action link on plugins page going to old settings page
1.2.0
- New: Dedicated settings page under Settings > Simple Maintenance Redirect (moved off Settings > General)
- New: Omit specific pages from maintenance redirect, with a searchable page picker
- New: Choose the redirect status code (302, 307, or 503)
- New: Option to exempt REST API (wp-json) requests from maintenance redirect
- New: Recommended plugins section with one-click install/activate
- Fix: wp-login.php and custom login page redirect handling
1.1.3
- Fix: Redirect fallback script no longer blocked by premature exit
- Fix: Incorrect path for redirect fallback script
- Fix: Removed dead code branch in page ID sanitization
- Fix: Double semicolon in maintenance mode CSS
- Update: Added 503 Service Unavailable header during maintenance redirect
- Update: Admin notice on General Settings page when maintenance mode is active
- Update: Settings link now anchors directly to maintenance mode fields
- Update: Added uninstall cleanup for all plugin options
- Tweak: Changed namespace from Apos37\SimpleMaintenanceRedirect to PluginRx\SimpleMaintenanceRedirect
1.1.2.1
- Compatibility: Increased minimum required WordPress version to 6.0
- Compatibility: Tested with WordPress 7.0
1.1.2
- Fix: Caching redirects
1.1.1
- Fix: Login page blocked if redirected to a different page
1.1.0
- Update: New support links
1.0.1
- Initial Release on April 28, 2025
