title: XAMPP Site Redirects to localhost
body: <p>I have set up a wordpress multisite installation on my xampp localhost.</p>
  
  <p>I went to update xampp this morning to a newer version, and it screwed my database. I've since re-installed the older version of xampp, re-imported my database and re-imported my sites folder to htdocs.</p>
  
  <p>I had it set up so I could go to mysite.com and it would direct me to the correct sub folder.</p>
  
  <p>Now when I go to localhost or mysite.com it redirects me to localhost.</p>
  
  <p>If I do localhost/mysite then I get a 404 error not found.</p>
  
  <p>Did I miss a step?? Database is re-imported and connected, my .htaccess file is set up properly (as I didn't change any of the settings) and my wp-config.php file is set up correctly (again didn't touch it).</p>
  
  <p>Thanks</p>
  
  <hr>
  
  <p>Ok as per a request I'm including my .htaccess. I know that it is set up correctly.</p>
  
  <pre><code>RewriteEngine On
  RewriteBase /
  RewriteRule ^index\.php$ - [L]
  
  # add a trailing slash to /wp-admin
  RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
  
  RewriteCond %{REQUEST_FILENAME} -f [OR]
  RewriteCond %{REQUEST_FILENAME} -d
  RewriteRule ^ - [L]
  RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
  RewriteRule ^(.*\.php)$ $1 [L]
  RewriteRule . index.php [L]
  </code></pre>