To fix a WordPress login redirect loop, start in a private window and open your site’s actual login URL directly, without an old bookmark or a redirect_to parameter. If login still loops, use your browser’s Network panel to find the first unexpected redirect. A jump between hosts or protocols points toward URL or HTTPS settings; a trip from the dashboard straight back to the login form makes cookies and session handling the first things to check.
1. Rule out the browser and the bookmark
- Open a private window and type the login address. For a standard root installation, that’s
. If WordPress itself lives in a subdirectory or your site uses a custom login path or single sign-on, use the configured entry point instead. - Sign in once. Note whether the form reloads with an error, the dashboard briefly appears, or the browser reports too many redirects. An explicit password or two-factor error is a different problem from a redirect loop.
- If the private window works, clear site data for the affected domain in your regular browser and retry. This signs you out of that domain. If the problem persists only in that browser profile, check its extensions and site-specific cookie settings.
A private window gives you a fresh session, not a verdict. It can have stricter cookie rules than your normal browser, which matters if your login goes through an external identity provider. If the two windows disagree, try a second browser before changing the site.
2. Find the first unexpected hop
Open your browser’s developer tools, select Network, and enable Preserve log if available. Clear the request list, submit the login form, and follow the page requests. Select the login submission and each redirect that follows. Under Headers, compare the request URL with the response’s Location header. A redirect after submitting the form is normal. Being sent back to the form is the part worth investigating.
- The chain flips between HTTP and HTTPS: Check the CDN, reverse proxy, and origin server’s HTTPS handling.
- The chain switches between
wwwand the bare domain, or visits an old domain: Compare the WordPress URLs with the host and CDN redirect rules. - The dashboard request goes back to login on the same host and scheme: Check whether the login response sets an authentication cookie and whether the browser sends it on the dashboard request.
- The chain passes through an identity provider: Check the single sign-on callback URL and provider logs. Don’t change WordPress URLs just to make them match the identity provider’s domain.
Look at cookie names and attributes, not values. In the Network panel, the response may show Set-Cookie; the next request may show a Cookie header. Some browsers also flag rejected cookies and explain why. Check that the cookie in question is an authentication cookie, not just the WordPress test cookie. If you ask your host for help, share a sanitized list of URLs and status codes, not a raw network export that may contain credentials or session data.
3. Fix the layer that owns the redirect
When the host or path is wrong, check the WordPress addresses
If another admin can still sign in, ask them to open Settings → General. WordPress Address (URL) points to the location of the WordPress core files. Site Address (URL) is the public address visitors use. Compare both with the intended scheme, hostname, and path. They can legitimately differ: core might live at while the site opens at .

If you’re locked out, use your host’s file manager or SFTP to inspect wp-config.php for WP_HOME and WP_SITEURL. If defined, these constants override the corresponding database settings and typically make the admin fields unavailable for editing. If neither constant is defined, ask the host to check the home and siteurl values in the site’s options table. Back up the file or database before editing either, record the original values, and change only the setting you’ve confirmed is wrong. For Multisite or mapped domains, have the network administrator verify the site’s configuration rather than applying single-site fixes.
When HTTPS keeps flipping, check what the origin sees
If a CDN or reverse proxy terminates HTTPS, the browser can be on HTTPS while the connection to the origin uses HTTP. If the origin or WordPress treats the original request as insecure, it can issue another redirect to the same HTTPS address. Ask the host to verify the proxy-to-origin TLS configuration and how the original scheme is passed and trusted. Compare redirects at the CDN and origin before adding another rule. Two layers can each insist they’re right, indefinitely.
When the dashboard doesn’t recognize you, follow the cookie
If the browser rejects the authentication cookie or doesn’t send it to the dashboard, compare its domain, path, and Secure attribute with the actual dashboard URL. Check for a stale custom cookie setting after a migration, especially if the hostname or installation path changed. If the browser sends the cookie and you still land back at login, ask the host to check whether multiple origin servers use consistent WordPress authentication keys and salts. Don’t rotate salts as a diagnostic shortcut: that invalidates existing sessions.
4. Check caching and plugins without taking the site apart
Ask the host or CDN administrator to verify that login requests and authenticated dashboard requests bypass page caching, including the site’s custom login path if it has one. Look for cache-hit indicators on the looping response, but remember that header names vary and one missing header proves little. If you find a bad cache rule, correct it before purging affected entries. A purge can make the loop disappear just long enough to fool you.
If the problem began right after a plugin update or settings change, test that specific plugin on a private staging copy that reproduces the loop. Record the active state and retest after one change. If you can’t open the staging dashboard, temporarily renaming that plugin’s folder under wp-content/plugins stops WordPress from loading it. Restore the original folder name afterward and verify whether the plugin needs reactivation. This won’t isolate must-use plugins or host-managed authentication. If staging can’t reproduce the problem, arrange a controlled production test with your host rather than disabling login protection or single sign-on on a live site.
5. Verify the fix with a fresh login
Keep any working admin session open while you test in another window. Use the normal login entry point, complete any two-factor challenge, then open a second dashboard page to confirm the session sticks. Log out and back in once more. If the loop returns, note the time, the first unexpected redirect, and whether the authentication cookie reached the dashboard request. That gives your host something specific to trace instead of another request to clear every cache in sight.