WordPress Toolkit

WordPress Toolkit is a single management interface that enables you to easily install, configure, and manage WordPress. It is available if the WordPress Toolkit extension is installed in Plesk.

Note: WordPress Toolkit can install, configure, and manage WordPress version 3.7 or later.

Note: The WordPress Toolkit extension is free with the Web Pro and the Web Host Plesk editions and is available for a fee for the Web Admin edition.

Installing WordPress

To install a new WordPress instance, go to WordPress and click Install. The following installation options are available:

Note: Installation of WordPress via the WordPress Toolkit is performed from the wordpress.org site.

The installation path of the installed WordPress site has the https prefix by default.

To view a list of all installations attached to the WordPress Toolkit, go to Websites & DomainsWordPress.

Adding existing WordPress Installations to WordPress Toolkit

All WordPress installations added using the WordPress Toolkit or through the Applications page appear in the WordPress Toolkit automatically; those installed manually need to be attached to the WordPress Toolkit. If you have upgraded from an earlier version of Plesk and you used WordPress, we recommend that you attach all existing WordPress installations to the WordPress Toolkit. To attach WordPress installations to the WordPress Toolkit, go to Websites & DomainsWordPress and click Scan. Note that if you install new copies of WordPress manually after the scan, these WordPress installations will not be attached to the WordPress Toolkit.

To detach a WordPress installation from the WordPress Toolkit, go to Websites & DomainsWordPress, click the WordPress installation name, and then click Detach. Note that a detached WordPress installation will be attached to the WordPress Toolkit again after you perform a new scan for WordPress installations.

You can completely remove any installation, no matter how it was installed: using the WordPress Toolkit, through the Applications page, or manually. To remove a WordPress installation from the WordPress Toolkit, go to Websites & DomainsWordPress, click the WordPress installation name, and then click Remove.

Importing WordPress Installations

You can use the "Web Site Migration" feature to migrate WordPress websites owned by you but hosted elsewhere to Plesk. When you migrate a WordPress website, Plesk copies all its files and the database to your server. Once a website has been migrated, you can manage it using WordPress Toolkit.

To migrate an existing WordPress website, go to Websites & Domains > WordPress, click Import, and then follow the instructions here.

Next in this section:

Installing WordPress

Preinstalling WordPress on Customers' Domains

Managing WordPress Instances

Updating WordPress Instances

Smart Updates

Managing Plugins

Managing Themes

Securing WordPress

Cloning a WordPress Site

Synchronization of WordPress Sites

Restoring a WordPress Instance

Protecting a Website with a Password

Maintenance Mode

Access WP-CLI

 

Installing WordPress

To install a new WordPress instance, go to WordPress and click Install. The following installation options are available:

Note: To install WordPress, WordPress Toolkit retrieves data from wordpress.org. By default, if WordPress Toolkit cannot establish connection in 15 seconds, wordpress.org is considered to be unavailable. If you experience connectivity issues (for example, due to the poor quality of the Internet connection), consider increasing the timeout value. To do so, go to WordPress, go to the "Global Settings" tab, specify the desired value in the “HTTP timeout for retrieving data from wordpress.org (in seconds)” field, and then click OK.

The installation path of the installed WordPress site has the https prefix by default.

To view a list of all installations attached to the WordPress Toolkit, go to Websites & DomainsWordPress.

Adding existing WordPress Installations to WordPress Toolkit

All WordPress installations added using the WordPress Toolkit or through the Applications page appear in the WordPress Toolkit automatically; those installed manually need to be attached to the WordPress Toolkit. If you have upgraded from an earlier version of Plesk and you used WordPress, we recommend that you attach all existing WordPress installations to the WordPress Toolkit. To attach WordPress installations to the WordPress Toolkit, go to Websites & DomainsWordPress and click Scan. Note that if you install new copies of WordPress manually after the scan, these WordPress installations will not be attached to the WordPress Toolkit.

To detach a WordPress installation from the WordPress Toolkit, go to Websites & DomainsWordPress, click the WordPress installation name, and then click Detach. Note that a detached WordPress installation will be attached to the WordPress Toolkit again after you perform a new scan for WordPress installations.

You can completely remove any installation, no matter how it was installed: using the WordPress Toolkit, through the Applications page, or manually. To remove a WordPress installation from the WordPress Toolkit, go to Websites & DomainsWordPress, click the WordPress installation name, and then click Remove.

Importing WordPress Installations

