# Login issue in wp sites

**URL:** <https://community.localwp.com/t/login-issue-in-wp-sites/37697>\
**Category:** Support\
**Created:** [June 23, 2023, 10:19am UTC](https://community.localwp.com/t/login-issue-in-wp-sites/37697 "2023-06-23T10:19:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mubeen](https://avatars.discourse-cdn.com/v4/letter/m/82dd89/32.png) [@mubeen](https://community.localwp.com/u/mubeen)\
**Post date:** [June 23, 2023, 10:19am UTC](https://community.localwp.com/t/login-issue-in-wp-sites/37697/1 "2023-06-23T10:19:38Z")

</div>

I am having issue in local app. when i create a new site and with any credential’s and try to login to the site. when i enter my login info. it redirects me to the same wp login page and does not login me to the site. but when i check the one click admin to ON. it login to the site. This issue happened in three or four sites that i created. I have a the latest version of local by flywheel.

---

<div class="post-metadata">

**Author:** ![dnytea](https://avatars.discourse-cdn.com/v4/letter/d/c37758/32.png) [@dnytea](https://community.localwp.com/u/dnytea)\
**Post date:** [June 23, 2023, 1:48pm UTC](https://community.localwp.com/t/login-issue-in-wp-sites/37697/2 "2023-06-23T13:48:38Z")

</div>

I am also having this exact same issue. New laptop, Windows 11.

I had ~20 site set up and maybe 4 of them allowed me to log in to admin but the rest just kept redirecting back to the login page nd cant get into wp-admin.

Same happened even if setting a test site up from scratch.

---

<div class="post-metadata">

**Author:** ![sambrockway](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/sambrockway/32/18726_2.png) [@sambrockway](https://community.localwp.com/u/sambrockway)\
**Post date:** [June 23, 2023, 2:24pm UTC](https://community.localwp.com/t/login-issue-in-wp-sites/37697/4 "2023-06-23T14:24:19Z")

</div>

Hi @mubeen and @dnytea -

It seems you are running into a similar bug that these users have - please review this topic for a workaround:

> [@Unable to login, changing wp-config.php workaround](http://community.localwp.com/t/unable-to-login-changing-wp-config-php-workaround/37520/14):
>
> Sorry to those affected by this! The Local team is looking into a bug fix. For now, those starting new sites on Windows with Local 7.0.0 or 7.0.1 who are unable to log in and who don’t want to downgrade or edit their wp-config.php as described above can try enabling one-click admin to work around the issue: Turn on “One-click admin” in your Local site Overview page and choose a user. Click the “WP Admin” button to log in. We’ll update this thread when a new version of Local is available with…

Thank you and let me know if you have any questions! 💚

Sam

---

<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:** [September 21, 2023, 2:24pm UTC](https://community.localwp.com/t/login-issue-in-wp-sites/37697/5 "2023-09-21T14:24:35Z")

</div>

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