WordPress Toolkit est une interface de gestion unique pour installer, configurer et gérer facilement WordPress. Elle est disponible si l’extension WordPress Toolkit est installée dans Plesk.

Note: WordPress Toolkit peut installer, configurer et gérer WordPress 3.7 et versions ultérieures.

Note: l’extension WordPress Toolkit est incluse par défaut dans les éditions Web Pro et Web Host de Plesk. Elle est payante pour l’édition Web Admin.

Installer WordPress

To install a new WordPress installation, go to WordPress and click Install.

image 79654

Here you can:

  • Install the latest version of WordPress with the default settings by clicking Install.

  • Change the default settings (including the desired WordPress version, the database name, the autoupdate settings, and more) and then click Install.

    image installation settings

Note: pour installer WordPress, WordPress Toolkit récupère les données depuis le site wordpress.org. Par défaut, si WordPress Toolkit ne peut pas se connecter au site wordpress.org dans un délai maximal de 15 secondes, le site est considéré comme indisponible.

A new installation appears in the list of all existing WordPress installations in WordPress.

image 79655

Ajouter une installation WordPress existante à WordPress Toolkit

All WordPress installations added using the WordPress Toolkit or through the Applications page appear in WordPress Toolkit automatically; those installed manually need to be attached to 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 WordPress Toolkit.

To attach WordPress installations to WordPress Toolkit:

  1. Go to WordPress.
  2. Click Scan.

The WordPress installation was attached and is now shown in the list of existing WordPress installations in WordPress.

Import d’installations WordPress

Vous pouvez utiliser la fonction « Migration du site Web » pour migrer les sites Web WordPress dont vous êtes propriétaire, mais qui sont hébergés hors de Plesk. Lorsque vous migrez un site Web WordPress, Plesk copie tous ses fichiers et ses bases de données vers le serveur. Après migration d’un site Web, vous pouvez le gérer via WordPress Toolkit.

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

Managing WordPress Installations

Go to WordPress to see all your WordPress installations.

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

image 79474

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 turn on maintenance mode or change the WordPress theme, the screenshot of the website will change immediately.

Note: les modifications que vous effectuez dans WordPress sont synchronisées avec WordPress Toolkit toutes les 24 heures. Pour synchroniser manuellement, cliquez sur le bouton image 79475 .

Lorsque vous passez le curseur de votre souris sur la capture d’écran du site Web, le bouton Ouvrir le site s’affiche. Cliquez sur ce bouton pour ouvrir votre site Web dans un nouvel onglet.

Here you can also do the following:

  • Change your website name. To do so, click the image icon pencil icon, give your website a name, and then click image icon tick.

    image change website name

  • Log in to WordPress as an administrator. To do so, click Log in below the website screenshot.

  • Change general WordPress settings. To do so, click “Setup” next to Log in.

  • Go to the domain’s screen in Websites & Domains. To do so, click the domain name below the website screenshot.

    image website status

Status

WordPress websites are frequently targeted by hackers. Outdated WordPress core, plugins, and themes also pose a security risk.

In the “Status” section, you can do the following:

image 79455

The controls in the “Tools” section give you easy access to the following settings and tools:

Above the « Status » and « Tools » sections, you find the following WordPress Toolkit features:

image 79456

At the bottom of the website card, you can do the following:

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

Website Labels

Website labels are preconfigured identifiers that you can give to your websites (for example, “staging”, “production”, “testing”, and so on).

Depending on your project, it might be necessary to host multiple copies of a website for various purposes. Labels will help you distinguish one website from another.

By default, a website has no label. To label it, click ADD LABEL (on the website card next to the website name) and select the desired label. Labels are optional and you can change or remove a label at any time.

image label

Gestion de la vue Cartes

You can choose the way WordPress Toolkit shows cards. The default “Cards” view is best suited for a small number of installations. If you have a large number of installations, collapse cards image 79466.

You can also Filter installations to manage them easier.

image 79467

Removing and Detaching Installations

You can detach WordPress installations that you do not want to see and manage in WordPress Toolkit. Detaching does not remove the installation, merely hides it from WordPress Toolkit. A detached installation will be attached to WordPress Toolkit again after you scan for WordPress installations. You can detach WordPress installations individually or multiple installations at a time.

To detach WordPress installations:

  1. Go to WordPress and then do the following:
    • (To detach an individual installation) On the card of the installation you want to detach, click the image 79476 icon.
    • (To detach multiple installations) Select installations you want to detach and click Detach.
  2. Click Detach.