You can use the "Web Site Migration" feature to migrate WordPress websites owned by you but hosted elsewhere to Plesk. When you migrate a WordPress website, Plesk copies all its files and the database to your server. Once a website has been migrated, you can manage it using WordPress Toolkit.

To migrate an existing WordPress website, go to Websites & Domains > WordPress, click Import, and then follow the instructions here.

 

Preinstalling WordPress on Customers' Domains

Watch the video tutorial

With Plesk WordPress Toolkit, you can have WordPress preinstalled on newly created domains. You can have predefined lists of plugins and themes installed on those domains. In addition, you can give your customers the ability to enable Smart Updates.

For every hosting plan, you can choose among the following options:

If you choose any of the last three options, WordPress will be automatically installed on the first domain of every subscription based on the hosting plan (main domain).

To preinstall WordPress on newly created domains:

  1. Go to Service Plans.
  2. On the “Hosting Plans” tab, either click Add a Plan to create a new plan, or click the name of an existing plan to edit it.
  3. If you have installed the Smart Updates license, customers can also enable Smart Update. You can specify the exact number of customers’ instances that can use Smart Update. To do so, clear the “Unlimited” checkbox next to “WordPress sites with Smart Update” and specify the desired limit. Regardless of the specified number, customers cannot use Smart Update on more WordPress instances than your Smart Updates license allows.
  4. Go to the “Additional Services” tab.
  5. Choose whether to preinstall WordPress only or WordPress with a predefined set of plugins and themes:
  6. Click OK (or Update & Sync if editing an existing plan).

Now every time you create a new subscription based on this hosting plan, WordPress will be installed automatically on that subscription's main domain. Existing subscriptions based on this hosting plan will not be affected.

Managing Sets

A set is a predefined list of WordPress plugins and themes. When you configure a hosting plan to enable the preinstallation of WordPress, you can also choose to add a single set. If you do, all plugins and themes included in the set are installed together with WordPress. WordPress Toolkit comes with two preconfigured sets, and you can always create more.

By default, every set you create becomes available to customers. Customers can see which plugins and themes are included in a set, and they can select a set to install together with WordPress when performing a custom installation. If you do not want customers to install sets on their WordPress instances, go to WordPress > the "Global Settings" tab, and clear the “Allow customers to use sets when they install WordPress” checkbox.

To create a set:

  1. Go to WordPress, go to the “Sets” tab, and then click Create Set.
  2. Give your set a name and click Create.
  3. Click Add Plugins, and then click +Add Plugin. Search for the desired plugin, select it from the list, and then click Add. When you have added all desired plugins, click Close.
  4. Repeat the previous step for themes.

Now you can select the set as a preinstallation option in the hosting plan.

To add plugins and themes to a set:

  1. Go to WordPress, and then go to the “Sets” tab.
  2. Click Add Plugins for the set you want to modify, and then click +Add Plugin. Search for the desired plugin, select it from the list, and then click Add. When you have added all desired plugins, click Close.
  3. Repeat the previous step for themes.

Adding plugins and themes to a set does not affect existing subscriptions to which this set has been applied.

To remove the selected plugins and themes from a set:

  1. Go to WordPress, and then go to the “Sets” tab.
  2. Click the number displayed under the “Plugins” or “Themes” columns (for example, 2 total) to show the list of plugins or themes currently included in the set.
  3. Click the icon next to the names of the plugins or themes you want to remove.

    1

To remove all plugins and themes from a set:

  1. Go to WordPress, and then go to the “Sets” tab.
  2. Click the row corresponding to the set you want to modify, click either Remove All Plugins or Remove All Themes, and then click Yes.

    3

Removing plugins and themes from a set does not affect existing subscriptions to which this set has been applied.

To rename a set:

  1. Go to WordPress, and then go to the “Sets” tab.
  2. Click the name of the set you want to rename, type a new name, and then click OK.

    rename a set

To remove a set:

  1. Go to WordPress, and then go to the “Sets” tab.
  2. Click the row corresponding to the set you want to remove, click Remove Set, and then click Yes.

    remove a set

Removing a set does not affect existing subscriptions to which this set has been applied. For all hosting plans that used the removed set, WordPress preinstall settings are reset (on the “Additional Services” tab, “WordPress Toolkit” is set to "None").

 

Managing WordPress Instances

Go to WordPress to see all WordPress instances hosted on the server.

WordPress Toolkit groups information about each instance in blocks we call cards.

customer

