Moved multisite from domain.com to localhost - Can't get it to work <p>I've copied the entire wordpress folder from a server to my local machine. I have also exported and imported our MySQL database which I can access just fine. </p> <p><strong>What settings do I need to modify in order to make the wordpress sites run on my computer?</strong> </p> <p>So far I have done this:</p> <ol> <li>Changed <code>define('DOMAIN_CURRENT_SITE', 'domain.com')</code> to <code>define('DOMAIN_CURRENT_SITE', 'localhost.com')</code> in <strong>wp-config.php</strong></li> <li>I've added <code>127.0.0.1 localhost.com</code> to my <strong>hosts file</strong></li> <li>I've changed the row <code>siteurl</code> to <code>localhost.com</code> in the database table <strong>wp_options</strong></li> </ol> <p>But I'm not sure what else to change to make it work. Whenever I try to access localhost.com I get redirected to the url listed in wp_config.php <code>define('NOBLOGREDIRECT', 'http://www.domain.com')</code>.</p> <p>I'm using MAMP and accessing MAMP works fine. It's accessing the WP sites that trouble me. I don't know how/where to set the urls to make it work. </p>