I am working on a site using localhost. Some where I have messed up a setting and when I try to open my wp-admin site it is putting localhost at the beginning of my path names.
ex. when I try to go to localhost/wp-admin it redirects me to http://localhost/wp-admin/localhost/wp-login.php?redirect_to=http%3A%2F%2Flocalhost%2Fwp-admin%2F&reauth=1
I have tried renaming .htaccess file, updating siteurl & home tables in phpmyadmin back to localhost.