Delays in accessing desired features or page loading times can be frustrating.
Enter WP-CLI, the WordPress Command Line Interface, which offers a solution to these challenges. WP-CLI allows you to take direct control of your projects through straightforward commands.
We are pleased to announce that WP-CLI is now fully supported on our cloud hosting platform, as well as on all dedicated servers and virtual servers utilizing the Web Hosting Control Panel.
WP-CLI, short for WordPress Command Line Interface, is an extension that combines the capabilities of WordPress with the convenience of command-line interactions on Unix-based systems. It empowers users to efficiently manage their WordPress installations using text-based commands.
This command-line tool streamlines various tasks typically performed on the backend of a website. For instance, instead of navigating through menus and search interfaces to install a plugin, you can achieve the same result with a straightforward command like:
wp plugin install user-switching --activate
In this command-line example, the User Switching plugin is both installed and activated swiftly.
To make the most of WP-CLI, it's necessary to have SSH access to your account within our system. You can employ our provided Web SSH interface or any terminal client you prefer for this purpose.
Once you've established a connection to your account, navigate to the directory where your WordPress installation resides.
Note: If WordPress is installed within a directory like "/wordpress" rather than the root folder of your domain, you should enter the "/wordpress" folder.
From this location, execute the command wp --info. This will generate an output resembling the following:
If you observe this output, you can start using WP-CLI immediately.
With WP-CLI, you can swiftly undertake various WordPress tasks. Here are some essential commands to get you started:
Note: WP-CLI supports themes and plugins exclusively from the official WordPress repository.
WP-CLI offers an extensive range of capabilities, including the automation of backups, updates, and various other repetitive tasks. Using WP-CLI is more straightforward than it might seem initially, and there are abundant resources available if you wish to delve deeper.
These resources encompass documentation on its official website, a user guide, and numerous practical examples to assist your proficiency.