What this usually means
- WordPress Address and Site Address differ, for example one uses http and one https
- A forced HTTPS redirect at the host and another in a plugin or .htaccess
- Cloudflare’s SSL mode set to Flexible while your site forces HTTPS
- A redirect or caching plugin with conflicting rules
Steps to fix it
Take a backup first
Then clear your browser cookies and any site cache.
Check the URLs
In Settings > General, both addresses should match and use https. If you can’t log in, set WP_HOME and WP_SITEURL in wp-config.php.
Check Cloudflare or your host
Use Full or Full (strict) SSL, not Flexible, when your site forces HTTPS.
Look for duplicate redirects
Check .htaccess and any redirect, SSL or caching plugin. One rule is enough.
define( 'WP_HOME', 'https://example.com' );
define( 'WP_SITEURL', 'https://example.com' );
When to get help
If you can’t get into the dashboard, or the loop continues after the steps above, send us the details.