← Back to WordPress not working

Likely fix

Fix: WordPress login page keeps refreshing or redirecting

A WordPress login redirect loop is usually caused by bad cookies, wrong site URL settings, caching, HTTPS mismatch, or a plugin conflict.

Quick answer

Clear cookies for the site, try private browsing, check WordPress Address and Site Address, then disable cache/security plugins if needed.

Important warning

Wrong URL settings can lock you out of wp-admin, especially after moving from HTTP to HTTPS or changing www/non-www.

Try this

  1. 1 Open the site in a private or incognito browser window.
  2. 2 Clear cookies and site data for your domain.
  3. 3 Check whether the site redirects between http and https or www and non-www.
  4. 4 If you can access the database, check siteurl and home values.
  5. 5 Disable cache and security plugins temporarily.
  6. 6 Clear server and CDN cache.
  7. 7 Check .htaccess redirects if you recently changed domain or HTTPS settings.

Common causes

Bad cookies.

Wrong WordPress URL settings.

HTTP/HTTPS mismatch.

www/non-www redirect mismatch.

Cache plugin conflict.

Security plugin redirect rule.

What to check next

  • Check whether private browsing works.
  • Check siteurl and home values.
  • Check HTTPS redirects.
  • Check cache plugins.
  • Check .htaccess rules.

FAQ

Why does WordPress login keep refreshing?

The browser or WordPress may be stuck because of cookies, URL mismatch, HTTPS redirects, caching, or a plugin conflict.

Can HTTPS settings break WordPress login?

Yes. If WordPress and the server disagree about HTTP versus HTTPS, login redirects can loop.

Should I clear all browser data?

Start by clearing cookies and site data for your WordPress domain only.

Related fixes