Cart
Article overview

Help article

Changing the password of your WordPress website

When you're already logged in to your WordPress Dashboard, you can easily change the password of your WordPress website. If you're not logged in (which isn't surprising if you've lost your password), there are several other ways to reset this password.

Read this article to learn about the different ways of restoring the password for your WordPress website.


Changing the password in the WordPress Dashboard

If you're already logged in to your WordPress Dashboard, you can change your password with just a few clicks.


Step 1

In the WordPres Dashboard, hover over 'Users' on the left hand side and click 'All users'.

click on all users



Step 2

Click your user name.

click your user name



Step 3

Scroll down to 'Account Management' at the bottom of the page. Click on 'Generate Password'.

click on generate password

A new password will now be generated. You are free to change this password to something else. Click 'Update Profile' to save the new password.


Changing the password in the WordPress log in page

If you're not already logged into your WordPress Dashboard, you can also reset your password in the WordPress log in page.


Step 1

Visit the log in page of your WordPress website. You do this by entering your domain name in the address bar of your browser, followed by either /wp-admin/ or /wp-login/

For example, if your domain name is site-example.com, enter site-example.com/wp-admin/ or site-example.com/wp-login/ in the address bar.

Next, click 'Lost your password?'.

click lost your password



Step 2

Now enter either the username or email address for your WordPress website and click 'Get New Password'.

click get new password

WordPress will then send an email to the email address linked to your WordPress website. Use the link in this email to reset the password of your WordPress website.


Changing the password using phpMyAdmin

If you can't remember or reach the email address linked to your WordPress website, you can also change the password of your WordPress website using the website's database.

The database contains the data of your WordPress website and can be managed using phpMyAdmin. We will now explain how to log in to phpMyAdmin and how to reset your password in your database.

Take note: Make sure you closely follow the next steps. Making incorrect changes to your database can cause harm to your website.

Step 1

Visit your control panel, visit the tab 'Domains & Hosting' at the top and select your domain name on the left hand side (don't check the box).

Click the cog wheel next to 'Your website', followed by 'Database'.

click database



Step 2

You'll now see an overview of the database created on your Web Hosting.

database overview

The link next to 'phpMyAdmin link' takes you to the phpMyAdmin log in page. Don't click this just yet, as this takes you to an empty log in page.

Below the link you can see the database name, how much data is assigned to your data and your databse username. Now click the database user name (in our example 'transiptutorials_com_wordpress'). This takes you to the phpMyAdmin log in page, where the server and username is already filled out for you.

You only need to enter the database password here. Click 'Go' to continue.

login to phpmyadmin

If you can't remember the database password, you can find this password in the 'wp-config.php' file of your WordPress website.

Visit 'SFTP filemanagement' in your control panel and visit the www folder. Select the wp-config.php file here and click 'Open' on the right hand side.

Search the wp-config.php file for the line that starts with define('DB_PASSWORD'. The current database password is in parantheses, as shown in the example below.

/** MySQL database password */
define('DB_PASSWORD', 'password');


Step 3

Once you're logged in to phpMyAdmin, you'll arrive on the main page. Click on the table called 'wp-users'.

click wp users



Step 4

You'll now see various options for the usernames of your WordPress users. Click on 'Edit'.

click edit



Step 5

Next to 'user_pass' you'll see a series of numbers and letters. Replace this hash with your new WordPress password. In our example we've used 'examplepassword1', we highly recommend using a more secure password.

Now open the drop down menu next to 'user_pass' and make sure 'MD5' is selected. Click 'Go' to save your changes.

Tip: Next to 'user_email' you can see the email address currently used with your WordPress website.

 

Changing this email address here allows you to reset the password in 'Changing the password in the WordPress log in page' with that email address.



In this article we explained the different ways of changing the password of your WordPress website.

If you have any questions regarding this article, please contact our support team. You can reach them using the 'Contact us' button below or via the 'Contact' button inside your control panel.

If you wish to discuss this article with other users, feel free to leave a comment below.

Do you have a good idea?

Give us your idea! If it's popular we'll add it to the wishlist!

Has this article been helpful?

Thanks for your feedback!

Feedback? Let us know in the discussion below.

Comments

You can use Markdown to format your response.
Logged in as: transipdemo

Are you stuck?

Ask one of our specialists to assist you

Contact us