Resolving "Too Many Redirects" Issue for Domains with SSL

Introduction:

When trying to access a domain over SSL while using cPanel, you might encounter an error message stating "too many redirects" or "ERR_TOO_MANY_REDIRECTS." This issue can be caused by a misconfiguration in your SSL settings, often related to the use of a Content Delivery Network (CDN) like Cloudflare. In this article, we'll explain how to resolve this issue.

Steps to Resolve the "Too Many Redirects" Issue:

  1. Activate SSL with AutoSSL: Log in to your cPanel account, and navigate to the "SSL/TLS" or "Security" section. Find the "AutoSSL" feature and run it for your domain. This will ensure that your SSL certificate is properly installed and active on your domain.
  2. Inspect your CDN settings: If you are using a CDN like Cloudflare, log in to your account and navigate to the SSL/TLS settings for your domain. Ensure that the SSL setting is set to "Full" or "Full (strict)" mode. This setting ensures that the connection between your server and the CDN is encrypted and can prevent redirect loops.
  3. Review your .htaccess file: Examine your .htaccess file for any conflicting or incorrect redirect rules. If you find any rules related to SSL or HTTPS that seem to be causing the issue, either modify or remove them.
  4. Clear your browser cache: After making changes to your SSL or CDN settings, clear your browser cache and cookies to ensure that your browser is loading the latest version of your website.
  5. Test your domain: Visit your domain again to check if the issue has been resolved. If you still encounter the "too many redirects" error, you may need to look into other potential causes, such as server configuration issues or problems with a security plugin.

By following these steps, you should be able to resolve the "too many redirects" issue on your domain with SSL in cPanel without opening a support ticket. If you continue to face issues or need further assistance, please consult our other knowledgebase articles or contact our support team.

  • 0 Users Found This Useful
Was this answer helpful?