A card shows a screenshot of your website and features a number of controls that give you easy access to frequently used tools. The screenshot changes in real time to reflect the changes you make to your website. For example, if you switch the maintenance mode on or change the WordPress theme, the screenshot of the website will change immediately.

Note: Changes you make directly in WordPress are synchronized with WordPress Toolkit once every 24 hours. To sync manually, click the refresh - Copy button.

When you move the mouse cursor over the screenshot of the website, the Open Site button appears. Click the button to open the website in a new browser tab.

Security

WordPress websites are frequently targeted by hackers. WordPress Toolkit analyzes how safe your instance is by checking the following security aspects and showing the result below the screenshot of the website:

If you see “warning” or “danger” next to one of these aspects, click “View” and fix it.

General Information

In the “General Info” section, you see the WordPress website’s title and its WordPress version. Here you can:

Tools

In the “Tools” section, click to access the following WordPress Toolkit features:

customer - Copy

The controls below give you easy access to the following settings and tools:

On the remaining three tabs you can manage the instance’s plugins, themes, and change the database username and password.

Managing Cards View

You can choose the way WordPress Toolkit shows cards. The default “Cards” view is best suited for a small number of instances. If you have a large number of instances, collapse cards , or switch to the “Tiles” or “List” view.

sort

You can also Sort and Filter instances to manage them more easily.

Removing and Detaching Instances

You can detach WordPress instances that you do not want to see and manage in WordPress Toolkit. Detaching does not remove the instance, merely hides it from WordPress Toolkit. A detached instance will be attached to WordPress Toolkit again after you scan for WordPress instances. To detach a WordPress instance, go to WordPress, choose the instance you want to detach, click the detach - Copy button, and then click Detach.

Unlike detaching, removing completely deletes a WordPress instance. To remove a WordPress instance, go to WordPress, choose the instance you want to delete, click the detach - Copy button, and then click Remove.

Search Engine Indexing and Debugging

By default, a newly created WordPress Toolkit website is shown in search results of search engines. If your website is not yet ready for public viewing, switch off Search engine indexing.

If you are installing WordPress for testing or development, you can enable Debugging to automatically find and fix errors in the website code. To do so, click "Setup" next to “Debugging”, select the WordPress debugging tools you want to activate, and then click OK.

 

Updating WordPress Instances

To keep your website secure, you need to regularly update the WordPress core, as well as any installed plugins and themes. You can do this either automatically or manually:

For security reasons, we recommend that you configure automatic updates.

To update a WordPress instance manually:

  1. Go to WordPress. If your WordPress instance needs updating, you will see “available” next to “Updates” (below the website screenshot).

    available - Copy

  2. Click “View” next to “Updates”, wait for WordPress Toolkit to load the list of available updates, and then select the updates you want to install.

    Note: If an update of a WordPress core is available, you will see the “Restore Point” checkbox. Keep this checkbox selected to create a restore point you can use to roll back the update if something goes wrong.

    updates2 - Copy - Copy

  3. Click Update.

The selected updates will be applied.

To configure automatic updates for a WordPress instance:

  1. Go to WordPress and choose the WordPress instance that you want to update automatically.
  2. Click “View” next to “Updates”, and then click “Settings”.
  3. Choose the desired automatic update settings. You can configure automatic updates separately for WordPress core, plugins, and themes (for example, you can choose to enable automatic updates for plugins and themes, but not for WordPress core). Follow these recommendations:
  4. Click OK.

If you are concerned that WordPress automatic updates may break your website, use Smart Updates. With Smart Updates, WordPress instances are always updated safely without breaking your website.

 

Smart Updates

Smart Updates is a premium feature available in WordPress Toolkit 3.x and later. It helps you keep your production websites up-to-date without the risk of breaking your website. Smart Updates analyses the potential consequences of installing updates and advises you whether doing so is safe.

To keep your websites secure, you need to regularly update WordPress: themes, plugins, and core. However, these updates can potentially break you websites. Manual updates require your attention and cannot guarantee that your websites will continue working.