Unlike detaching, removal completely deletes a WordPress installation. You can remove any installation, no matter how it was installed: using WordPress Toolkit, through the Applications page, or manually. You can remove WordPress installations individually or multiple installations at a time.

To remove WordPress installations:

  1. Go to WordPress and then do the following:
    • (To remove an individual installation) On the card of the installation you want to remove, click the image 79476 icon.
    • (To remove multiple installations) Select installations you want to remove and click Remove.
  2. Click Remove.

Indexation par les moteurs de recherche et débogage

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, turn 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 the image tune icon next to “Debugging”, select the WordPress debugging tools you want to activate, and then click OK.

Updating WordPress Installations

Pour garantir la sécurité de votre site Web, vous devez régulièrement mettre à jour WordPress Core, ainsi que tous les plug-ins et thèmes installés. Pour cela vous pouvez procéder manuellement ou automatiquement :

  • Avec les mises à jour manuelles, vous contrôlez le moment de l’installation des mises à jour. Par exemple, vous pouvez attendre avant d’installer une mise à jour spécifique afin de voir si celle-ci génère des problèmes pour d’autres utilisateurs de WordPress. Toutefois, vous devez veiller à installer régulièrement les mises à jour pour éviter de passer à côté.
  • Autoupdates give you peace of mind by keeping your WordPress installation up to date. However, updates can sometimes break your installation, and with autoupdates, you may not learn about it right away.

For security reasons, we recommend that you configure autoupdates.

To update a WordPress installation manually:

  1. Go to WordPress. If your WordPress installation needs updating, you will see the corresponding messages in the « Status » section (for example, « Install plugin updates »).

    image 79493

  2. Click any message about available updates, wait for WordPress Toolkit to load the list of available updates, and then select the updates you want to install.

    Note: si une mise à jour de WordPress Core est disponible, vous verrez la case « Point de restauration ». Gardez cette case cochée afin de créer un point de restauration que vous pourrez utiliser pour annuler la mise à jour en cas de problème.

    image 79496

  3. Cliquez sur Mettre à jour.

Les mises à jour sélectionnées seront appliquées.

Although WordPress Toolkit regularly checks for updates itself, you can also check for updates at any time. To do so, click « Check updates ».

To configure autoupdates for a WordPress installation:

  1. Go to WordPress and choose the WordPress installation that you want to update automatically and then, on the installation card, click “Autoupdate settings”.

    image autoupdates

  2. Choose the desired autoupdate settings. You can configure autoupdates separately for WordPress core, plugins, and themes (for example, you can choose to enable autoupdates for plugins and themes, but not for WordPress core). Follow these recommendations:

    • Selecting “No” next to “Update WordPress automatically” turns off autoupdates of WordPress core. This is insecure.
    • Si votre site Web est public (en production) et si vous craignez que des mises à jour ne corrompent son fonctionnement, sélectionnez « Oui, mais installer les mises à jour (de sécurité) mineures uniquement ».
    • If your website is a non-public (staging) version of a WordPress website, select “Yes, all (minor and major) updates”. This will keep your staging website up to date and ensure that, should an update break something, it happens to the staging website and not to the production one.
  3. Cliquez sur OK.

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

Backing up and Restoring WordPress Installations

To help prevent data loss, you can back up and restore websites. To do so, you can use either the WordPress Toolkit feature or the general Plesk backup mechanism, called Backup Manager.

Creating backups in WordPress Toolkit may be more convenient than in Backup Manager because of the following reasons:

  • WordPress Toolkit backs up an individual website, while Backup Manager backs up the whole subscription with all the subscription’s websites and their data.
  • If you need to back up an individual website, a WordPress Toolkit backup requires less time and disk space.
  • Creating backups in WordPress Toolkit does not require any setup.

To back up a WordPress website:

  1. Go to WordPress and then click Back up / Restore on the card of the WordPress installation you want to back up.

    image backup 1

  2. Click Back up.

Once the backup is finished, it will be displayed in the list of WordPress Toolkit backups.

image backup 2

To restore a WordPress website:

  1. Go to WordPress and then click Back up / Restore on the card of the WordPress installation whose backup you want to restore.

  2. Click the image icon restore icon corresponding to the backup you want to restore.

    Note: Restoring a backup removes all changes you made to the website after the backup date. For this reason, WordPress Toolkit suggests that you back up the current state of your website and use this backup to restore.

  3. Cliquez sur Restaurer.

You have restored your backup.

