Redirect Loops
Problem
A redirect loop occurs when a website tells your browser to redirect to a page, which in turn tells your browser to redirect to another page, this happens over and over again until your browser stops redirecting and declares that a redirect loop has occurred. This varies from browser to browser, but is generally around 21 redirects.
Cause
This issue is usually due to misconfiguration of your website or server.
Troubleshooting
To troubleshoot this issue, check your WHMCS configuration and your server’s mod_rewrite
rules.
Check Your WHMCS Configuration
Make certain that the WHMCS System URL setting is correct in the General tab at Configuration () > System Settings > General Settings.
Check Your mod_rewrite Rules
To check whether your mod_rewrite
rules are the cause:
- Reset the
.htaccess
file contents in your WHMCS directory.For more information, see 404 Page Not Found Errors. - Navigate up the directory tree from the WHMCS directory and temporarily remove any other
.htaccess
files.
If the issue persists, continue to the next section.
CloudFlare® SSL
If your website uses a CloudFlare SSL certificate, certain settings can cause redirect loops in WHMCS.
To resolve this issue:
- Log in to your CloudFlare account.
- Click the Crypto heading.
- Change the SSL setting to Full or Full (Strict).
Last modified: October 30, 2024