# Cannot access to the WP admin portal

**URL:** <https://community.localwp.com/t/cannot-access-to-the-wp-admin-portal/45633>\
**Category:** Support\
**Tags:** windows-10, access-denied\
**Created:** [November 20, 2024, 9:18am UTC](https://community.localwp.com/t/cannot-access-to-the-wp-admin-portal/45633 "2024-11-20T09:18:02Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pesandu](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/pesandu/32/22468_2.png) [@Pesandu](https://community.localwp.com/u/Pesandu)\
**Post date:** [November 20, 2024, 9:18am UTC](https://community.localwp.com/t/cannot-access-to-the-wp-admin-portal/45633/1 "2024-11-20T09:18:02Z")

</div>

### What issue or error are you experiencing?

I cannot access my admin portal of the local website. like log ago it was completely fine but I did a backup restoration and the website crashed but I managed to get it back through removing and uploading another backup. But afterwards I could not get back to the backend of the website simply to wp-admin. I tried every way by creating a new user changing the meta data, user data, by the site shell and from the data base too did not work anything.

* * *

### What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc

I tried every thing that from the previous topics but didn’t work

 ![new user](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/9/2/9266505ce58f26b57dff330bd78b1f8dc64527d3.png)

* * *

### System Details

- **Local Version:**  
Version 9.0.5+6706
- **Operating System (OS) and OS version:**  
Windows 10

* * *

### Local Logs

Attach your Local Logs here  
[local-lightning.log](https://community.localwp.com/uploads/short-url/2sX0SGHj3iGywsoM7hNTyrHIHQw.log) (98.8 KB)

* * *

_ **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.

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [November 20, 2024, 2:08pm UTC](https://community.localwp.com/t/cannot-access-to-the-wp-admin-portal/45633/2 "2024-11-20T14:08:48Z")

</div>

Hi @Pesandu

So if you use the steps outlined in our help article here for creating a new user or editing a current user you are unsuccessful?

> **[Reset a WordPress admin password](https://localwp.com/help-docs/troubleshooting/reset-a-local-sites-wordpress-admin-password/)**
>
> If you don’t have an admin login or you simply forgot your admin password, this doc will go over how you can gain access to the WordPress admin for a Local site on your computer using WP-CLI.

---

<div class="post-metadata">

**Author:** ![Pesandu](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/pesandu/32/22468_2.png) [@Pesandu](https://community.localwp.com/u/Pesandu)\
**Post date:** [November 21, 2024, 4:41am UTC](https://community.localwp.com/t/cannot-access-to-the-wp-admin-portal/45633/3 "2024-11-21T04:41:24Z")

</div>

Yes I tried that way too it did not work

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [November 21, 2024, 2:48pm UTC](https://community.localwp.com/t/cannot-access-to-the-wp-admin-portal/45633/4 "2024-11-21T14:48:06Z")

</div>

Is it just this specific site you can’t access? Does it have any plugins installed? If so you might try running `wp plugin deactivate --all` in CLI to see if that allows you back in.

---

<div class="post-metadata">

**Author:** ![Pesandu](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/pesandu/32/22468_2.png) [@Pesandu](https://community.localwp.com/u/Pesandu)\
**Post date:** [November 22, 2024, 5:00am UTC](https://community.localwp.com/t/cannot-access-to-the-wp-admin-portal/45633/5 "2024-11-22T05:00:22Z")

</div>

No it also not helping me even when I check in the CLI for user roles it doesn’t show me any role assigned to administrator. I can’t see what is not working.

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [November 22, 2024, 2:08pm UTC](https://community.localwp.com/t/cannot-access-to-the-wp-admin-portal/45633/6 "2024-11-22T14:08:37Z")

</div>

To clarify @Pesandu this is just for this specific site you’ve been trying recover? If you spin up a new, blank Local site are you able to access and interact with that okay?

If that works maybe you try reimporting the site manually into a blank Local install. The steps would look like this:

[Manually Import a Local Site](https://localwp.com/help-docs/getting-started/how-to-import-a-wordpress-site-into-local/#Manually-Import-a-Local-site)

It seems like something may have become corrupted with this site when it was restored or crashed previously.

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [February 20, 2025, 2:09pm UTC](https://community.localwp.com/t/cannot-access-to-the-wp-admin-portal/45633/7 "2025-02-20T14:09:32Z")

</div>

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