Subject: Wordpress - Reset Admin Password
The following message was sent by our staff regarding the above subject:
Hello,
If your Wordpress admin password ceases to work, you can try these suggestions listed here to reset or change it:
http://codex.wordpress.org/Resetting_Your_Password
1) To Change Your Password
To change your password in current versions:
1. In the Admin Panel menu, go to USERS
2. Click on your username in the list to edit
3. In the Edit User screen, scroll down to the New Password section and type in a new password in the two boxes provided. The strength box will show how good (strong) your password is.
4. Click the UPDATE PROFILE button
Your new password takes effect immediately.
2) Through the automatic emailer
If you know your username and the email account in your profile, you can use the "lost password" feature of WordPress.
1. Go to your WordPress Login page (something like http://yoursite.com/wordpress/wp-login.php)
2. Click on lost password
3. You will be taken to a page to put in some details. Enter your user name and the email address on file for that account.
4. Wait happily as your new password is emailed to you.
5. Once you get your new password, login and change it to something you can remember on your profile page.
3) Through phpMyAdmin (Database Administrator)
This article is for those who have phpMyAdmin access to their database. Note: use phpMyAdmin at your own risk. If you doubt your ability to use it, seek further advice. WordPress is not responsible for loss of data.
1. Begin by logging into phpMyAdmin and click databases.
A list of databases will appear. Click your WordPress database.
All the tables in your database will appear. If not, click Structure.
2. Look for wp_users.
3. Click on the icon for browse.
4. Locate your Username under user_login
5. Click edit
Your user_id will be shown, click on Edit
Next to the user_pass is a long list of numbers and letters.
6. Select and delete these and type in your new password.
7. Type in the password you want to use. Just type it in normally, but remember, it is case-sensitive.
In this example, the new password will be 'rabbitseatcarrots'
8. Once you have done that, click the dropdown menu indicated, and select MD5 from the menu.
9. Check that your password is actually correct, and that MD5 is in the box.
10. Click the 'Go' button to the bottom right.
11. Test the new password on the login screen. If it doesn't work, check that you've followed these instructions exactly.
4) Through FTP
There is also an easy way to reset your password via FTP, if you're using the admin user.
1. Login to your site via FTP and download your active theme's functions.php file.
2. Edit the file and add this code to it, right at the beginning, after the first <?php:
wp_set_password('password',1);
Put in your own new password for the main admin user. The "1" is the user ID number in the wp_users table.
3. Upload the modified file back to your site.
4. After you then are able to login, make sure to go back and remove that code. It will reset your password on every page load until you do.
5) Using the Emergency Password Reset Script
If the other solutions listed above won't work, then try the Emergency Password Reset Script. It is not a Plugin. It is a PHP script.
Warnings
Requires you know the administrator username.
It updates the administrator password and sends an email to the administrator's email address.
If you don't receive the email, the password is still changed.
You do not need to be logged in to use it. If you could login, you wouldn't need the script.
Place this in the root of your WordPress installation. Do not upload this to your WordPress Plugins directory.
Delete the script when you are done for security reasons.
Directions for use
1. Copy the emergency script from Emergency Password Script and put into a file called emergency.php in the root of your WordPress installation (the same directory that contains wp-config.php).
2. In your browser, open http://example.com/emergency.php.
As instructed, enter the administrator username (usually admin) and the new password, then click Update Options. A message is displayed noting the changed password. An email is sent to the blog administrator with the changed password information.
3. Delete emergency.php from your server when you are done. Do not leave it on your server as someone else could use it to change your password.
Please feel free to contact us again if you have any other questions or issues. Thank you for contacting us.
Best regards,
WEBMASTERS.COM
Support Team |