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.

이 글이 도움되었나요?
피드백을 보내주셔서 감사합니다. 고객 서비스 담당자에게 문의하시려면 지원 전화 번호 또는 위의 채팅 옵션을 이용하시기 바랍니다.
도와드릴 수 있어 기쁩니다! 더 도와 드릴 것이 있나요?
그것 유감스럽습니다. 혼동이 되었던 사항 또는 솔루션이 고객님의 문제를 해결하지 못했던 원인을 알려주세요.