To ensure a WordPress instance is always updated safely without breaking your website, we developed the Smart Updates feature, which does the following:

  1. Clones the instance, and then analyses the clone and takes screenshots of the website’s pages (including dynamic content and carousels).
  2. Updates the clone, analyses it again, and then takes screenshots of the website’s pages again.
  3. Calculates how much the clone visually changed after the update and compares the result with a threshold predefined by you.
  4. With manual updates, Smart Updates shows you the “before” and “after” screenshots and the estimation whether it is safe to update or not. Here you can compare the screenshots, confirm whether you believe it is safe to update, and then decide whether to update the production website or not.
  5. With automatic updates, Smart Updates automatically updates the production website if the amount of changes does not exceed the threshold. Otherwise the update is not performed. In both cases, you receive an email with the results of analysis and the “before” and “after” screenshots. Same as with manual updates, you are encouraged to confirm whether you believe it is safe to update.
  6. Based on your responses, Smart Updates analyzes each update using artificial intelligence.
  7. This makes Smart Update better at predicting safe updates and minimizes the possibility of installing updates that can break your website.
Using Smart Updates

Smart Updates is a paid feature, which you buy on a per instance basis. You can use Smart Updates with both manual and automatic updates.

To enable Smart Update:

  1. Buy Smart Updates and install the received additional license key. You enable Smart Update separately for each instance.
  2. Go to WordPress and choose the instance for which you want to enable Smart Update. On the instance card, click “View” next to “Updates”.
  3. Toggle on Smart Update.
  4. Click Settings, select the "strict", "recommended", or "tolerant" policy, and then click OK. The chosen policy will determine how much the website can change after the installation of updates for Smart Updates to consider updating safe.

You have enabled Smart Update. Now you can use it with manual or automatic updates.

Note: Smart Update is not an alternative for backups. We recommend that you regularly backup your WordPress instances especially if you use automatic updates.

To use Smart Update manually:

  1. Make sure you have enough disk space for a full copy of the instance that you want to update.
  2. Select the update you want to install and click Update.
  3. Wait while Smart Update clones and analyses your website (this may take some time depending on the size of the website). The analysis is performed in the background, so closing the window will not interrupt the update.
  4. When the analysis is finished, you will see a message (like the one below) advising you if the update is considered safe according to the chosen policy.

    1

  5. Click Compare to see the “before” and “after” screenshots of the different pages of your website. Compare the screenshots, and then click Yes or No next to “Is everything OK on the page”. This will make Smart Update better at predicting safe updates.

    before_and_after

  6. If Smart Update indicates that it is safe to update and the screenshots appear to confirm it, click Apply Updates. Smart Update will update the production instance and delete the clone.

    If you do not want to update the production instance, click Discard.

To use Smart Update automatically:

  1. Make sure you have enough disk space for a full copy of the instance that you want to update.
  2. When an update is available, Smart Update will clone the instance, update the clone and analyze the clone after update.
  3. If the result after update meets the chosen policy, Smart Update automatically updates the production instance. Otherwise, update is not applied. In both cases, you receive the email with the link. Follow the link to open a report with the comparison of “before” and “after” screenshots of your website in a new browser window. Compare the screenshots and then click Yes or No next to “Is everything OK on the page”. This will make Smart Updates better at telling apart and installing safe updates.

 

Managing Plugins

A WordPress plugin is a type of third-party software that adds new functionality to WordPress. With WordPress Toolkit, you can install and manage plugins on one or more WordPress instances.

Installing Plugins

In WordPress Toolkit, you can install plugins on one or more WordPress instances.

You can search for and install plugins found in the wordpress.org plugins repository. You can also upload custom plugins, which is useful if:

Note that any plugins you upload become available for installation by customers.

To install plugins on a particular WordPress instance:

  1. Go to WordPress, go to the “Plugins” tab of an instance card, and then click Install.

    2 - Copy

  2. Search for plugins, and then click Install next to the plugin you want to install. Installed plugins are activated immediately.

To install plugins on multiple WordPress instances:

  1. Go to WordPress > the “Plugins” tab, and then click Install.

    upload - Copy - Copy

  2. Search for plugins, and then select the plugins you want to install.

    Note: Selecting one or more plugins and then performing a new search without installing the selected plugins resets the selection.

  3. By default, newly installed plugins are activated immediately. You can prevent this by clearing the “Activate after installation” checkbox.

    pdf

  4. Click Install on all ... instances.

To upload a plugin:

  1. Go to WordPress > the “Plugins” tab, and then click Upload plugin.
  2. Click Choose File and browse to the location of the ZIP file containing the plugin you want to upload.

    set

  3. You can add the uploaded plugin to a set. To do so, select the set from the drop-down list. If you do not want to add the uploaded plugin to a set, keep the "None" option. You can read more about sets in Managing Sets.
  4. Click Upload.

At this point, the uploaded plugin has become available for installation by customers. You can also install the uploaded plugin on your own WordPress instances.

