One of the most common situations in the WordPress content management system is forgetting the user login password.
Normally, if you have entered an email address in your WordPress user profile, you can reset your password via email using the “Forgot password” option.
However, if the php mail() function is disabled on the server and you are not using SMTP mail, you will receive a warning like:
Email could not be sent.
Possible reason: your service provider may have blocked the mail() function.In such a case, you can change the admin login password through phpMyAdmin.
First, log in to phpMyAdmin and select the database used by the WordPress site whose password you want to reset.
Enter the wp_users table in the database.
We will work in the user_pass column. The login password in this table is stored in MD5 format. Therefore, we need to enter our new password in MD5 format as well.
Generate your new password in MD5 format from this address.
For example, for the password 123456, the output will look like $1$gAWzXsJ0$rmE8dbHfx7OnHJpC4m09h0. Copy this and paste it into the user_pass column.
You can now log in to the WordPress admin panel with the password 123456. If you set a simple password, remember to change it again after logging in.
Leave a Comment
* Your comment will be published after approval.
Comments
1Kullanıcıların şifrelerini unuttuğunda yaşadıkları zorlukları ve olası çözüm yollarını ele alması çok faydalı.