I can easily update the site url of a subsite by navigating to Network Admin->Sites and change in the particular subsite's siteurl.

However, i would like to programmatically change the siteurl using wp cli. But I couldn't find the appropriate command for this action. It is possible to do so using wp-cli?

I tried wp network meta & wp site, but none of this work.

Hope that anyone can advice on this.

Thanks

Your Answer

 
discard

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.