To be on the safe side, you may want to download WordPress Toolkit backup files to store them elsewhere.

To download WordPress Toolkit backup files:

  1. Go to WordPress and then click Back up / Restore on the card of the WordPress installation whose backup files you want to download.

  2. Click the image icon download icon corresponding to the backup whose file you want to download.

    You will be redirected to the directory in File Manager (/wordpress-backups in the website’s home directory) where WordPress Toolkit backups are stored.

  3. Click the image icon hamburger icon corresponding to the backup file you want to download and then click Download.

You have downloaded a backup file.

You can delete WordPress Toolkit backups you no longer need.

To delete a WordPress Toolkit backup:

  1. Go to WordPress and then click Back up/Restore on the card of the WordPress installation whose backup file you want to delete.
  2. Click the image 79517 icon corresponding to the backup you want to delete and then click Delete.

You have deleted a backup.

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.

Afin de garantir la sécurité de vos sites, vous devez mettre à jour régulièrement les thèmes, plug-ins et WordPress Core. Toutefois, ces mises à jour peuvent avoir un impact sur le bon fonctionnement de vos sites. Les mises à jour manuelles requièrent votre attention et ne vous garantissent pas le bon fonctionnement de vos sites Web.

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

  1. Clones the installation, and then analyses the clone and takes screenshots of the website’s pages (including dynamic content and carousels).
  2. Mise à jour du clone, nouvelle analyse et captures d’écran des pages du site Web.
  3. Detects issues (PHP issues, HTTP response code errors, changed page titles, and others): not only those the update can cause but also those that existed before the update.
  4. With manual updates, Smart Updates shows you the “before” and “after” screenshots and the forecast whether it is safe to update or not. Here you can compare the screenshots, see and download the detailed report about the found issues, and then decide whether to update the production website or not.
  5. With autoupdates, Smart Updates automatically updates the production website unless there is at least one issue caused by the update. Otherwise the update is not performed. In both cases, you receive an email with the results of analysis and the “before” and “after” screenshots.

Utiliser Smart Updates

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

Pour activer Smart Update :

  1. Buy Smart Updates and install the received additional license key. You enable Smart Update separately for each installation.
  2. Go to WordPress and turn on « Smart Update » on the installation card.

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

Note: Smart Update is not an alternative for backups. We recommend that you regularly back up your WordPress installations especially if you use autoupdates.

Pour utiliser manuellement Smart Update :

  1. Make sure you have enough disk space for a full copy of the installation that you want to update.

  2. On the installation card, click « Check updates », select updates you want to install, and then click Update.

  3. Patientez pendant que Smart Update clone et analyse votre site Web (cela peut durer un moment selon la taille du site Web). L’analyse se déroule en arrière-plan. Si vous fermez la fenêtre, cela n’interrompt pas la mise à jour.

  4. See the “before” and “after” screenshots of the different pages of your website separately or in the Comparison mode.

    image 79421

  5. Select one website page at a time and see issues found for each one. You can also see issues found for the whole website and download a report about them on the « Website Summary » tab.

  6. If Smart Update did not detect any issues regarding the update and the screenshots appear to confirm it, click Apply Updates and then click OK. Smart Update will update the production installation and delete the clone.

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

Pour utiliser automatiquement Smart Update :

  1. Make sure you have enough disk space for a full copy of the installation that you want to update.
  2. When an update is available, Smart Update will clone the installation, update the clone and analyze the clone after update.
  3. If the update causes no issues, Smart Update automatically updates the production installation. If Smart Update detects at least one issue the update may cause, the 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.

Gérer les plug-ins

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 installations.

Installer des plug-ins

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

  • Chercher et installer les plug-ins depuis le répertoire de plug-ins wordpress.org.
  • Charger des plug-ins personnalisés, ce qui est pratique si vous ne trouvez aucun plug-in correspondant à vos besoins dans le répertoire wordpress.org ou si vous devez installer votre propre plug-in.

To install plugins on a particular WordPress installation:

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

    image 79501

  2. Cherchez les plug-ins, puis cliquez sur Installer à côté de ceux que vous voulez installer. Les plug-ins installés seront activés immédiatement.

To install plugins on all WordPress installations of the subscription:

  1. Sélectionnez l’abonnement souhaité.

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

    image 79512

  3. Search for plugins, select the plugins you want to install, and then click Select websites.

    Note: si vous sélectionnez un ou plusieurs plug-ins et si vous réalisez une nouvelle recherche sans installer les plug-ins sélectionnés, cela réinitialise la sélection.

    image 79233

  4. Par défaut, tous les plug-ins récemment installés seront activés immédiatement. Pour éviter cela, décochez la case « Activer après l’installation ».

  5. Select websites on which you want to install plugins and then click Install.

