The website throws an error that the load cannot follow more than 20 redirections when visiting from certain devices. An example of this error is shown below.
Load cannot follow more than 20 redirections
When a web page or API endpoint redirects to another location, the client/browser typically follows the redirection automatically. However, if the number of redirects exceeds a predefined limit, the client raises an error to prevent potential infinite loops or excessive resource consumption.
To resolve this error, it is necessary to investigate the source of the redirects, ensure they are properly configured, and reduce the number of redirects.
Related Articles
WordPress Redirect Loop Error
Redirect Error When Using Cloudflare
Troubleshoot
- If present, clear any plugin or website caching
TIP: On WordPress websites, this can be cleared with most caching plugins by clicking Purge Cache on the top dashboard menu. - If you are using a proxy or Content Delivery Network like Sucuri or Cloudflare, clear the cache at the proxy service
- For CloudFlare, navigate to Caching>Configuration>Purge Everything
- For Sucuri, clear the global cache of the Sucuri firewall settings by navigating to Performance>Clear Cache - Global, then click the green Clear Cache button
- If the error persists, try looking for other redirect-based issues
- If using HTTPS and Cloudflare, try troubleshooting for Cloudflare specifically
- If on WordPress, try troubleshooting for WordPress specifically