How to Reset your Wordpress Admin Password
-
You forgot your WordPress password and you can't get in. Maybe you're like me and generated a password and forgot to save it to your password manager tool
Here is a simple trick to get you back in quick.
****Creating the script
Save this script as a php file. I called mine "emergency.php"
Uploading the PHP File
Upload the file to your root WordPress directory. Your root directory will also contain "wp-config.php"
Browse to the PHP file
Browse to http://yourwebsite.com/phpfile.php (In our example we used http://yourwebsite.com/emergency.php)
http://joelradon.com/wp-content/uploads/2016/07/2016-07-26-07_27_23-Program-Manager.png
Enter your username and your new password. Once you complete the form, you will receive a message saying "Your password has been successfully changed." You will also receive an email with the new password.
http://joelradon.com/wp-content/uploads/2016/07/2016-07-26-07_25_14-Program-Manager.png
Login to Wordpress
Now you should be able to login using the username and new password you created.
(Important!) Remove the PHP file
This is very important. Now that you are done with the password reset, you need to remove the php file we created. If you don't that poses a HUGE security risk and allows anyone to reset your password should they find that page.
-
@scottalanmiller How do you put your scripts on here. I was looking for a toggle in the toolbar for it. Is there some code that you use?
-
@IRJ said in How to Reset your Wordpress Admin Password:
@scottalanmiller How do you put your scripts on here. I was looking for a toggle in the toolbar for it. Is there some code that you use?
use the ` character 3 times
you mean this? you mean this?
-
@BRRABill said in How to Reset your Wordpress Admin Password:
@IRJ said in How to Reset your Wordpress Admin Password:
@scottalanmiller How do you put your scripts on here. I was looking for a toggle in the toolbar for it. Is there some code that you use?
use the ` character 3 times
you mean this? you mean this?
cool beans