Wordpress Cpanel: lost administration login

Procédure

Why should I reset my Wordpress password on cPanel?

If you've forgotten your password, you need to reset it. This tutorial suggests three methods for resetting your WordPress password:

  • Resetting the password by email
  • Resetting the password via the database(PhpMyAdmin)
  • Resetting your WordPress password via FTP

How do I reset my WordPress password by email?

1. Log in to your WordPress dashboard and click on the"Forgot password" button.

Wordpress Cpanel: lost administration login

2. Enter your WordPress username or your email address then click on the"Generate password" button.

Wordpress Cpanel: lost administration login

3. Within a few minutes, your new password will be sent to the email address associated with your WordPress user. If you haven't received it, check your spam folder.

How do I reset my WordPress password using PphpMyAdmin?

1. Log in to your client interface and click on the"Access cPanel" button.

Wordpress Cpanel: lost administration login

2. Go to the"Databases" section and click on the"PhpMyAdmin" button.

Wordpress Cpanel: lost administration login

3. Click on the table ending in"_users" to access all the connection identifiers.

Wordpress Cpanel: lost administration login

4. Click on the "Edit" tab in front of the login you wish to modify.

Wordpress Cpanel: lost administration login

5. Go to the"user_pass" line, select"MD5" (MD5 is a password hashing method), then enter your new password and click on the"Execute" button to save your new settings.

Wordpress Cpanel: lost administration login

How do you reset your password using FTP?

1. Log in to your cPanel management interface.

Wordpress Cpanel: lost administration login

2. Click on the"File Manager" button in the"Files" section to access FTP.

Wordpress Cpanel: lost administration login

3. Enter the path to your current theme in the field provided(example: /wp-content/themes/theme-name). Click the"Enter" key to access it.

Wordpress Cpanel: lost administration login

4. Click on the"functions.php" file and then on"Modify" to access the coding for this file.

Wordpress Cpanel: lost administration login

5. A pop-up window will open. Click on"Edit" to access the coding.

Wordpress Cpanel: lost administration login

6. Place the following lines of code at the beginning of your file. Before making any changes, it's best to make a backup.

<?php $user_id = 1; $password = 'votrenouveaumdp'; // Set your password wp_set_password( $password, $user_id ); ?>

Wordpress Cpanel: lost administration login

Once you have changed the password, make sure you have removed the code to prevent your site from being hacked.

Conclusion

You can now reset your WordPress website password in several ways with LWS.

Don't hesitate to share your comments and questions!

help.lws.net/a/1028
Was this article helpful?

Yes

No

Read 41 493 times

Thank you! Feel free to ask questions about our documentation if you would like more information, and help us improve it.

Similar articles

Questions about the article 1

Ask a question
Mika
18 Oct 2022
Comment puis-je retrouver mon identifiant LWS!!!!!
fabrice-LWS Official answer
18 Oct 2022
Bonjour, vous pouvez demander un nouveau mot de passe ainsi que votre identifiant en vous rendant sur la page suivante: https://panel.lws.fr/frperte.php et en y indiquant l'adresse email rattachée à votre compte client. Vous recevrez un premier email avec un lien à valider. Une fois le lien validé, un second mail vous sera envoyé avec votre identifiant et un nouveau mot de passe.
Was this answer helpful?

A question about this article?

Ask the LWS team and the community. Answers are published after moderation.

Ask the LWS team and its community a question

GDPR: Controller: LWS-Ligne Web Services. Purpose: moderation and public publication of your question, possible notification of an answer. Legal basis: consent (Art. 6(1)(a) GDPR). Email retention: 90 days after notification, 12 months maximum without an answer. To exercise your rights, see the GDPR section of our Terms and Conditions.