A redirect loop occurs when redirects send the browser between URLs without reaching a final page. Common combinations include HTTP-to-HTTPS rules, www/non-www rules, application URL settings, and proxy-aware redirects.
- List the intended canonical URL, including scheme and hostname.
- Review cPanel Domains → Force HTTPS Redirect and Domains → Redirects.
- Review manual
.htaccessredirects and application-level redirect settings. - Temporarily remove only the most recently added redirect rule and retest.
- Clear browser/application cache after changing redirect configuration.
Avoid creating both a rule that sends www to non-www and another rule elsewhere that sends non-www back to www.