All In One WP Security And Firewall Maintenance shows you how to setup the website on lock down to prevent visitors viewing your site.
Last Updated: September 10, 2022
Latest News: Updated the documentation.
When you update your site, you might need some time to carry out all of your updates. Updates can be related to adding new plugins, adding a new theme, tweaking your current theme or something else. Lucky for you All In One WP Security has the Maintenance feature included that will help you with this. Maintenance allows you to set your site in maintenance mode while you carry out your updates.
Note: You can even make your site private if you want. The following link How To Make A WordPress Blog Private can show you how too.
What you need:
All In One WP Security And Firewall Maintenance
Step 1 ) Go to WP Security -> Maintenance admin tab as illustrated in the image below.
Step 2 ) The following image Maintenance allows you to activate and lock down your website while you perform some maintenance.
Visitor Lockout
- Enable Front-end Lockout = Default message “This site is currently not available. Please try again later.”
- Click on Save Site Lockout Settings button once you complete this option.
The developers added the following filters to help you customize the message using CSS and HTML.
Maintenance Filters
- aiowps-site-lockout-msg
- aiowps-site-lockout-body
- aiowps-site-lockout-box
- aiowps-site-lockout-body-content
Note: When you enable the above feature you will not be able to login via wp-admin.php file. You have to log in via wp-login.php only with admin privileges. However if you enable Rename Login Page or Enable Brute Force Attack Prevention under Brute Force tab you will have to enter the secret word to log into your admin panel.
Step 3 ) The following image illustrates the default message displayed on the site when this feature is activated.
Maintenance FAQ
Q1 Is it possible to force the server reply HTTP 200 even in maintenance mode when performing a cron?
Answer: No. Currently the maintenance mode will always reply back with Http 503. The exception to this rule is if a logged-in visitor tries to view a front-end page/post.
===================================
That is how simple it is to activate maintenance mode in your site.
If you have any questions please let me know.
Enjoy.
All In One WP Security & Firewall Plugin Tutorial List