Can’t Log In to WordPress Admin: Loop Fix
Stuck in a WordPress login loop? Match your symptom with our free finder, fix cookies and site addresses, or reset your password the official, safe way.

Last updated December 2, 2026
You enter your username and password, click Log In, and land back on the same login page. No error, no dashboard.
This is a WordPress login loop. WordPress logged you in, but your browser did not keep the proof, so it asks again.
This guide matches your exact symptom to the right fix. It also covers WordPress’s official ways to reset a password.
Key Takeaways
- A page that reloads with no error is a cookie or address problem, not a wrong password.
- Clear cookies for your site and try a private window first.
- WordPress Address and Site Address must use the same https and www form.
- Security and login plugins often cause loops. Disable them by renaming their folder.
- Locked out completely? WordPress documents five safe ways to reset a password.
Find Your Fix
Tell the finder what you see after clicking Log In.
Login fix finder
Answer two questions. The finder matches your symptom to the right fix. It runs in your browser only.
Digieh tool. Based on WordPress docs, read December 2, 2026.
Get Your Correct Login Links
Make sure you are using the right address. The builder creates the standard links for any WordPress site.
Login link builder
Enter your site address. You get the standard WordPress login, dashboard and lost password links.
Digieh tool. Runs in your browser only. Nothing is sent to us.
Why Does WordPress Keep Sending Me Back to Login?
WordPress uses cookies to remember that you logged in. WordPress’s cookies documentation explains the ones that matter.
| Cookie | What it does | If it fails |
|---|---|---|
wordpress_test_cookie | Checks that cookies can be saved | Cookies are blocked message |
wordpress_[hash] | Stores your login for the admin area | Sent back to login |
wordpress_logged_in_[hash] | Shows you are logged in and who you are | Logged out on every page |
Source: WordPress developer docs on cookies, read December 2, 2026.
Editor’s Note
This guide is accurate as of Digieh check. WordPress sets a test cookie before login. If your browser blocks it, you see “Cookies are blocked or not supported”. That needs a different fix from a silent loop.
Spot an error in this article? Please contact us at support@digieh.com or read our Corrections Policy.
How Do You Clear Login Cookies?
- Open your browser settings and find cookies and site data.
- Search for your site’s domain.
- Delete the cookies for that domain only.
- Close the browser, open it again and log in.
Also try a private window. If login works there, an old cookie or a browser extension caused the loop.
WordPress’s cookie guide also says to clear your caching plugin and server cache. This matters most after moving a site to a new host or address.
Free updates
Join the Digieh list
Be the first to know when our weekly brief launches.
No spam. Unsubscribe anytime. Read our Privacy Policy.
Do Your Site Addresses Match?
A mismatch between http and https, or www and no www, often breaks login cookies. The cookie is saved for one address and checked on the other.
You cannot change Settings, General while locked out. Instead, WordPress’s site address documentation shows two lines for wp-config.php:
define( 'WP_HOME', 'https://example.com' );
define( 'WP_SITEURL', 'https://example.com' );Use your real domain, with https and no trailing slash. Our WordPress too many redirects guide has a free address checker.
What caused your WordPress login loop?
- Old browser cookies
- Site address mismatch
- A plugin
- Wrong password
- Not sure
How Do You Log Into WordPress as an Admin?
Most WordPress sites use the same login address. Add /wp-login.php or /wp-admin/ to the end of your domain.
- Use the username or email address on your administrator account.
- Passwords are case sensitive, so check Caps Lock.
- Your browser password manager may fill in an old password. Type it by hand once.
If you manage the site for someone else, ask them to add you as a user. Sharing one admin login is risky.
Why Does Login Work in One Browser Only?
Each browser keeps its own cookies. A loop in one browser but not another points to that browser, not your site.
- A privacy extension may block cookies on your site.
- Strict tracking protection can block login cookies in some cases.
- An old cookie from before an https move can still be stored.
Allow cookies for your own site, clear its data and try again. Your other browsers and visitors are not affected.
Can a Plugin Cause a Login Loop?
Yes. Security, login, caching and membership plugins all touch the login process.
- Open your host’s file manager.
- Go to wp-content, then plugins.
- Rename the folder of the plugin you changed last.
- Try logging in again in a private window.
If you cannot tell which plugin, rename the whole plugins folder. Log in, rename it back, then turn plugins on one by one.
Two factor login plugins can also lock you out if your phone app changes. Most offer backup codes, so keep them somewhere safe.
Some hosts add their own login protection. If you see a host branded block page, contact their support.
How Do You Reset a WordPress Password?
If the problem is really a forgotten password, WordPress’s password reset guide lists several methods.
- Lost your password link on the login page. It needs working email.
- phpMyAdmin: edit user_pass in the users table and choose MD5. WordPress says to use it at your own risk.
- Command line: the
wp user updatecommand sets a new password, if your host offers it. - Theme functions.php: a wp_set_password line. Remove it after login, or it resets on every page load.
- Emergency reset script. Delete it from the server as soon as you are done.
After you get back in, set a strong new password from your profile page. Then remove any temporary code or files you added.
Why Is the Reset Email Not Arriving?
WordPress sends reset emails through your server. Many hosts send mail poorly, so messages land in spam or never arrive.
- Check your spam and promotions folders.
- Make sure you used the email on the account.
- Ask your host whether outgoing mail works.
- Use a mail sending plugin once you are back in.
If email will not work at all, use one of the database or command line methods above, carefully.
What If wp-admin Shows a Blank or Error Page?
That is not a loop. A PHP error is stopping WordPress before it can show the dashboard.
Check your email for WordPress’s recovery mode link. Then see our WordPress critical error guide and white screen guide.
If the login page itself shows 404, a security plugin may have moved it. Ask whoever set up the site for the custom login address.
Login page shows 403 Forbidden? See our WordPress 403 Forbidden fixes.
Test Yourself
The login page reloads with no error message. What is the most likely cause?
- A cookie or site address problem
- A wrong password
- A full hard drive
A wrong password shows an error. A silent reload means the login cookie was not kept.
What must you do after using wp_set_password in functions.php?
- Remove the line
- Add it to every theme
- Leave it for next time
WordPress warns the line resets your password on every page load until you remove it.
Frequently Asked Questions
Why does WordPress keep logging me out?
Cookies are not being kept, often because of an address mismatch or a caching setting.
Is it safe to clear cookies?
Yes. Clear them for your site only, and you just need to log in again.
Can I log in without email?
Yes. WordPress documents database and command line reset methods.
Why does it work on my phone but not my laptop?
Your laptop browser likely has an old cookie or extension. Clear cookies or try a private window.
Will disabling plugins delete their settings?
No. Renaming the folder only switches them off. Settings stay in the database.
Conclusion
Match the symptom first. For a silent reload, clear cookies, try a private window and check that both site addresses match. Disable recent security or login plugins. For a forgotten password, use WordPress’s reset methods, starting with the Lost your password link.
Editor’s Note
This guide is accurate as of December 2, 2026. We checked WordPress developer docs on cookies and site addresses and WordPress.org password reset documentation on that date.
Spot an error in this article? Please contact us at support@digieh.com or read our Corrections Policy.
Keep exploring
Your next read is waiting
1AI & TechPage With Redirect Status: When to Fix It7 min read
2Visas & PassportsDS-160 Photo Size: The Rule Most Guides Miss7 min read
3AI & TechWindows 11 Camera Not Working: Error Code Fixes7 min read
4AI & TechPlugged In, Not Charging: Laptop Fault or Feature?7 min read
5AI & TechSorry, This File Type Is Not Permitted: Fix7 min read
6AI & TechWordPress 403 Forbidden Error: Find the Block, Fix7 min readFound this useful?












