Skip to main content
Call us
  • Support Auckland: 9:00am~2:00am Monday~Friday(09) 975-9407
  • Support Countrywide (landline only) 9:00am~2:00am Monday~Friday0800 441 995
Phone numbers and hours
Help Center

Explore our online help resources

Help

Managed WordPress Help

Use WP-CLI to manage your site

You can control your Managed WordPress site through WordPress command-line interface (WP-CLI). If you're proficient with command line interfaces, this can be a much simpler way to work with WordPress.

  1. Access your Managed WordPress site 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

See the full list of WP-CLI commands currently available.

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 wpaas cache flush

More info