WP-CLI

WP-CLI is the command-line interface for WordPress. You can update plugins, configure multisite installations, and much more without using a web browser.

Access to WP-CLI

Enter into devkinsta_fpm container:

docker exec -u www-data -it devkinsta_fpm bash

Go to your site folder:

cd /www/kinsta/public/siteName

Run WP-CLI command:

wp search-replace remote-domain.com my-local-site.local
Was this article helpful?