ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    How to Reset your Wordpress Admin Password

    IT Discussion
    wordpress php password reset wp-admin
    2
    4
    1.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • IRJI
      IRJ
      last edited by

      Original Post from My Blog

      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"

      Script here

      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.

      1 Reply Last reply Reply Quote 2
      • IRJI
        IRJ
        last edited by

        @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?

        BRRABillB 1 Reply Last reply Reply Quote 0
        • BRRABillB
          BRRABill @IRJ
          last edited by

          @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?
          IRJI 1 Reply Last reply Reply Quote 1
          • IRJI
            IRJ @BRRABill
            last edited by

            @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

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post