in

How to reset WP admin user password – CMS & WordPress – SitePoint Forums

1674877937 cf11b3ed553d6c359d3dcc08377cc4b121fe8bf0

[ad_1]

How to reset WP admin user password using Linux command or config file with SFTP access?


Given that the password is stored in a database, you should use a method that accesses the database.

I have a problem that I can’t login even though my password is defined as MD5 in MYSQL.

I have the same problem, unfortunately it would be nice to solve it

Thanks to amyjones329 who was able to resolve this issue

If you forget your WordPress admin password, you can reset it via email from your WordPress dashboard login page by following these steps:

  1. Go to the WordPress login page (example.com/wp-admin)
  2. click Forgot your password? at the bottom
  3. enter username Also e-mail For WordPress admin users,[新しいパスワードを取得]Click.
  4. You should receive an email with the subject [WordPress Site] Password reset. The body of this email contains a link below the text. To reset your password, please visit the following address and click on the link.
  5. Please enter New Passwordcheck it, and then reset password

Here are the steps to reset the WordPress admin user password using Linux commands and SFTP access:

  1. Connect to your website using SFTP.
  2. Navigate to the root directory of your WordPress installation.
  3. Open the wp-config.php file in a text editor.
  4. Add the following lines of code to the end of the file.
    define( ‘WP_ALLOW_REPAIR’, true );
  5. Save your changes and close the file.
  6. Visit the following URL in your browser: example.com/wp-admin/maint/repair.php (replace example.com with your domain name)
  7. Click the Repair Database button.
  8. When the repair is complete, it will say “Repair completed. Please remove the following line from wp-config.php to prevent this page from being used by unauthorized users.”
  9. Remove the line of code added in step 4 from the wp-config.php file.
  10. Go to the website’s login page.
  11. Click “Forgot your password?”Link
  12. Enter the email address associated with your administrator account,[新しいパスワードを取得]Click.
  13. Check the email associated with your admin account for a link to reset your password

I have confirmed the problem. In my current PHP setup, the folder permissions were being changed due to PHP’s strict requirements, which is now resolved and login is working fine.

[ad_2]

Source link

What do you think?

Leave a Reply

GIPHY App Key not set. Please check settings

    1673166723 rawImage

    Dancing in a bear costume, a popular Romanian festival

    blank

    Lefsetz Letter » Blog Archive » Emily The Criminal