Pour charger un plug-in :

  1. Sélectionnez l’abonnement souhaité.
  2. Allez dans WordPress > onglet « Plug-ins » et cliquez sur Envoyer le plug-in.
  3. Click Browse… and browse to the location of the ZIP file containing the plugin you want to upload
  4. Cliquez sur OK.

Activer et désactiver les plug-ins

You can activate or deactivate plugins installed on a particular installation or on all installations belonging to a subscription at once.

To activate or deactivate plugins for a particular installation:

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

  2. Under « State », turn on or turn off a plugin to activate or deactivate it, respectively.

    image activate toggle

To activate or deactivate plugins for all installations of the subscription:

  1. Sélectionnez l’abonnement souhaité.
  2. Go to WordPress > the “Plugins” tab.
  3. Sélectionnez le plug-in que vous voulez activer ou désactiver.
  4. Cliquez sur Activer ou sur Désactiver.

Mettre à jour les plug-ins

If a plugin needs updating, you will see “Updates” next to the plugin on the “Plugins” tab of an installation card. You can update not only free plugins but also paid ones if they can be updated in the usual way in the WordPress admin dashboard.

Note: WordPress Toolkit can update paid plugins that require a license if the license is present. WordPress Toolkit cannot update paid plugins that use non-standard update methods.

image 79504

Vous pouvez :

To update plugins on all installations of the subscription:

  1. Sélectionnez l’abonnement souhaité.

  2. Go to WordPress > the “Plugins” tab.

  3. Click « Update to version … » next to the plugin you want to update. To learn more about the update, click « Changelog ». This will take you to the plugin’s page on wordpress.org.

    image 79518

  4. Cliquez sur Oui.

Supprimer des plug-ins

You can remove plugins from a particular installation or from all installations belonging to a subscription at once.

To remove plugins from a particular installation:

  1. Go to WordPress, and then go to the “Plugins” tab of an installation card.
  2. To remove one plugin, click the image 79517 icon corresponding to the plugin you want to remove. To remove several plugins, select them and click Remove.
  3. Cliquez sur Oui.

To remove plugins from all installations of the subscription:

  1. Sélectionnez l’abonnement souhaité.
  2. Go to WordPress > the “Plugins” tab.
  3. Sélectionnez les plug-ins que vous voulez supprimer. Cliquez sur Désinstaller et sur Oui.

Gérer les thèmes

Un thème WordPress détermine le design d’ensemble de votre site Web, y compris les couleurs, les polices et la mise en page. Lorsque vous sélectionnez un nouveau thème, cela change l’apparence et le rendu de votre site Web, sans en changer le contenu. Avec WordPress Toolkit, vous pouvez installer et gérer les thèmes.

Installer des thèmes

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

  • Chercher et installer les thèmes depuis le répertoire de thèmes wordpress.org.
  • Installer les thèmes chargés par l’administrateur Plesk.
  • Charger des thèmes personnalisés, ce qui est pratique si vous ne trouvez aucun thème correspondant à vos besoins dans le répertoire wordpress.org ou si vous devez installer votre propre thème.

To install themes on a particular WordPress installation:

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

    image 79526

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

To install themes on all WordPress installations of the subscription:

  1. Sélectionnez l’abonnement souhaité.

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

    image 79527

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

    Note: si vous sélectionnez un ou plusieurs thèmes et si vous réalisez une nouvelle recherche sans installer les thèmes sélectionnés, cela réinitialise la sélection.

    image 79253

  4. Select websites on which you want to install themes and then click Install.

Pour charger un thème :

  1. Sélectionnez l’abonnement souhaité.

  2. Go to WordPress > the “Themes” tab, and then click Upload theme.

  3. Click Browse… and browse to the location of the ZIP file containing the theme you want to upload.

    image 79269

  4. Select the WordPress installations on which you want to install the theme.

  5. By default, a newly uploaded theme is not activated. To activate it, select the “Activate after installation” checkbox.

  6. Cliquez sur OK.

Pour installer un thème chargé :

  1. Go to WordPress > the “Themes” tab.

  2. Cliquez sur le bouton Installer à côté du thème que vous avez chargé.

    image 79529

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

  4. By default, a newly uploaded theme is activated. To prevent this, clear the “Activate after installation” checkbox.

  5. Cliquez sur Installer.

