How to Change Site Address
-
I created a new WP site and activated multisite on it. When I created it, for test purposes, I indicated its local IP address of 10.251.0.15. Now everything is keyed to that address (10.251.0.15/site1, etc.). Eventually I will want this site to be referenced using local.goodnewsjail.org (local.goodnewsjail.org/site1). What do I need to do to effect this change? I tried just changing the line below in the wp-config.php file, but it then throws an error. It appears that stuff in the database is keyed to the physical address.
define(‘DOMAIN_CURRENT_SITE’, ‘10.251.0.15’);
changed to
define(‘DOMAIN_CURRENT_SITE’, ‘local.goodnewsjail.org’);
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to Change Site Address’ is closed to new replies.