If you are unable to get your WordPress Admin password through the normal methods, then you can try using the Emergency Password Reset Script. Note that this is option is a PHP script.

Before you use this script, you will need to know the following:

  • The script requires that you know the admin username.
  • The script updates the admin password, then sends an email to the admin's email address.
  • If you do not get the email, the password is still changed.
  • The script needs to be placed at the root of your WordPress installation (in the same location as your wp-config.php file).

Directions for using the Emergency Password Reset Script

  1. Copy the Emergency Password Script and place it into a file called emergency.php in the root of your WordPress installation. If you need help creating a file, please see How to Create a New File.
  2. When you have the script saved in the root of your installation, go to your browser and type in the URL to geto the scriopt. For example. http://your_domain_name.com/emergency.php
  3. Enter your WordPress admin username and the new password, then click Update options. As stated above, this script will not work if you do no know your admin user name.
  4. Check your admin's email for the notification of the change, and try to login to the WordPress admin to verify that the change has worked.
  5. Delete the emergency.php file from the server after you have completed the above step. Remember that leaving this script on your server is a major security risk as anyone can use it to reset your admin password

Make sure that the script has been removed from your server after you have completed the change to your admin password.

Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Did you find this article helpful?


n/a Points
2019-09-03 1:57 pm

Thanks, useful information :)

Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Need More Help?

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.