Developer Notes

Add maintenance page to WordPress website

Occasionally, we need to bring our website visitors to a maintenance page.

This might be the case during a bad website migration or if there are other breaking changes to the website. There might also be another reason, such as it is a completely new website and there is nothing to publish yet. There are also situations where the website owner needs to unexpectedly stop operations.

“Maintenance” WordPress plugin

You can easily spin up a simple maintenance page in under a minute with the Maintenance WordPress plugin. Install the plugin, configure, enable the maintenance page, and… Voila! You are all set. Click on the “Preview” button to see how it will look.

To test that the website is indeed showing the maintenance page to non logged in visitors, open the website in a Private Window or Incognito mode. Instead of the usual website pages, you should see the maintenance page.

Troubleshooting the Maintenance page

If you encounter issues seeing the maintenance page, you can try the following:

  1. Clear the cache in your performance plugin, such as WP Rocket, WP Super Cache, and W3 Total Cache.
  2. Temporarily disable preloading in your performance plugins.
  3. If that doesn’t help, you might consider temporarily disabling your performance plugin altogether.

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Articles

Want your website to turn up in Google Search results? You can submit your website for indexing in Google Search
When you are deploying changes to a WordPress website, you might encounter an error about PHP's upload_max_filesize. Here is one
After installing Android Studio in Ubuntu, you might experience getting a blank screen instead of the Android Studio Setup Wizard.
It might surprise you how much storage space Snap packages use. You will most likely find that your Snap packages
The Loop Grid widget allows you to set the total number of items to load and display in the Loop
When creating a page, always remember this: DESKTOP ➤ TABLET ➤ MOBILE. Responsive attributes you set for Desktop will reflect

Recent Articles

Topics

Related Topics