Explore our in-depth
crafted by
skilled professionals!

Our Latest News, Advice and Thoughts

Reset WordPress Admin Password Using Emergency Password Reset Script

You are here:

In this tutorial, we will explore how to change the WordPress administrator password using the Emergency Password Reset Script.

WordPress offers several methods to change the administrator password. If you ever misplace or forget your WordPress administrator password, there is no need to worry. Many WordPress administrators manage their websites through the dashboard. You can try changing your WordPress administrator password using the following methods:

1) Email

2) phpMyAdmin

3) FTP


Emergency Password Reset Script

If you fail to change your WordPress administrator password using the mentioned methods above, you can resort to the emergency password reset script. This script is not a WordPress plugin. It is actually a PHP script. However, you must exercise caution when using this script, as it can be dangerous. Anyone who runs this script can easily change and steal your WordPress password. Before using this script, it is important to understand what it requires and what it accomplishes.


Script Information

1) You should know your Administrator username.

2) The script updates the Administrator password and sends it via email to the Administrator’s email address.

3) If you do not receive the email, the password has been changed.

4) The script must be placed in the root of your WordPress installation.

5) Remember to delete the script when you are finished using it.

 Reset Wordpress


Running the Script

You can easily run this script by following the instructions below:

1) Create a file named emergency.php in the root of your WordPress installation and save the script in it.

2) Open https://yourdomain.com/emergency.php in your browser.

3) Enter your Administrator username and the new password when prompted.

4) Click on Update Options. An email will be sent to the Administrator email address with the updated password information.

5) Delete the file emergency.php from your server to prevent unauthorized password changes.

I hope you have successfully changed your WordPress Administrator password. Please make sure to delete this script as soon as you have finished changing the password.


If you need any further assistance, please contact our support department.



Leave a Comment