I moved your topic to Networking WordPress so those that really know multisite can contribute. I initially thought this was a CLI question, but then decided the very nature of multisite is the issue more than what you can do through CLI.
My understanding is, as far as WP is concerned, the only valid URLs for blogs is either blog-name.main-site.com/ or main-site.com/blog-name/. You can do other formats through hosts and rewrites external to WP, but WP needs to be configured to accept one of the previously mentioned formats. If any multi-site experts knows differently, please do enlighten us.
Thank you. Maybe it will get more ‘press’ here 😉
I have verified that wp-cli does not handle modifying the blog url. However, since it is a required url to display the site properly, seems a candidate for future modifications of wp-cli
I don’t think this is a multi-site thing. It’s an every site thing. IF you are using a root domain and not a subdomain.
I dont understand what blog url is. The siteurl of a site should change the domain of the site. For example if I the site was created as ‘http://domain.com/subsite’, changing the siteurl to ‘http://domain2.com’ should work.
I do map my WP multisite subdirectory to other domains but I use the Domain Mapping plugin.
https://codex.wordpress.org/WordPress_Multisite_Domain_Mapping