When a browser reports too many redirects, identify which addresses repeat. A loop can alternate between HTTP and HTTPS, between hostnames with and without www, or between application and protection rules.
Capture the repeating redirect
Replace example.com with your domain. On Windows, run:
curl.exe -I -L --max-redirs 10 https://example.com/
On Linux, use curl instead of curl.exe. Save the status and Location header sequence. This command sends HEAD requests. If the problem occurs only for a particular action or POST, also capture that request’s redirects in the browser’s Network tools.
Review the settings
- Open WebShield → example.com → Site protect SSL. Record Force HTTPS and Redirect code.
- Under Site protect settings, check the
wwwredirect setting. Compare its direction with your CMS or web-server configuration. - Open Правила (Rules) and find matching Редирект (Redirect) actions. Ordinary rules run from top to bottom until the first match.
- Review application redirects. Behind a reverse proxy, the application needs to recognize external HTTPS correctly. Configuration depends on the CMS and web server. Do not guess a different origin port to fix a loop.
Change one cause at a time. For example, temporarily disable a recently added redirect or Force HTTPS, allow saving and synchronization, and repeat the check. Record previous values so they can be restored after correcting the application.
Verify the fix
Test HTTP, HTTPS, both hostnames you use, and the failing path. The chain should end at the intended page without returning to an earlier address. Test login and forms separately.
Browsers can remember permanent redirects or HSTS. Comparing with a new curl request helps distinguish stored client behavior from the server’s current response. Disabling a redirect does not remove an HSTS policy already stored by the browser. See HTTPS configuration, or provide support with the redirect sequence.