If you are having difficulties with redirects, or are seeing the following error, you may consider enabling rewrite logs for your domain to diagnose the issue.
Maximum number of redirect reached.
NOTE: On cPanel servers, LiteSpeed uses Apache configuration files.
First, create an Apache include for your domain by using the following instructions:
Include the following directive in both the std and ssl versions of the Apache include:
<IfModule LiteSpeed> RewriteLogLevel 9 </IfModule>
Then restart LiteSpeed with the following command:
You may then review the logs at the following location:
The following LiteSpeed documentation provides the basis for this guide: