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

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.

Workflow

What to review

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.

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