WordPress Reset Password: A Complete Detailed Guide

WordPress website forgettingRemembering passwords is a common problem. The good news is that WordPress providesMultiple reset passwordsThe methods will enable you to easily restore access to your website. I will describe these methods in detail, including using the built-in password reset feature, resetting the password via the database, and manually resetting the password via FTP.

图片[1]-WordPress重置密码:完整详细指南-光子波动网 | 专业WordPress修复服务,全球范围,快速响应

First, use WordPress built-in password reset function

  1. The login page requests a password reset:
    1. Open your WordPress login page, which is usually https://www.361sale.com/wp-login.phpThe
    2. Click "Forgot your password?"Link.
    3. On the page that appears, enter the email address or username you used to register and click "Get new password"Button.
    4. Check your email inbox for an email from WordPress and click on the link in the email.
    5. You will be redirected to a page where you can enter and confirm your new password. When finished, click the "Reset Password" button.
  2. Make sure the email settings are correct:
    • If you don't receive an email to reset your password, check your spam folder.
    • Make sure your WordPress site's email settings are correct. You can use plugins such asWP Mail SMTPto configure and test the email sending functionality.
图片[2]-WordPress重置密码:完整详细指南-光子波动网 | 专业WordPress修复服务,全球范围,快速响应

II. Password reset through the database

If you are unable to reset your password via email, you can change it directly in the database.

  1. Access phpMyAdmin:
    • Log in to your hosting control panel (e.g. Pagoda or 1P, etc.).
    • Locate and open phpMyAdmin.
  2. Select the database:
    • In phpMyAdmin, select the database that corresponds to your WordPress site.
  3. Find the user table:
    • Find the file in the database namedwp_userstable (prefixes may vary, depending on your WordPress installation).
  4. Edit user information:
    • Find your username and click "Edit".
    • existuser_passIn the field, select "MD5" as the function.
    • Enter your new password in the Value field.
  5. Save changes:
    • When finished, click the "Execute" button to save the changes.
图片[3]-WordPress重置密码:完整详细指南-光子波动网 | 专业WordPress修复服务,全球范围,快速响应

Third, manually reset the password through FTP

If you can't access phpMyAdmin, you can also reset your password manually via FTP.

  1. Connect to your server:
    • Connect to your server using an FTP client such as FileZilla.
    • Enter the hostname, username and password to connect.
  2. Edit the functions.php file:
    • Navigate to/wp-content/themes/your-theme/Catalog.
    • Download and openfunctions.phpDocumentation.
  3. Add a reset password code:
    • Add the following code to the end of the file:
wp_set_password('YourNewPassword', 1);
  • commander-in-chief (military)YourNewPasswordReplace your new password with your new password by replacing the1Replace it with your user ID.
图片[4]-WordPress重置密码:完整详细指南-光子波动网 | 专业WordPress修复服务,全球范围,快速响应

wrap-up

There are several ways to reset your WordPress password, each of which applies to a different situation. Using the built-in password reset feature is the easiest way, but you can also manually reset your password through a database or FTP if you run into problems. Make sure to update and backup your passwords regularly to improve the security of your website. Hopefully, this article will help you reset your WordPress password without any problems and restore access to your website.


Contact Us
Can't read the article? Contact us for free answers! Free help for personal, small business sites!
Tel: 020-2206-9892
QQ咨询:1025174874
(iii) E-mail: info@361sale.com
Working hours: Monday to Friday, 9:30-18:30, holidays off
© Reprint statement
This article was written by Harry
THE END
If you like it, support it.
kudos0 share (joys, benefits, privileges etc) with others
commentaries sofa-buying

Please log in to post a comment

    No comments