Emergency Password Reset Script in WordPress

Sometimes you forgot your Admin email address and password of your website and want to reset your admin password of your site.

Below is the list of Action you can do to reset your password. In this tutorial, I will share how to reset your password using emergency password reset Script.

Emergency Password Reset Script in WordPress

Reset Your Password Using Emergency Password Reset Script in WordPress

This is a simple PHP Script, not a WordPress plugin. Below is the list of warning to reset the password using an emergency password. You need the below information before resetting your password.

  1. Requires you know the administrator username
  2. Upload this script root directory of your WordPress installation.
  3. If you don’t receive the email, the password is still changed.
  4. You don’t need to logged in to use this script.
  5. Due to some security, delete this script after reset the password.
  6. Do not upload it inside the WordPress Plugin directory.

Emergency Password Reset Script in WordPress

Create emergency.php file and copy paste below code. After that open http://your-website-url.com/emergency.php in your browser.

Now enter the administrator username, new password and then click Update Options to reset the password. Delete emergency.php from your server when you are done.

More detial…

If you like FreeWebMentor and you would like to contribute, you can write an article and mail your article to [email protected] Your article will appear on the FreeWebMentor main page and help other developers.

Recommended Posts:

Article Tags: , , , , ,