I migrated one of my sites to WPMUDEV hosting today. In wp-config.php I set the constants WP_SITEURL & WP_HOME to their respective canonical values. However, later when I changed my primary domain in the hosting hub, both lines were removed from wp-config.php. So, if I shouldn’t use those constants, what is the proper way in php to get/set the canonical domain for my site?
- Matthew
- Design Lord, Child of Thor