1. Home
  2. Advanced Customizations
  3. Are There API’s Available to…

Are There API’s Available to Configure Subdomains Programmatically For Our Multisite Sub-Sites?

In order to do this, you would need a dedicated DB but if it’s expected to grow at a steady pace, it might make sense to do DB sharding. Metadata performance can be poor if you get too many tables, which primarily becomes an issue when creating backups. Unfortunately, we do not have an API to create new subsites inside a multisite. However, you can do it with WP-CLI at a minimum.

Was this article helpful?