Changing the domain of a WordPress multisite setup

You need to update five different tables in the database in order to change the domain, as well as updating the wp-config.php file

The following SQL script takes care of updating all tables in one go. Make sure to replace newdomain.com and olddomain.com (minus the http:// at the begining and / at the end) with the domain you want to change to before running the SQL commands

In wp-config.php, update the following line:

define( 'DOMAIN_CURRENT_SITE', 'newdomain.com' );
loading gist from github...

Please note that this site and the posts on it are, and will always be, a work in progress. If i waited for perfection, i’d never get anything done.