I have just taken over a clients website to carry out future maintenance and updates. I am not sure if the previous developer left on a bad note but the thought has crossed my mind. I simply cannot log in to /wp-admin no matter what solution I try
Here is what I have tried thus far (and I am sure I will forget some). Logged in to phpMyAdmin and:
- Changed previous password and selected MD5. - Incorrect password on login page error
- Changed previous password and did not select MD5 - Incorrect password on login page
- Changed previous email to mine and tried to log in with e-mail - Unknown email address. Check again...
- Tried to use the lost password feature - No positive result on login page
- Tried to disable plugin folders - No positive result on login page
- Replaced the .htaccess file - No positive result on login page
- Checked file permissions for wp-login.php, wp-admin folder - No positive result on login page
- Replaced wp-login.php - No positive result on login page
- Added a new user to the _users table - No positive result on login page
- Added 2 new entries for wp_capabilities and wp_user_level to _usermeta - No positive result on login page
- Cloned ALL the previous developers entries and changed the user_id to my newly created one - No positive result on login page I have tried putting some suggested emergency scripts - No positive result on login page. I get no other errors, no connection issues, or screen of death. Everything looks like either the user doesn't exist or the password is wrong.
So at this point I have no clue what else it could be. I am a front end guy so that's probably where my limitation is for the moment. Does anyone have any suggestion as to how else I can get the client's website back? Thank you very much for your time and help!
emergency.php
from .org? Any changes to WordPress core can easily be undone by overwriting it with a fresh copy from wp.org. Note though that this isn't a discussion forum so you need a specific question phrased so that an answer written can be accepted as the canonical correct answer for that question. If you just want suggestions/discussion then the question might be closedemergency.php
in the browser it isn't a plugin wordpress.org/documentation/article/reset-your-password/…, also note that if you've changed the URL of the site without doing a proper search replace of the database that too could break login since any session it created would not be valid for the site. This is as far as I'm able to help you though, it's looking very likely that you don't have a clear question and this question is too localised, you need a specific question it can't be an open ended investigation