2.20.26. Request exceeded the limit of X internal redirects
When text appears on the site «Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request», v site error logs there may be an error:
Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
The problem occurs because the file contains .htaccess combinations of directives that create an infinite redirect even before the request is passed to the site's scripts. To fix the problem, you need to edit the file .htaccess and rework the rules in it. In particular, it is important to check the redirect flags set:
[L]— flag for stopping subsequent execution of directives when the current one is being executed.
[R=XXX]— flag of sending the specified instead
XXXresponse code. When this flag is set, the infinite redirect can be seen in the browser and view the affected URLs.
[C]— a flag of a sheaf with the subsequent rules. Often results in endless redirects.
To set up redirects, you can follow the article on working with regular expressions and use ready-made examples of redirects.