Passer au contenu principal
Maintenez vos activités pendant le COVID-19En savoir plus
Contactez-nous
Numéros de téléphone et heures
Centre d’aide

Explorez nos ressources d’aide en ligne

Aide

Managed WordPress Aide

Use WP-CLI to manage your site

You can control your Managed WordPress account through WP-CLI (WordPress Command Line Interface). If you're proficient with command line interfaces, this can be a much simpler way to get around WordPress.

  1. Access your Managed WordPress account via SSH (more info).

    Note: For Pro Managed WordPress accounts (available in U.S.A. and Canada only), skip the next step and continue with Step 3.

  2. Change to your account's html directory using the following command:
    cd html
  3. Run the WP-CLI application using the following command:
    wp

You can find a full list of commands on the WP-CLI site

Example Commands

Action Command
Update all plugins wp plugin update --all
Update all themes wp theme update --all
Repair your database wp db repair
Flush object and varnish cache wp purge

More info

Rubriques relatives à la communauté

IR's Avatar
Avada on Managed WP Hosting

5 Réponses

Last posted over 1 year ago.

Encrypt06's Avatar
How to update CLI php version?

1 Réponses

Last posted over 3 years ago.

manojkumarcdo's Avatar
How to Update PHP CLI Version

1 Réponses

Last posted over 3 years ago.

Vous ne voyez pas ce que vous recherchez ? Effectuez une recherche dans la communauté