I reset the WP Admin password using the CLI shell but am still unable to login to WP Admin

Issue Summary

  • I reset the WP Admin password using the CLI shell but am still unable to login to WP Admin. It also takes at least 20 seconds after pressing WP Admin for the browser to display the WP Admin login screen.

Troubleshooting Questions

  • Does this happen for all sites in Local, or just one in particular?
    just happens to the only site

  • Are you able to create a new, plain WordPress site in Local and access it in a Browser?
    I created a new site but had the same inability to login to the WP Admin using the username & password I just established for the new site.


Describe the steps that others can take to replicate this issue. If you have screenshots that can help clarify what is happening, please include them!

System Details

  • Which version of Local is being used?
    local 6.6.0+6231
    wordpress 6.1.1

  • What Operating System (OS) and OS version is being used?

    • For example: macOS Catalina or Windows 10 Professional
      Windows 10
  • Attach the Local Log. See this Help Doc for instructions on how to do so:

Security Reminder

Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.

@jwskaare You might need to review our article on troubleshooting performance issues here:

When you do get the login to pull up what error or messaging are you seeing?

I’m not able to login to WordPress. Everything was working fine until I selected Trusted on the local SSL line. I then clicked the WP Admin button and added “s” to http on the WordPress Settings>General WordPress & Site Address lines and committed that change. Immediately, I was taken to the WP Admin login screen at which point my credentials no longer work. Attempts to Change Password are futile as the email never arrives. Unable to login to WP Admin, I can’t retreat to http and get to work on the site again.

The seems to me to be an issue unique to local on Windows 10. I wouldn’t characterize it as a performance problem. It was created by implementing SSL for the site.

Hi @jwskaare -

It sounds like you updated the Site URL instead of updating the https:// across your entire website and database.

You may want to use a plugin like Better Search and Replace to update that full URL, or this command:

wp search-replace 'http://example.local' 'https://example.local'

Please see this help doc for more details - and I would recommend making an export backup of your site before running any such commands or using that plugin:

Let me know if this helps,


1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.