wp core multisite-convert

Transforms an existing single-site installation into a multisite installation

Options

NameDescription
--title <network-title>The title of the new network
--base <url-path>Base path after the domain name that each site url will start with
--subdomainsIf passed, the network will use subdomains, instead of subdirectories. Doesn’t work with ‘localhost’