Activer un thème

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

To activate a theme for a particular installation:

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

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

  1. Go to WordPress > the “Themes” tab.

  2. Cliquez sur Activer en regard du thème à activer.

    image 79530

Mettre à jour les thèmes

If a theme needs updating, you will see “Updates” next to the theme on the “Themes” tab of an installation card. You can update not only free themes but also paid ones if they can be updated in the usual way in the WordPress admin dashboard.

Note: WordPress Toolkit can update paid themes that require a license if the license is present. WordPress Toolkit cannot update paid themes that use non-standard update methods.

Vous pouvez :

To update themes on multiple installations:

  1. Allez dans WordPress > onglet « Thèmes ».
  2. Click « Update to version … » next to the theme you want to update. To learn more about the update, click « Changelog ». This will take you to the theme’s page on wordpress.org.
  3. Cliquez sur Oui.

Supprimer des thèmes

You can remove themes from a particular installation or from all installations belonging to a subscription.

Note: You cannot remove an active theme. Before removing a currently active theme, activate another theme first.

To remove themes from a particular installation:

  1. Go to WordPress, and then go to the “Themes” tab of an installation card.
  2. Cliquez sur l’icône image 79517 en regard du thème que vous voulez supprimer. Pour supprimer plusieurs thèmes, sélectionnez-les et cliquez sur Supprimer.
  3. Cliquez sur Oui.

To remove themes from all installations of the subscription:

  1. Go to WordPress > the “Themes” tab.
  2. Sélectionnez les thèmes que vous voulez supprimer. Puis, cliquez sur Désinstaller et sur Oui.

Protéger WordPress

WordPress Toolkit can enhance the security of WordPress installations (for example, by turning off XML-RPC pingbacks, checking the security of the wp-content folder, and so on).

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

On the installation’s card next to « Security », you can see the following security messages:

  • « Fix security » means that not all critical security measures were applied.
    We strongly recommend that you apply them all.
  • « Check security » means that all critical security measures were applied,
    while some recommended measures were not.
  • « View settings » means that all security measures (critical and recommended) were applied.

image 79492

Note: Some security measures, once applied, can be reverted. Some cannot. We recommend that you back up a WordPress installation before securing it.

You can secure WordPress installations individually or multiple installations at a time.

To secure an individual WordPress installation:

  1. Go to WordPress, choose the installation you want to secure, and then, on the installation card, click the message next to « Security » (for example, « Fix security »).
  2. Patientez jusqu’à ce que WordPress Toolkit affiche les mesures de sécurité que vous pouvez appliquer.
  3. Sélectionnez les mesures que vous voulez appliquer, puis cliquez sur Sécuriser.

Toutes les mesures sélectionnées seront appliquées.

To secure multiple WordPress installations:

  1. Allez sous WordPress et cliquez sur Sécurité.
  2. You will see the list of your WordPress installations. For every installation, you can see how many critical (indicated by the image 79670 icon) and recommended (the image 79671 icon) security measures can be applied to it. To see the list of measures that can be applied, click the corresponding icon. If all security measures are applied, you will see the image 79672 icon instead.
  3. (Optional) To see more information about all security measures and to manage them for an individual WordPress installation, click image 79673 next to the desired installation. To return to managing security of multiple installations, click image 79674 next to “Security Status Of Selected Websites”.
  4. Select installations to which you want to apply security measures and then click Secure.
  5. Par défaut, seules les mesures de sécurité critiques sont sélectionnées pour être appliquées. Vous pouvez aussi :
    • Security measures of your choice. To do so, click the « Custom selection » radio button.
    • All security measures at once. To do so, click the “All (critical and recommended)” radio button.
  6. Cliquez sur Sécuriser.

Les mesures sélectionnées seront appliquées.

Reverting Security Measures

In rare cases, applying security measures can break your website. In this case, you can revert the security measures you have applied. You can do this for an individual WordPress installation or for multiple WordPress installations at a time.

To revert applied security measures for an individual installation:

  1. Go to WordPress, choose the installation for which you want to revert an applied measure, and then click the message (for example, « Check security ») next to “Security” on the installation card.

    image check security

  2. Patientez quelques instants, jusqu’à ce que WordPress Toolkit affiche les mesures de sécurité.

  3. Sélectionnez les mesures de sécurité que vous voulez annuler puis cliquez sur Annuler.

The applied security measures will be reverted.

