Problem

WordPress Admin Redirect Loop

Diagnose wp-admin redirect loops after SSL, domain, cache, cookie, or security changes by checking canonical URLs and login/session behavior.

Problem, cause, fix, verify

Problem

WordPress, the browser, or an edge layer repeatedly redirects instead of completing the admin request.

Audience

Administrators who cannot stay logged in or reach wp-admin after a configuration change.

First check

A redirect loop is usually a disagreement about the canonical admin URL or session cookie.

Verify

After the redirect path is fixed, confirm login, dashboard load, editor save, media access, and logout in a clean browser. A loop can hide a separate cookie or role issue.

Editorial trust

Published
Updated
Content type
Problems
Review editorial policy

Symptom

WordPress, the browser, or an edge layer repeatedly redirects instead of completing the admin request.

For: Administrators who cannot stay logged in or reach wp-admin after a configuration change.

Diagnosis

What to check before changing the site

Quick Diagnosis

A redirect loop is usually a disagreement about the canonical admin URL or session cookie.

Safe First Move

Check redirect chains and cache exclusions before changing database URLs manually.

Redirect Owner

Name the owner of every hop: WordPress, plugin, server, CDN, HTTPS rule, or identity layer. Two owners forcing different canonical URLs are a common source of loops.

Session Proof

After the redirect path is fixed, confirm login, dashboard load, editor save, media access, and logout in a clean browser. A loop can hide a separate cookie or role issue.

WordPress AdminSeverity: HighLast reviewed: 2026-09-16

Diagnosis

Symptoms, causes, checks, and fixes

Symptoms

  • wp-admin or wp-login.php keeps redirecting.
  • Login appears successful but returns to login.
  • The issue often follows SSL, domain, cache, or security changes.

Most Common Causes

  • Mismatched site URLs.
  • HTTP/HTTPS redirect conflict.
  • Cookie domain/path issue.
  • Cache rules applied to admin.
  • Security plugin login rule.

How To Confirm The Cause

  • Check browser redirect chain.
  • Compare home/siteurl settings.
  • Disable page cache for wp-admin and login URLs.
  • Inspect SSL/CDN redirect settings.

Fixes

  • Correct WordPress address and site address.
  • Use one SSL redirect owner.
  • Exclude admin/login from cache.
  • Temporarily disable login-hardening rules if they caused the loop.

How To Verify The Fix

  • Login in a clean browser session.
  • Open wp-admin and edit a draft post.
  • Confirm redirect chain ends normally.

When To Contact Support

Escalate to hosting/CDN support when edge redirects continue after WordPress URLs are correct.

References

Official references