To install an uploaded plugin:

  1. Go to WordPress > the “Plugins” tab.
  2. Click Install next to a plugin you have uploaded.

    upload - Copy

  3. Select the WordPress instances on which you want to install the uploaded plugin.

    êóñîê

  4. By default, a newly uploaded plugin is not activated. You can activate it by selecting the “Activate after installation” checkbox.
  5. Click Install.
Removing Plugins

You can remove plugins from a particular instance or from all instances hosted on the server.

To remove plugins from a particular instance:

  1. Go to WordPress, and then go to the “Plugins” tab of an instance card.
  2. To remove one plugin, click the êðåñòèêicon next to it. To remove several plugins, select them and click Remove.
  3. Click Yes.

To remove plugins from all instances hosted on the server:

  1. Go to  WordPress > the “Plugins” tab.
  2. Select the plugins you want to remove, click Uninstall, and then click Yes.
Activating and Deactivating Plugins

You can activate or deactivate plugins installed on a particular instance or on all instances hosted on the server.

To activate or deactivate plugins for a particular instance:

  1. Go to WordPress, and then go to the “Plugins” tab of an instance card.
  2. Switch on or switch off a plugin to activate or deactivate it, respectively.

To activate or deactivate plugins for all instances hosted on the server:

  1. Go to WordPress > the “Plugins” tab.
  2. Select the plugin you want to activate or deactivate.
  3. Click Activate or Deactivate.
Updating Plugins

If a plugin needs updating, you will see “Updates” next to the plugin on the “Plugins” tab of an instance card.

updates - Copy

You can do the following:

To update plugins on multiple instances:

  1. Go to WordPress > the “Plugins” tab.
  2. Click Update to version ... next to the plugin you want to update. To learn more about the update, click View Details. This will take you to the plugin's page on wordpress.org.

    admin

    Note: Before updating the plugin, WordPress Toolkit prompts you to back up your subscription. If you are concerned that the update may break your website, create a backup or use Smart Updates.

  3. Click Yes.

 

Managing Themes

A WordPress theme determines the overall design of your website including colors, fonts, and layout. By selecting a different theme, you change the look and feel of your website without changing the content. With WordPress Toolkit, you can install and manage themes.

Installing Themes

In WordPress Toolkit, you can install themes on one or all WordPress instances of the subscription. You can:

To install themes on a particular WordPress instance:

  1. Go to WordPress, go to the “Themes” tab of an instance card, and then click Install.

    2 - Copy

  2. Search for themes, and then ñlick Install next to the theme you want to install. By default, a newly installed theme is not activated.

To install themes on all WordPress instances of the subscription:

  1. Select the desired subscription.
  2. Go to WordPress > the “Themes” tab, and then click Install.

    1 - Copy

  3. Search for themes, and then select the themes you want to install.

    Note: Selecting one or more themes and then performing a new search without installing the selected themes resets the selection.

    Install

  4. Click Install on all ... instances.

To install themes uploaded by the Plesk administrator:

  1. Go to WordPress > the “Themes” tab.
  2. Click Install next to a theme marked with the uploaded - Copy - Copy - Copy icon. If you see no such icons, it means that the Plesk administrator has not uploaded any themes.
  3. Select the WordPress instances on which you want to install the theme.
  4. By default, a newly uploaded theme is not activated. You can activate it by selecting the “Activate after installation” checkbox.
  5. Click Install.

To upload a theme:

  1. Select the desired subscription.
  2. Go to WordPress > the “Themes” tab, and then click Upload theme.
  3. Click Choose File and browse to the location of the ZIP file containing the theme you want to upload.
  4. Click Upload.

To install an uploaded theme:

  1. Go to WordPress > the “Themes” tab.
  2. Click Install next to a theme you have uploaded.

    colormag - Copy

  3. Select the WordPress instances on which you want to install the uploaded theme.

    admin_upload - Copy - Copy

  4. By default, a newly uploaded theme is not activated. You can activate it by selecting the “Activate after installation” checkbox.
  5. Click Install.
Activating a Theme

You can activate a theme installed on a particular instance or on all instances hosted on the server. A WordPress instance can have only one active theme at a time.

To activate a theme for a particular instance:

  1. Go to WordPress, and then go to the “Themes” tab of an instance card.
  2. Switch on a theme to activate it. The theme that was previously active will be automatically deactivated.

