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.
To Access WP-CLI on Your Managed WordPress Account
- Access your Managed WordPress account via SSH (more info).
- Change to your account's
htmldirectory using the following command:cd html
- Run the WP-CLI application using the following command:
You can find a full list of commands on the WP-CLI site here.
We have also created a custom command
purge which clears your Managed WordPress account's cache.
To update all plugins, run the following command:
To update all themes, run the following command:
To repair your database, run the following command: