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?

© 2013 - 2025 Kinsta Inc. All rights reserved. Kinsta®, MyKinsta®, and DevKinsta® are trademarks owned by Kinsta Inc.The WordPress® trademark is the intellectual property of the WordPress Foundation, and the Woo® and WooCommerce® trademarks are the intellectual property of WooCommerce, Inc. Uses of the WordPress®, Woo®, and WooCommerce® names in this website are for identification purposes only and do not imply an endorsement by WordPress Foundation or WooCommerce, Inc. Kinsta is not endorsed or owned by, or affiliated with, the WordPress Foundation or WooCommerce, Inc. Legal information