To activate a theme for all instances hosted on the server:

  1. Go to WordPress > the “Themes” tab.
  2. Click Activate next to a theme you want to activate.

    activate - Copy

Removing Themes

You can remove themes from a particular instance or from all instances belonging to a subscription. Note that you cannot remove an active theme. Before removing a currently active theme, activate another theme first.

To remove themes from a particular instance:

  1. Go to WordPress, and then go to the “Themes” tab of an instance card.
  2. Click the êðåñòèê icon next to theme you want to remove. To remove several themes, select them and click Remove.
  3. Click Yes.

To remove themes from all instances of the subscription:

  1. Go to WordPress > the “Themes” tab.
  2. Select the themes you want to remove, click Uninstall, and then click Yes.
Updating Themes

If a theme needs updating, you will see “Updates” next to the theme on the “Themes” tab of an instance card. You can do the following:

To update themes on multiple instances:

  1. Go to WordPress > the “Themes” tab.
  2. Click Update to version ... next to the theme you want to update. To learn more about the update, click View Details. This will take you to the theme's page on wordpress.org.

    Note: Before updating the theme, WordPress Toolkit will prompt you to back up your subscription. If you are concerned that the update may break your website, create a backup or use Smart Updates.

  3. Click Yes.

 

Securing WordPress

WordPress Toolkit can enhance the security of WordPress instances (for example, by turning off XML-RPC pingbacks, checking the security of the wp-content folder, and so on). You can see an instance’s security status on its card, below the screenshot of the website. If you see “warning” or “danger” next to “Security status”, we recommend that you secure your instance.

3 - - Copy

We call individual improvements you can make to an instance’s security “measures”. We consider certain measures to be critical. For that reason, WordPress Toolkit applies them automatically to all newly created instances.

Caution: Some security measures, once applied, can be rolled back. Some cannot. We recommend that you back up the corresponding subscription before securing a WordPress instance.

To secure a WordPress instance:

  1. Go to WordPress, choose the instance you want to secure, and then click “View” next to “Security status” on the instance card.
  2. Wait for WordPress Toolkit to display the security measures you can apply.
  3. Select the security measures you want to apply, and then click Secure.

All selected measures will be applied.

In rare cases, applying security measures can break your website. In this case, you can roll back the security measures you have applied.

To roll back applied security measures:

  1. Go to WordPress, choose the instance for which you want to revert an applied measure, and then click “View” next to “Security status” on the instance card.
  2. Wait for WordPress Toolkit to display the list of security measures.
  3. Click Revert next to the measure you want to roll back.

The applied security measures will be rolled back.

 

Cloning a WordPress Site

Cloning a WordPress site involves creation of a full website copy with all website files, the database, and settings.

You may want to clone your WordPress site in one of the following situations:

Clone a WordPress site:

  1. Go to Websites & Domains and click WordPress in the menu on the right.

    Subscription_Wordpress

  2. Click the Clone button next to the name of the WordPress installation you want to clone.

    WP_Clone_2

  3. Click new subdomain to select the destination where your WordPress site will be cloned.

    WP_Clone_3

    Select one of the available options:

  4. During cloning, a database will be created for the WordPress installation being created. Click the automatically generated database name (for example, wordpress_9) to change it. If multiple MySQL servers are registered in Plesk, you can select which one will host the database.

    WP_Cloning_database_name

  5. When you are satisfied with the selected destination and the database name, click OK.

    WP_Cloning_Progress_2

When the cloning is finished, the new clone will be displayed in the list of WordPress installations.

 

Synchronization of WordPress Sites

You can synchronize the content of your WordPress site including files and database with another WordPress site.

Let us say you maintain a non-public (staging) version of a WordPress site on a separate domain or subdomain and a publicly available (production) version of this site on a production domain. You may want to synchronize your WordPress sites in the following situations:

When performing the sync, keep in mind the following:

Caution: During synchronization, files and database tables copied from the source overwrite those present on the destination. Any changes made to the files and database tables on the destination prior to synchronization will be discarded and lost without warning.

Note: If you have caching plugins installed on a WordPress website you want to synchronize with, clear the cache on the source website before sync. Otherwise, the destination website might work incorrectly.

