DB connection lost after editing DOMAIN_CURRENT_SITE in wp-config.php
-
Hi all,
I’m currently trying to set up a new domain for the webserver containing a WordPress Multisite. Currently located at https://hviteorn.hosterspace.com, the domain https://hviteorn.no points to the exact same location. The database is located with the host supplier, with it’s own IP.
After changing DOMAIN_CURRENT_SITE in wp-config.php, I get an error establishing database connection. The DB info (pass,user etc) are still the same, and when resetting DOMAIN_CURRENT_SITE to hviteorn.hosterspace.com the connection works like a charm.
Anyone who knows where in WP I need to update corresponding information (I’ve tested by changing domain value in the db as well in wp_site, wp_blogs and wp_options) / why this happens? Any help would be much appreciated!
Marius
- The topic ‘DB connection lost after editing DOMAIN_CURRENT_SITE in wp-config.php’ is closed to new replies.