title: WPMU Change primary domain
body: <p>I have a blog network set up with Wordpress and WPMU. I'm trying to change my primary domain from example-foo.com to example-bar.com.</p>
  
  <p>The problem is, when I'm trying to access the website by example-bar.com, I get a redirect loop like this:</p>
  
  <pre><code>http://example-bar.com/wp-signup.php?new=example-bar.com
  </code></pre>
  
  <p>This happens when I'm trying to access the website and wp-admin.</p>
  
  <p>I changed the domain by editing the following in the database:</p>
  
  <ul>
  <li>I changed from example-foo.com to example-bar.com in wp_blogs.</li>
  <li>I changed the domain the same way in wp_options (siteurl and home)</li>
  <li>And in wp_site</li>
  <li>And wp_sitemeta (siteurl)</li>
  <li>And I changed the domain in wp-config.php under define('DOMAIN_CURRENT_SITE', 'example-bar.com');</li>
  </ul>
  
  <p>Any ideas how I can troubleshoot this further?</p>