Do you want to install or update more than one word press plug-in at a time? This guide uses wp-cli to install multiple plug-ins from the command line interface. We will show you how to use wp-cli to manage plug-ins, such as updating multiple plug-ins without logging in to the WordPress website, enabling \/ disabling plug-ins, and deleting (deleting) plug-ins in batch! Before we begin, let’s discuss a few prerequisites. If the shared hosting provider uses WordPress, the host must provide SSH access and install wp-cli. Although you can view the official word press list of supported hosts, for the best word press hosting, all recommendations are provided with wp-cli pre installed. If you are hosting WordPress on a VPS or ECs, the later sections of this guide will show you how to install wp-cli on the server. (PS: to learn how to install WordPress on VPS, please follow the digital ocean tutorial). The operating system must be in an environment similar to UNIX (Linux, OS X, FreeBSD). PHP 5.4 or later and word press 3.7 or later. Almost all proposed WordPress hosts meet these criteria, so you can continue. Finally, this tutorial is not written for beginners. Users familiar with CLI (command line interface) and server management must use this guide. Let’s go. The
What is wp-cli for WordPress? The wp-cli is a free open source project that allows you to manage the word press site using the command line interface (CLI). Wp-cli greatly simplifies many word press tasks, such as installing word press, backing up databases, updating word press core, installing word press plug-ins, and installing or updating topics. All these operations can be completed by entering some commands at the terminal without logging into the WordPress site. Results? Save time, reduce error space and improve work efficiency! The following is a good introduction to wpshout. You can learn more about wp-cli. The
How to install wp-cli on WordPress VPS or ECS? Users who install WordPress on VPS (such as digital ocean), cloud hosting providers (such as Amazon Web services (AWS) or Google cloud), or hosting virtual machines (such as cloud ways) can install wp-cli in their own location. A servant. Note: in this tutorial, WordPress uses the pre installed vultr VPS (similar to the digital ocean drop-down list) and refers to the official documentation. The
Step 1: log in to the server as root. If you do not have access rights to the root user, please log in as a user with read, write and execute permissions in the \
Male PHP WP cli Phar– information step 4: enter WP and try to run WP cli on the command line. To do this, you must make the wp-cli file operational, and then navigate to the bin directory. To make the androg wp-cli file operational, enter: Chmod +x WP cli Navigate to the bin directory after phar. Sudo MV WP cli PH
The command to activate xuyaost SEO and jetpack (assuming installed) is as follows: The WP plug-in activates WordPress so jetpack. Similarly, the commands to disable (or disable) the two plug-ins are as follows: Disable the WP plug-in WordPress so jetpack or the following command to disable all active plug-ins on the WordPress site. The
Disable WP plug-ins – how to batch update multiple plug-ins in word press using all WP cli. Another useful application of WP cli is to batch update all plug-ins installed on the word press site. The command is as follows: In addition to updating the WP plug-in – all ending plug-in maintenance, WP cli can also perform a large number of maintenance tasks very efficiently through the command line. It is a very powerful tool that can save a lot of valuable time. It is recommended to execute wp-cli on the dump server or a new word press instance when trying wp-cli for the first time. Once you are familiar with the tools, you can use them on real-time sites. I hope you learned something new in this tutorial. Have you used wp-cli before? What’s your favorite trick?