To synchronize a WordPress site data with another site:

  1. Go to Websites & Domains and click WordPress in the menu on the right.

    1

  2. Click the Sync button next to the name of the WordPress installation you want to synchronize.

    2

  3. Under "Destination WordPress Installation", select the destination WordPress installation you want to synchronize the data with. This WordPress installation may be related to the same or another subscription.

    3

  4. Under “Select Content to be Copied”, select which data you want to synchronize with the destination WordPress site:
  5. If you selected “Files Only” or “Files and Database” during step 4, two more options become available:

    You can hide these options, making them unavailable to yourself and your customers. To do so, go to WordPress, go to the "Global Settings" tab, clear the "Use rsync for file synchronization operations" checkbox, and then click OK.

  6. When you are satisfied with the selected destination and the content to be synchronized, click OK.
  7. Before synchronizing WordPress instances, WordPress Toolkit suggests creating a restore point. You can use it to roll back the changes made during synchronization. If you do not want to create a restore point, clear the "Create a restore point" checkbox. Learn how you can recover your WordPress instance using the restore point in the "Restoring a WordPress Instance" section below.

    Caution: Every WordPress instance can only have a single restore point. Creating a restore point overwrites the existing restore point, if any.

    10

  8. Click Start to begin synchronization.

The synchronization of WordPress instances has started.

15

When the synchronization is finished, you will see a page displaying the settings of the source WordPress instance. On the page, you can see the last time synchronization was performed. You can click the “Visit the target instance.” link to see the target instance page opened in a new tab.

sync2

Database synchronization

When you choose to synchronize databases (that is, you have selected either the Database Only or the Files and Database option), you need to specify which database tables you want to synchronize:

 

Restoring a WordPress Instance

When you update or synchronize a WordPress instance, WordPress Toolkit suggests creating a restore point before beginning the operation. If you are not happy with the results, you can use the restore point to roll back the changes and restore your instance to the state it was in before the operation.

By default, a restore point contains only the data that will be affected when synchronizing or updating. You can have WordPress include all the target instance data, both files and the database, in the restore point. To do so, go to WordPress, go to the "Global Settings" tab, select the "Always make full instance snapshots" checkbox, and then click OK. Full restore points provide the maximum chances of successful recovery, but take longer to create and take up more disk space than regular restore points.

To restore a WordPress instance from a restore point:

  1. Go to WordPress and click the instance you want to restore.
  2. Click Roll back.

    restore point2

  3. Click Continue.

The restoration will begin. Your instance will be restored to the state it was in before the operation.

restore point3

The restore point takes up disk space which is included in your allowed disk space quota. After you have restored your WordPress instance, or once you have determined that all is good and there is no need to restore, you can remove the restore point by clicking Remove the Restore Point.

Caution: Every WordPress instance can only have a single restore point. Creating a restore point overwrites the existing restore point, if any.

It is important to note that a restore point is not the same as a backup. Making any changes to the target instance after you synchronize or update it may make restoring from the restore point impossible. If you are synchronizing or updating a live production WordPress instance, consider backing up your subscription beforehand in addition to creating a restore point.

Note: WordPress Toolkit suggests creating a restore point only when you update a single WordPress instance. You can do this by clicking the Update to … button from WordPress, the “Installations” tab

update11

or from the WordPress instance page.

update3

 

Protecting a Website with a Password

You can set a password to protect access to your WordPress website. Anyone visiting a password-protected website must enter the valid username and password to view the website content.

pass

Password protection is useful in the following cases:

