Sometimes, you might forget your wp-admin password, or perhaps you need to change your WordPress admin password to enhance website security. But what do you do when this happens? In this guide, we will show you how to reset WordPress admin password using cPanel.
What is cPanel Hosting?
cPanel Hosting refers to a popular type of web hosting management interface used by many hosting providers. It allows users to manage various aspects of their website, including databases, file management, backups, and security, all from one central dashboard. For WordPress users, cPanel is a powerful tool for managing technical issues like resetting passwords, as it provides direct access to your website’s database through phpMyAdmin.
Part 1: Changing the WordPress Admin Password While Logged In
If you can still access your WordPress admin dashboard, follow these steps:
Step 1: Log in to Your WordPress Dashboard
Once logged in to your WordPress site:
Step 2: Navigate to Users > All Users, and click Edit on the Admin account.
Step 3: Scroll to the bottom of the page and click Generate Password.
You will see a new password generated. You can either use this randomly created password or input a new one of your choice. After setting the new password, click Update Profile to save the changes.
Part 2: Resetting WordPress Admin Password When Locked Out
If you have forgotten your admin password and cannot log in to wp-admin, you will need to modify the database to reset the password. If you are using cPanel hosting, follow these steps:
Step 1: Log in to Your Hosting Account
Access your hosting provider’s control panel.
Step 2: Open phpMyAdmin
Once in cPanel, locate and click on phpMyAdmin.
Step 3: Select the Database for Your Website and Open the Users Table
In phpMyAdmin, find the database associated with your website. Then, navigate to the users table (note that the table prefix xxx_ may vary, such as wp_users).
Step 4: Edit the Admin User (Typically with ID 1)
Look for the admin account, which usually has the ID number 1, and click Edit.
Step 5: Change the Password
Find the user_pass field. In the function column, select MD5 from the dropdown, and in the adjacent field, enter your new password. Click Go to save the changes.
After completing these steps, you should be able to log in with the new password.
Conclusion
Whether you’re locked out or simply want to improve your WordPress site’s security, resetting your WordPress admin password through cPanel is a straightforward process. Managing your hosting effectively, including tasks like password management, ensures your website runs smoothly and stays secure.
If you’re looking for customised solutions and seamless hosting experiences, Unified Computing offers comprehensive web solutions tailored to your specific needs. From web hosting to security management and custom software integrations, our team helps you keep your website optimised and secure.
Reach out to us today for expert support and take your website to the next level!