To revert applied security measures for multiple installations:

  1. Allez sous WordPress et cliquez sur Sécurité.
  2. You will see the list of your WordPress installations and whether critical and recommended security measures were applied to them or not.
  3. (Optional) To see more information about all security measures and to manage them for an individual WordPress installation, click image 79673 next to the desired installation. To return to managing security of multiple installations, click image 79674 next to “Security Status Of Selected Websites”.
  4. Select installations for which you want to revert security measures and then click Revert.
  5. Select security measures you want to revert and then click Revert.

The applied security measures will be reverted.

Cloning a WordPress Website

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

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

  • You maintain a non-public (staging) version of a WordPress website on a separate domain or subdomain, and you want to publish it to a production domain to make it publicly available.
  • You have a publicly available (production) WordPress website and you want to create a non-public (staging) copy of it, to which you can make changes without affecting the production website.
  • You want to create a “master” copy of a WordPress website with preconfigured settings, plugins, and theme, and then clone it to start a new development project for a client.
  • You want to create multiple copies of a WordPress website and make different changes to each one (for example, to show them to a client so that he or she can choose the one he or she likes best).

Clone a WordPress website:

  1. Go to WordPress and then click « Clone » on the card of the WordPress installation you want to clone.

    image 78092

  2. Choose the target where to clone the website:

    • Keep « Create subdomain » to have WordPress Toolkit create a new subdomain with the default « staging » prefix. You can use it or type in a desired subdomain prefix.
    • Select « Use existing domain or subdomain » and then select the desired domain or subdomain from the list.

    image 78094

    Prudence: Make sure that the domain or subdomain selected as the target is not being used by an existing website. During cloning, website data existing on the target may be overwritten and irrevocably lost

  3. (Optional) Change the name of the database automatically created during cloning.

  4. When you are satisfied with the selected target and the database name, click Start.

Une fois le clonage terminé, le nouveau clone est visible dans la liste des installations WordPress.

Copying Data from One WordPress Website to Another

You can copy the content of your WordPress website including files and database to another WordPress website.

Let us say you maintain a non-public (staging) version of a WordPress website on a separate domain or subdomain and a publicly available (production) version of this website on a production domain. You may want to copy data from one website to another in the following situations:

  • Vous voulez copier les modifications effectuées de la version de test vers la version de production.
  • You want to copy the data from the production website to the staging website to see how the changes (for example, a new plugin) work with the production data. After checking that everything works fine, you may copy your changes to your production website.
  • You have made some changes (for example, installed a new plugin) to the staging website, and these changes resulted in new tables being added to the database. You want to copy only these tables to the production website without affecting other data.
  • You have upgraded the staging website to a newly released version of WordPress and fixed the post-upgrade issues (if any). You now want to push these changes to the production website.
  • You can choose to copy the WordPress files, the WordPress database, or both the files and the database. When copying the database, you can choose to copy all tables, or tables that are present on the source but absent from the target, or you can specify individual database tables to be copied.

When performing the copying, keep in mind the following:

  • The selected data are copied from the source website to the target website. Any files and/or database tables present both on the source and the target that are not identical are copied from the source to the target. Files and database tables present only on the target are not affected unless you select the « Remove missing files » option during copying.
  • During copying, the target website enters maintenance mode and becomes temporarily unavailable.
  • If the WordPress version on the target website is earlier than on the source website, WordPress Toolkit first upgrades WordPress on the target website to match the version installed on the source website, and then runs copying.
  • If the WordPress version on the source website is earlier than on the target website, copying is aborted. To copy data, you need to upgrade WordPress on the source to the version installed on the target or a later version.
  • If the database prefix on the source and the target differs, WordPress Toolkit will change the database prefix on the target website to match that on the source during copying.
  • Copying of data between a regular WordPress installation and a multisite one is not supported. We recommend that you use cloning instead.

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

Note: If you have caching plugins installed on a WordPress website you want to copy from, clear the cache on the source website before copying. Otherwise, the target website might work incorrectly.

