I like the idea of making developers connect their copies to the same database and just set WP_HOME
and WP_SITEURL
to configure the domain name as they like it. In this model, we don't need to keep migrating databases between servers, and the content will be kept in sync between developers. We also use this for staging, as each version has its own wp-config.php
file.
If we try to make the same with multisite installs it won't work because it relies much more in the database values for domain names. So, what would be the best way of making multiple multisite development copies with different domains connect to the same database for development purposes like the non-multisite sites we're already dealing with?