How to Reset WordPress Admin Password on Localhost

Check Out More At: WP Beginner

WordPress: Best WordPress Plugins | WordPress Tutorials

How to Reset WordPress Admin Password on Localhost

Product Image Product Name / Primary Rating / Price Primary Button / Description
Best Wordpress Page Builder
  • Description:

    Elementor is an amazing website builder plugin for WordPress. Elementor makes it easy to create beautiful and high converting websites yourself without having to learn code.

Best WordPress Form Builder
  • Description:

    Gravity Forms is a WordPress plugin that creates powerful forms quickly and easily, with drag-and-drop fields, custom notifications and confirmations, and custom styling capability.

Best WordPress Theme
  • Description:

    Kadence Theme is a powerful, intuitive and flexible WordPress theme that offers an expansive set of features and customization options.

    It includes a robust page builder, beautiful design options, mobile-friendly responsiveness, powerful SEO tools and optimized performance for faster loading times.

    It's perfect for creating stunning websites without needing to write any code.

Best Wordpress Cloud Hosting
  • Description:

    Cloudways is a managed cloud hosting platform that simplifies cloud infrastructure deployment and management.

    It provides an intuitive dashboard, automated backups and optimized stack for speedy performance. It also provides 24x7 support with multiple server locations, enabling businesses to host their applications quickly and securely.

Best Budget WordPress Host
  • Description:

    Bluehost is an easy to use web hosting provider offering reliable, secure and affordable hosting solutions with 24/7 customer support.

Best Wordpress Page Builder
4.5
N/A
Description:

Elementor is an amazing website builder plugin for WordPress. Elementor makes it easy to create beautiful and high converting websites yourself without having to learn code.

Best WordPress Form Builder
3.5
N/A
Description:

Gravity Forms is a WordPress plugin that creates powerful forms quickly and easily, with drag-and-drop fields, custom notifications and confirmations, and custom styling capability.

Best WordPress Theme
3.5
N/A
Description:

Kadence Theme is a powerful, intuitive and flexible WordPress theme that offers an expansive set of features and customization options.

It includes a robust page builder, beautiful design options, mobile-friendly responsiveness, powerful SEO tools and optimized performance for faster loading times.

It's perfect for creating stunning websites without needing to write any code.

Best Wordpress Cloud Hosting
3.5
N/A
Description:

Cloudways is a managed cloud hosting platform that simplifies cloud infrastructure deployment and management.

It provides an intuitive dashboard, automated backups and optimized stack for speedy performance. It also provides 24x7 support with multiple server locations, enabling businesses to host their applications quickly and securely.

Best Budget WordPress Host
4.0
$3.95/Mo
Description:

Bluehost is an easy to use web hosting provider offering reliable, secure and affordable hosting solutions with 24/7 customer support.

Lasso Brag

Assuming that you have installed WordPress on your localhost and you don’t remember the password of your admin account, don’t worry. In this article, we will show you how to easily reset WordPress password on localhost.

First thing you need to do is connect to your WordPress site using an FTP client. Once you are connected, go to the /wp-content/ directory and look for a file named config.php.

Right-click on the config.php file and choose Code Editor. A new window will open containing the code of your config.php file.

Look for the following line of code in your config.php file:

define(‘WP_DEBUG’, false);

Change false to true and then save your changes.

Now go back to your WordPress site and try to login. You should see the following message:

“Debugging is on. WordPress will display debugging information on your site.”

Click on the link that says “Click here to continue”.

You will be taken to the login page. Enter your username and leave the password field blank. Now click on the “Log In” button.

You will be taken to the WordPress password reset page. Enter your new password and click on the “Reset Password” button.

You have now successfully reset your WordPress password on localhost.

Similar Posts