To copy data of one WordPress website to another:

  1. Go to WordPress and then click « Copy Data » on the card of the WordPress installation which data you want to copy.

    image 78667

  2. Next to « Target », select the target WordPress installation (under the same or another subscription) you want to copy the data to.

    image 78669

  3. Under « Data to Copy », select which data you want to copy to the target WordPress website:

    • « Files Only » - copies only the website files, including the WordPress core files and the files related to themes and plugins.

      Note: By default, the htaccess, web.config, and wp-config.php files are not copied because modifying these files may disrupt the operation of WordPress.

      Note: The Plesk administrator can make the « Copy wp-config.php » checkbox visible to you. In this case, even if you choose to copy the wp-config.php file, the information related to the database will not be copied. This prevents the target WordPress installation from corruption. Custom settings specified in the wp-config.php file on the target will be overwritten with those from the source.

    • « Database Only » - copies only the database. You can select to import all, new, or selected database tables (for details, see step 5 below).

    • « Files and Database » - copies both the website files and the database. You can choose to import all, new, or selected database tables (for details, see step 5 below).

  4. If you selected « Files Only » or « Files and Database » during step 3, two more options become available (unless the Plesk administrator did not hide them):

    • « Replace files modified on target » - by default, if a file with the same name exists both on the source and the target, the file from the source will be copied and will replace the file on the target even if the source file is older. To prohibit overwriting files on the target with the files from the source that are older clear the checkbox.
    • « Remove missing files » - by default, if a file exists on the target but is missing from the source, the file is untouched. Select this checkbox to remove files on the target that are missing from the source.
  5. If you selected « Database only » or « Files and Database » during step 3, select which database tables you want to copy:

    • « All Tables » (the default option). If you want to copy all changes except for pages, posts, and users, keep the « Except: _postmeta, _posts, _usermeta, _users » checkbox selected.
    • New tables only
    • Selected tables. Click « Select tables to copy », select those tables you want to copy, and then click Select.
  6. Before copying data, WordPress Toolkit suggests creating a restore point. You can use it to roll back the changes made during copying. If you do not want to create a restore point, clear the « Create a restore point » checkbox. Learn how you can recover your WordPress installation using the restore point in « Restoring a WordPress Installation » section below.

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

  7. When you are satisfied with the selected options, click Start to start copying data.

image 78672

Restoring a WordPress Installation

When you update the WordPress core or copy data from one WordPress installation to another, 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 installation to the state it was in before the operation.

Note: WordPress Toolkit suggests creating a restore point only when you update a single WordPress installation.

Making Full Restore Points

By default, a restore point contains only the data that will be affected when copying data or updating. However, the Plesk administrator can set up WordPress to include all the target installation data, both files and the database, in the restore point. 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 installation from a restore point:

  1. Go to WordPress and find the card of an installation you want to restore.

  2. Click the image restore icon icon next to « Restore Point » and then click Continue.

    image restore

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

The restore point takes up disk space which is included in your allowed disk space quota. After you have restored your WordPress installation, or once you have determined that all is good and there is no need to restore, you can delete the restore point.

To delete a restore point:

  1. Go to WordPress and find the restore point you want to delete.
  2. Click the image 79517 icon next to « Restore Point », and then click Remove.

Note: Every WordPress installation 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 installation after you copy data or update it may make restoring from the restore point impossible. If you are copying data or updating a live production WordPress installation, we recommend that you back it up beforehand in addition to creating a restore point.

Updating a Website URL

If you have moved a website from a different server, the website URL may change. In this case, your migrated WordPress installation will not work until the website URL is updated in WordPress. Previously, you had to do this manually. Now WordPress Toolkit can update the website URL automatically.

To update the website URL:

  1. Go to WordPress, choose the card of the website that you have migrated, click the image 79476 button, and then click Update Site URL.
  2. WordPress Toolkit compares the actual website URL with the one specified in the WordPress database and in wp-config.php:
    • If the URLs match, then your website URL is up to date. Click Back to return to the website card.
    • If the URLs do not match, replace the URL specified in WordPress with the actual URL by clicking Update.

You have ensured that your website is online.

Protéger un site Web à l’aide d’un mot de passe

Vous pouvez définir un mot de passe pour protéger l’accès à votre site Web WordPress. Toute personne qui consulte un site Web protégé par un mot de passe doit saisir le nom d’utilisateur et le mot de passe valides pour voir le contenu du site Web.

image 78646

La protection par mot de passe est utile dans les cas suivants :

  • Le site Web est en cours de développement et vous voulez en interdire l’accès à d’autres personnes.
  • Vous voulez montrer une version démo du site Web uniquement à certains visiteurs.

Pour protéger un site Web WordPress à l’aide d’un mot de passe :

  1. Go to WordPress, choose the installation you want to protect with a password, and then turn on “Password protection”.
  2. Create or generate a password. If desired, you can also change the username (the installation’s administrator username is used by default).
  3. Cliquez sur Protéger.

To disable “Password protection”, turn it off.

Setting up a Regular Run of wp-cron.php

