title: Admin Panel Redirecting to root
body: <p>When I moved from localhost to live, I did a find and replace on my database for anything with <a href="http://localhost" rel="nofollow">http://localhost</a> and switched it out with my new url.
  Now I've got a problem of my admin panel redirecting to the site root.</p>
  
  <p>I noticed my url for admin is getting re-written and re-directed before logging in.</p>
  
  <p>Say i went to <a href="http://www.mysites.com/wp-admin/" rel="nofollow">http://www.mysites.com/wp-admin/</a></p>
  
  <pre><code>The url changes to http://www.mysites.com/wp-login.php?redirect_to=http%3A%2F%2Fmysites.com&amp;reauth=1
  </code></pre>
  
  <p>What has messed up in my database? :(</p>