Fixing redirect loops after WordPress migration or URL change

wordpresstroubleshootingmigration

Redirect loops mean routing disagreement—WordPress, the web server, or the proxy think the request should go somewhere else in a loop.

Troubleshooting flow

StepCheck
1WordPress Site URL / Home URL
2Cloudflare SSL mode
3.htaccess rules
4wp-config.php overrides