The wp-cron.php file is a virtual cron job (or scheduled task) WordPress uses to automate certain operations, for example, checking for plugins or themes updates, sending email notifications, and so on. By default, WordPress runs the wp-cron.php task every time someone visits your website. If you want WordPress operations to be performed regularly and on schedule, you need to disable the default wp-cron.php execution. If your website has high traffic, scheduled wp-cron.php execution may also improve the website load time.

To disable wp-cron.php on a particular WordPress installation:

  1. Go to WordPress and choose the WordPress installation for which you want to disable the default wp-cron.php execution.

  2. Turn on “Disable wp-cron.php” on the installation card.

    The default wp-cron.php execution is now disabled. Instead, WordPress Toolkit has automatically created a scheduled task, which will now run wp-cron.php every 30 minutes.

  3. (Optional) You may want to run wp-cron.php on a different schedule. To do so, click the image tune icon icon. This will open a new Plesk tab with scheduled tasks. Change the default 30-minute interval, and then save changes.

    Note: The image tune icon icon is displayed if you have the permission to manage scheduled tasks.

The Plesk administrator can disable wp-cron.php on all new WordPress installations.

Prior wp-cron.php Configurations

You may have already disabled wp-cron.php without WordPress Toolkit by using the following ways:

  • Editing the wp-config.php file. In this case, WordPress Toolkit will detect this change and adjust the “Disable wp-cron.php” toggle.
  • Creating a scheduled task. In this case, WordPress Toolkit will create another one once you disable wp-cron.php in the WordPress Toolkit interface. You can either keep two tasks (it will not much affect the performance) or delete your task and keep the task created by WordPress Toolkit.

Mode Maintenance

Lorsqu’un site Web WordPress entre en mode Maintenance, le contenu du site Web est masqué pour les visiteurs. Il n’est ni modifié ni affecté d’une autre manière. Les visiteurs qui consultent votre site Web pendant qu’il est en maintenance voient la page Web de maintenance à la place du contenu du site Web.

image 79479

Turning on maintenance mode

Votre site WordPress se met automatiquement en mode Maintenance dans les cas suivants :

  • Upgrading your WordPress installation.
  • Copying data from one WordPress website to another.

Si vous modifiez votre site Web et si vous voulez temporairement le rendre invisible aux autres visiteurs, vous pouvez activer manuellement le mode Maintenance.

Pour mettre un site WordPress en mode Maintenance :

  1. Go to WordPress and choose the WordPress installation you want to put into maintenance mode.

  2. Turn on “Maintenance mode” on the installation card.

    image maintenance mode

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

Personnaliser la page de maintenance

Plesk WordPress Toolkit vous permet de modifier certains attributs de la page de maintenance afin d’y ajouter des informations. Par exemple, vous pouvez :

  • Modifier le texte affiché sur la page de maintenance
  • Ajouter un minuteur
  • Insérer ou supprimer des liens vers des pages de réseaux sociaux

Pour personnaliser la page de maintenance :

  1. Go to WordPress, choose the WordPress installation whose maintenance page you want to customize, and then click the image tune icon icon next to “Maintenance mode” on the installation card.

  2. Dans la section Texte affiché sur l’écran, vous pouvez modifier le texte affiché à l’écran. Vous pouvez utiliser des balises HTML pour modifier l’apparence du texte.

  3. In the Timer section, you can set up and turn on the countdown timer that will be displayed on the maintenance page.

    Note: le minuteur est uniquement destiné à informer les visiteurs de la durée estimée restante de la maintenance. Votre site Web ne sort pas du mode Maintenance quand le minuteur a terminé son compte à rebours. Vous devez le faire manuellement.

  4. Dans la section Liens vers les réseaux sociaux, vous pouvez ajouter ou supprimer des liens vers les pages de réseaux sociaux (Facebook, Twitter et Instagram).

  5. Cliquez sur OK.

Si vous avez de l’expérience en tant que développeur, vous pouvez personnaliser la page de maintenance, sans vous tenir aux options décrites ci-dessus.

Pour personnaliser la page de maintenance d’un site spécifique :

  1. Go to WordPress, choose the WordPress installation whose maintenance page you want to customize, and then click the image tune icon icon next to “Maintenance mode” on the installation card.
  2. Cliquez sur Personnaliser et modifiez le template de la page de maintenance dans l’éditeur de code.
  3. Cliquez sur OK.

Restaurer la page de maintenance par défaut

Si nécessaire, vous pouvez restaurer la page de maintenance par défaut.

Pour restaurer la page de maintenance :

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