24/7 U.S. Support – 877-595-4482
When the administrators password is lost or you forget the username for your WordPress dashboard, the password can be reset and the username can be recovered. This article will explain how to reset the password with the wp_set_password(); function and through PhpMyAdmin, and how to recover your username from PhpMyAdmin.
The WordPress password can be changed by adding code to the functions.php file in your theme folder. Below are the steps to accomplish this..
/public_html/your-user/wp-content/themes/your-theme/functions.php
wp_set_password('password',1);
Important! Make sure you remove the code and update your password. If not, the page will continually reset the password with the script.
Resetting your password or recovering your username through PhpMyAdmin can be an easier way . The following steps will explain how to reset your WordPress Dashboard password and find your username with PhpMyAdmin.
Important! Always remember to have a backup of your database before doing any direct editing on that database.
Select the wp_users table.
Click Edit (The pencil icon).
The user_login field is the username for the admin login.
The user_pass field is where the password is stored.
Type a new password in the password field.
Click "Go"
| Email: | support@WebHostingHub.com | Ticket: | Submit a Support Ticket |
|---|---|---|---|
| Call: |
877-595-4HUB (4482) 757-416-6627 (Intl.) |
Chat: | Click To Chat Now |
Copyright © 2013 Web Hosting Hub - Privacy Policy - Terms of Service