Skip to content
Home » How to Change the WordPress Password and Recover Access to the Administration

How to Change the WordPress Password and Recover Access to the Administration

Hello everyone! In this tutorial, I will show you how to change your WordPress password and regain access to your site’s administration, even if you do not have access to the registered email. We will use the cPanel control panel and phpMyAdmin to accomplish this task.

Changing the WordPress Password

Step 1: Accessing cPanel

To start, you need to have access to your hosting account’s control panel. In my case, I am using cPanel, but the process is similar in other control panels. Find and access phpMyAdmin in cPanel.

Step 2: Locating the WordPress Database

In phpMyAdmin, locate the database associated with your WordPress site. The database name can be found in the wp-config.php file of your site. In my example, the database is called modelo_site. Click on it to view the tables.

Step 3: Editing the Users Table

Look for the table that ends with _users. The prefix may vary, but the ending _users will always be the same. Click on the table to open it.

Find the row corresponding to the administrator user. The row will usually be at the top of the table. Click “Edit” next to the corresponding row.

Step 4: Changing the Password

On the editing screen, you will see the user_pass field. The password is encrypted and cannot be retrieved. However, you can change it. Enter the new password in the user_pass field, and make sure to select MD5 from the function list to encrypt the password.

Click “Run” to save the changes.

Step 5: Accessing the WordPress Administration

Now, you can access the WordPress administration using the username and the new password you just set. Go to the WordPress login panel and enter the modified credentials.

Step 6: Changing the Password Again for Security

After gaining access, it’s good practice to change the password again directly in WordPress. Go to the users section and set a new password that is encrypted according to WordPress standards.

Additional Tips

If you are experiencing issues with your WordPress site’s hosting, or need support for recovery or restoration of pages, you can find more information and support at my WordPress hosting site.

This is a simple and effective method to regain access to your WordPress site. If you have any questions or need further assistance, feel free to reach out!

See you next time!

Learn more here!

[custom_mwai_chatbot lang="en"]