How do I reset my Wordpress password?

Procédure

Why reset your WordPress password?

Forgot your WordPress password?

This article is for you! We suggest 3 ways to reset your WordPress password:

  • Reset your WordPress password by email (Beginner method)

  • Resetting your WordPress password via PHPMyAdmin (Intermediate method)

  • Resetting your WordPress password via FTP (Expert method)


The various steps presented in this article were carried out from the LWS customer area corresponding to the shared hosting packages.

How do I reset my WordPress password by email?

1. Go to your WordPress administration login interface and click on"Forgot your password?

How do I reset my Wordpress password?


2. Enter the username or email address attached to your WordPress account and click on the"Generate a password" button.

How do I reset my Wordpress password?


3. Check your inbox. You should receive a link allowing you to reset the password.

How do I reset my WordPress password using PHPMyAdmin?

1. Go to your customer area and click on the"Manage" button corresponding to the package where the WordPress site is located.

How do I reset my Wordpress password?


2. In the"Database & PHP" section, click on the"MySQL & PHPMyAdmin" button.

How do I reset my Wordpress password?


3. Click on the button to access the"PHPMyAdmin" interface.

How do I reset my Wordpress password?


4. Enter your database login and password and click"Run" to connect.

How do I reset my Wordpress password?


5. Deploy your database and click on the"wp_users" table, then in the list that appears, identify the administrator account for your website. Once you have identified the administrator, click on the"Edit" tab in front of the relevant line.

How do I reset my Wordpress password?


6. In the"user_pass" field, select the"MD5" function and enter the password you want. Select"Save" then click on the"Run" button.

How do I reset my Wordpress password?

How do you reset your WordPress password using FTP?

1. Log in to your LWS customer area and click on the"Manage" button corresponding to the package where the WordPress site is located.

How do I reset my Wordpress password?


2. In the"Files" section, click on the"File Manager" button.

How do I reset my Wordpress password?


3. Use the left-hand side of the file manager to navigate through the various directories (1) and to access the directory of the theme currently used by your site (example: /wp-content/themes/theme-name). When the contents of the directory are displayed on the right-hand side, click on the"functions.php" file (2) and the"Modify" menu (3).

How do I reset my Wordpress password?


4. Place the following lines of code at the beginning of your"functions.php" file. Note that it is advisable to make a backup of your original file before changing the configuration.

<?php $user_id = 1; $password = 'azerty'; // Set the password you want wp_set_password( $password, $user_id ); ?>

How do I reset my Wordpress password?


Make sure you remove these lines of code once you've logged in.

Procedure video :

Conclusion

You can now reset your WordPress site password with LWS. There are 3 steps so that you can connect to your dashboard again.

Don't hesitate to share your comments and questions!

Rate this article :

5/5 | 1 opinion

This article was useful to you ?

Article utileYes

Article non utileNo

Vous souhaitez nous laisser un commentaire concernant cet article ?

Si cela concerne une erreur dans la documentation ou un manque d'informations, n'hésitez pas à nous en faire part depuis le formulaire.

Pour toute question non liée à cette documentation ou problème technique sur l'un de vos services, contactez le support commercial ou le support technique

MerciMerci ! N'hésitez pas à poser des questions sur nos documentations si vous souhaitez plus d'informations et nous aider à les améliorer.


Vous avez noté 0 étoile(s)

Similar articles

2mn reading

How do I create a Wordpress website?

0mn reading

Error connecting to the database on Wordpress

2mn reading

Our Wordpress packages

1mn reading

Getting started with Wordpress


Ask the LWS team and its community a question