Articles in this section

How to customize the WordPress maintenance page with WP Toolkit

kb: bug Plesk for Windows kb: fixed Plesk for Linux ABT: Group A

Applicable to:

  • Plesk for Linux
  • Plesk for Windows

Question

How to customize the WordPress maintenance page with WP Toolkit?

Answer

Maintenance mode pages can be personalized for each domain individually, and on a main template that applies to the entire server. Detailed information can be found in: Customizing the maintenance page | Plesk Obsidian documentation.

One website

  1. Log in to Plesk

  2. Open WP Toolkit, expand the site to customize, and press the settings mceclip0.png button next to Maintenance mode

  3. Press Customize

  4. Go to wp-content/maintenance and edit template.phtml

  5. Press OK

All websites (Linux)

Note: The default (or customized) server-wide maintenance page template will only be applied to WordPress sites that have never been put into maintenance mode. To apply it to a WordPress site that has already been put into maintenance mode, select Restore Default from the Maintenance Mode configuration menu.

  1. Connect to the server via SSH

  2. Back up the current template:

    # mv /usr/local/psa/var/modules/wp-toolkit/maintenance/template.phtml{,.orig}

  3. Edit /usr/local/psa/var/modules/wp-toolkit/maintenance/template.phtml

    # vi /usr/local/psa/var/modules/wp-toolkit/maintenance/template.phtml

All websites (Windows)

Note: The default (or customized) server-wide maintenance page template will only be applied to WordPress sites that have never been put into maintenance mode. To apply it to a WordPress site that has already been put into maintenance mode, select Restore Default from the Maintenance Mode configuration menu.

  1. Connect to the server via RDP

  2. Make a copy of the current template: %plesk_dir%\var\modules\wp-toolkit\maintenance\template.phtml

  3. Edit %plesk_dir%\var\modules\wp-toolkit\maintenance\template.phtml in a text editor.

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.