When I moved from localhost to live, I did a find and replace on my database for anything with http://localhost and switched it out with my new url.
Now I’ve got a problem of my admin panel redirecting to the site root.
I noticed my url for admin is getting re-written and re-directed before logging in.
Say i went to http://www.mysites.com/wp-admin/
The url changes to http://www.mysites.com/wp-login.php?redirect_to=http%3A%2F%2Fmysites.com&reauth=1
What has messed up in my database? 🙁
Something went wrong somewhere, did a clean install of wordpress and all was fixed again.