To protect a WordPress website with a password:

  1. Go to WordPress, choose the instance you want to protect with a password, and then switch on “Password protection”.
  2. Create or generate a password. If desired, you can also change the username (the instance's administrator username is used by default).
  3. Click Protect.

To disable “Password protection”, switch it off.

 

Maintenance Mode

When a WordPress website enters maintenance mode, the website's content is hidden from visitors without being changed or otherwise affected. Visitors accessing your website when it is in maintenance mode see a maintenance screen webpage instead of the website content.

1 - Copy - Copy

Switching on the maintenance mode

Your WordPress website enters maintenance mode automatically when you are:

If you are making changes to your website and want to temporarily hide it from visitors, you can manually put it into maintenance mode.

To put a WordPress website into maintenance mode:

  1. Go to WordPress and choose the WordPress instance you want to put into maintenance mode.
  2. Switch on “Maintenance mode” on the instance card.

To take your website out of maintenance mode, switch off “Maintenance mode”.

Customizing the maintenance page

With WordPress Toolkit, you can change certain attributes of the maintenance page to make it more informative. For example you can:

To customize the maintenance page:

  1. Go to WordPress, choose the WordPress instance whose maintenance page you want to customize, and then click “Setup” next to “Maintenance mode” on the instance card.
  2. In the Screen Text section, you can change the text displayed. Use HTML tags to format the text's appearance.
  3. In the Timer section, you can set up and switch on the countdown timer that will be displayed on the maintenance page.

    Note: The timer is only meant to inform visitors about the estimated duration of the remaining downtime. Your website is not taken out of maintenance when the countdown is finished; you must do that manually.

  4. In the Social Network Links section, provide or remove links to social network pages (Facebook, Twitter, and Instagram).
  5. Click OK.

If you have coding skills, you can customize the maintenance page beyond the options described above. You can do this for a particular WordPress website or for all WordPress websites hosted on the server.

To customize the maintenance page for a particular website:

  1. Go to WordPress, choose the WordPress instance whose maintenance page you want to customize, and then click “Setup” next to “Maintenance mode” on the instance card.
  2. Click Customize and edit the maintenance page template in Code Editor.
  3. Click OK.

To customize the maintenance page for all WordPress websites hosted on the server:

  1. Edit the server-wide maintenance page template:

    (Plesk for Linux) /usr/local/psa/var/modules/wp-toolkit/maintenance/template.phtml

    (Plesk for Windows) %plesk_dir%\var\modules\wp-toolkit\maintenance\template.phtml

  2. When you put a WordPress website in maintenance mode for the first time, the customized maintenance page template is applied automatically.

The customized server-wide maintenance page template is applied only to WordPress websites that had never been put in maintenance mode before. To apply it to a WordPress website that had already been put in maintenance mode, do the following:

  1. Go to WordPress and choose the WordPress instance to which you want to apply the customized server-wide maintenance page template.
  2. Click “Setup” next to “Maintenance mode” on the instance card and then click Restore Default.

This replaces the website-specific maintenance page with a copy of the server-wide template.

Restoring the default maintenance page

If necessary, you can restore the default maintenance page. You do it differently depending on whether you have customized the server-wide template or not.

To restore the default maintenance page if the server-wide template has not been changed:

  1. Go to WordPress and choose the WordPress instance whose maintenance page you want to reset to default.
  2. Click “Setup” next to “Maintenance mode” on the instance card and then click Restore Default.

To restore the default maintenance page if the server-wide template has been changed:

  1. Revert the changes made to the server-wide maintenance page template by replacing the file:

    (Plesk for Linux) /usr/local/psa/admin/plib/modules/wp-toolkit/resources/maintenance/template.phtml

    (Plesk for Windows) %plesk_dir%\admin\plib\modules\wp-toolkit\resources\maintenance\template.phtml

    with the following file:

    (Plesk for Linux) usr/local/psa/var/modules/wp-toolkit/maintenance/template.phtml

    (Plesk for Windows) %plesk_dir%\var\modules\wp-toolkit\maintenance\template.phtml

  2. When you put a WordPress website in maintenance mode for the first time, the default maintenance page template is applied automatically.

The default server-wide maintenance page template is applied only to WordPress websites that had never been put in maintenance mode before. To apply it to a WordPress website that had already been put in maintenance mode, do the following:

  1. Go to WordPress and choose the WordPress instance whose maintenance page you want to reset to default.
  2. Click “Setup” next to “Maintenance mode” on the instance card and then click Restore Default.

This replaces the website-specific maintenance page with a copy of the default server-wide template.

 

Access WP-CLI

WP-CLI is the official WordPress command-line interface for managing WordPress sites. More information can be found here .

You can access WP-CLI directly from the Plesk command-line interface using the wp-toolkit utility with no need to install WP-CLI on the server.

Read more about the wp-toolkit utility.

To call a WP-CLI command via the Plesk command-line interface:

Connect to your Plesk server via SSH (on Linux) or via RDP (on Windows) and, in the command line, run the command:

 plesk ext wp-toolkit --wp-cli -instance-id [ID] [command] [options]

where:

The full list of WP-CLI commands and their options can be found here .

Examples:

To get the main WordPress information (a blog name, a web site URL, a version, an update version, plugins, and themes):

plesk ext wp-toolkit --wp-cli -instance-id 4 -- core info

To get help for the core command:

plesk ext wp-toolkit --wp-cli -instance-id 4 -- help core

To install and activate the latest version of the bbPress plugin from wordpress.org:

plesk ext wp-toolkit --wp-cli -instance-id 4 -- plugin install bbpress --activate

Note: To make the changes performed by running a WP-CLI command visible in the Plesk user interface, go to WordPress, click the name of the WordPress installation, and then click Refresh.