Change your WordPress password with WP-CLI

If you installed WP-CLI on your server to manage your WordPress site, then you can follow these steps to update your password. If you have not setup WP-CLI, then you will need to do so before using these steps.

  1. You should always backup your site before performing any changes.
  2. Connect to your server or shared hosting account with SSH
  3. Change to the root directory for your WordPress site.
  4. Use the following command to view a list of users for your WordPress site. Make note of the ID number for the user you want to update.
        $ wp user list 
            
  5. Use the following command to update the password for that user.
        $ wp user update id --user_pass=password 
            
    • id is the number you located in Step 4
    • password is your new password

You can now login with your new password

More Info

More info about WPPS.

Was dit artikel nuttig?
Hartelijk dank voor je feedback. Gebruik het supporttelefoonnummer of de bovenstaande chatoptie als je een vertegenwoordiger van de afdeling Klantenondersteuning wilt spreken.
Fijn dat we konden helpen! Kunnen we nog iets voor je doen?
Dat spijt ons. Vertel ons wat je verwarrend vond of waarom je probleem niet is opgelost via de geboden oplossing.