KNOWNHOST WIKI

User Tools

Site Tools


cms:wordpress:password-reset

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
cms:wordpress:password-reset [2018/01/18 14:22]
mscherf created (#169)
cms:wordpress:password-reset [2020/02/04 19:40] (current)
76.103.155.105 ↷ Links adapted because of a move operation
Line 13: Line 13:
 If you are not an administrative user, your WordPress account'​s options will be very minimal. To change your password, make sure you are on the "​Profile"​ page, and scroll down to "​Account Management"​. Next to "New Password"​ click the "​Generate Password"​ button: If you are not an administrative user, your WordPress account'​s options will be very minimal. To change your password, make sure you are on the "​Profile"​ page, and scroll down to "​Account Management"​. Next to "New Password"​ click the "​Generate Password"​ button:
  
-  * {{cms:​wordpress:​profile-click-generate-password.png?​direct&300|}}+  * {{cms:​wordpress:​profile-click-generate-password.png?​nolink&300|}}
  
 If you like, you can use the password that WordPress generates for you. Otherwise, you can also [[security:​misc:​how-can-i-generate-a-secure-random-password|generate your own]]. Once you have chosen a password and entered it in the "New Password"​ box, you can click "​Update Profile"​ at the bottom of the page: If you like, you can use the password that WordPress generates for you. Otherwise, you can also [[security:​misc:​how-can-i-generate-a-secure-random-password|generate your own]]. Once you have chosen a password and entered it in the "New Password"​ box, you can click "​Update Profile"​ at the bottom of the page:
  
-  * {{cms:​wordpress:​profile-password-entered-click-update-profile.png?​direct&300|}}+  * {{cms:​wordpress:​profile-password-entered-click-update-profile.png?​nolink&300|}}
  
 You should then see a confirmation message like this: You should then see a confirmation message like this:
  
-  * {{cms:​wordpress:​profile-own-password-update-confirmation.png?​direct&300|}}+  * {{cms:​wordpress:​profile-own-password-update-confirmation.png?​nolink&300|}}
  
 ==== How to Reset a WordPress Password via WordPress as Admin ==== ==== How to Reset a WordPress Password via WordPress as Admin ====
Line 29: Line 29:
 Then, go to the "All Users" page in the "​Users"​ section. If you hover your cursor over the name of the desired user, you will see the "​Edit"​ link appear: Then, go to the "All Users" page in the "​Users"​ section. If you hover your cursor over the name of the desired user, you will see the "​Edit"​ link appear:
  
-  * {{cms:​wordpress:​wp-admin-all-users.png?​direct&300|}}+  * {{cms:​wordpress:​wp-admin-all-users.png?​nolink&300|}}
  
 As before, scroll down to "​Account Management",​ click "​Generate Password",​ enter the new [[security:​misc:​how-can-i-generate-a-secure-random-password|password]] in the box, and click "​Update User". You should see a confirmation page: As before, scroll down to "​Account Management",​ click "​Generate Password",​ enter the new [[security:​misc:​how-can-i-generate-a-secure-random-password|password]] in the box, and click "​Update User". You should see a confirmation page:
  
-  * {{cms:​wordpress:​wp-admin-user-pw-update-confirmation.png?​direct&300|}}+  * {{cms:​wordpress:​wp-admin-user-pw-update-confirmation.png?​nolink&300|}}
  
 ===== How to Reset the WordPress Admin Password via My KnownHost ===== ===== How to Reset the WordPress Admin Password via My KnownHost =====
Line 47: Line 47:
 ==== via SSH ==== ==== via SSH ====
  
-If you are comfortable using [[software:​how-can-i-use-putty-software-to-ssh-to-my-cpanel-server|SSH]],​(([[:​wordpress-hosting|Managed WordPress Hosting]] customers can find their SSH access details as described [[my-knownhost:​manage-services:​wordpress:​tour:​sftp-ssh|here]].)) you can use the commandline to change the password for any of the WordPress users. In that case, instructions can be found [[cms:​reset-wordpress-admin-via-mysql|here]].+If you are comfortable using [[software:​how-can-i-use-putty-software-to-ssh-to-my-cpanel-server|SSH]],​(([[:​wordpress-hosting|Managed WordPress Hosting]] customers can find their SSH access details as described [[my-knownhost:​manage-services:​wordpress:​tour:​sftp-ssh-old|here]].)) you can use the commandline to change the password for any of the WordPress users. In that case, instructions can be found [[cms:​reset-wordpress-admin-via-mysql|here]].
  
 ==== via phpMyAdmin ==== ==== via phpMyAdmin ====
Line 53: Line 53:
 If you have access to phpMyAdmin, you can also use that to change the WordPress passwords. On a cPanel server, you can access phpMyAdmin from [[control-panels:​cpanel-whm:​getting-started#​logging_into_cpanel|within cPanel]], by clicking "​phpMyAdmin"​ in the "​Databases"​ section: If you have access to phpMyAdmin, you can also use that to change the WordPress passwords. On a cPanel server, you can access phpMyAdmin from [[control-panels:​cpanel-whm:​getting-started#​logging_into_cpanel|within cPanel]], by clicking "​phpMyAdmin"​ in the "​Databases"​ section:
  
-  * {{cms:​wordpress:​cpanel-open-phpmyadmin.png?​direct&300|}}+  * {{cms:​wordpress:​cpanel-open-phpmyadmin.png?​nolink&300|}}
  
 Then, find the database the site uses, and the table the users are stored in. Usually the table will be called ''​%%wp_users%%''​ but even if it uses a different table prefix it will usually still have a name ending in ''​%%_users%%''​. When browsing the table, you can deselect some of the columns to make it easier to read. Once you have found the row corresponding to the user whose password you need to change, click "​Edit"​. Then, find the database the site uses, and the table the users are stored in. Usually the table will be called ''​%%wp_users%%''​ but even if it uses a different table prefix it will usually still have a name ending in ''​%%_users%%''​. When browsing the table, you can deselect some of the columns to make it easier to read. Once you have found the row corresponding to the user whose password you need to change, click "​Edit"​.
  
-  * {{cms:​wordpress:​cpanel-phpmyadmin-edit-row.png?​direct&300|}}+  * {{cms:​wordpress:​cpanel-phpmyadmin-edit-row.png?​nolink&300|}}
  
 Next, you'll need to decide on a temporary [[security:​misc:​how-can-i-generate-a-secure-random-password|password]]. It is recommended that even this temporary password is randomized, in case someone tries to guess it before you've had a chance to reset it from within WordPress. Next, you'll need to decide on a temporary [[security:​misc:​how-can-i-generate-a-secure-random-password|password]]. It is recommended that even this temporary password is randomized, in case someone tries to guess it before you've had a chance to reset it from within WordPress.
Line 63: Line 63:
 Then, in the row for user_pass, choose "​MD5"​ from the dropdown box, and put the new password in the "​Value"​ column. Make sure "​Save"​ is selected in the dropdown at the bottom, and then click "​Go"​. Then, in the row for user_pass, choose "​MD5"​ from the dropdown box, and put the new password in the "​Value"​ column. Make sure "​Save"​ is selected in the dropdown at the bottom, and then click "​Go"​.
  
-  * {{cms:​wordpress:​cpanel-phpmyadmin-enter-new-pw.png?​direct&300|}}+  * {{cms:​wordpress:​cpanel-phpmyadmin-enter-new-pw.png?​nolink&300|}}
  
 After that, you should see a success message: After that, you should see a success message:
  
-  * {{cms:​wordpress:​cpanel-phpmyadmin-wp-pw-success.png?​direct&300|}}+  * {{cms:​wordpress:​cpanel-phpmyadmin-wp-pw-success.png?​nolink&300|}}
  
 Be sure to remember to quickly log into WordPress to change the password again there, so that it will be stored salted, and with a stronger hash. Be sure to remember to quickly log into WordPress to change the password again there, so that it will be stored salted, and with a stronger hash.
cms/wordpress/password-reset.1516306973.txt.gz · Last modified: 2018/01/18 14:22 by mscherf