WP-CLI (WordPress command line interface) is a WordPress enabled function of the hosting service. If you can't log in, there are multiple possibilities to reset your WordPress password, including through Softaculous.

To reset your WordPress password using WP-CLI, we recommend that you follow the instructions below.

- Access the SSH menu from the cPanel account

- Use the cd command to access the root folder of the respective domain, e.g.

cd public_html

Replace public_html/website with the real path to the root folder of your website.

Make sure you are in the correct WordPress installation by running the following command:

wp option get home && wp option get siteurl

To list all users of a certain website, run the following command:

wp user list

Run the following command to reset the WordPress user password by replacing USER with user-login and NewStrongPassword using a strong password:

wp user update USER --user_pass=NewStrongPassword

 

For assistance in applying the above instructions on HostX servers please contact us. HostX offers the fastest WordPress hosting and can help you solve your problems.

Was this answer helpful? 0 Users Found This Useful (0 Votes)