Overview:
SuiteCommerce Advanced (SCA) domains may become inaccessible due to redirect loop errors caused by incorrect redirect configurations. One common scenario involves setting a redirect from / to / at the domain level, which results in repeated 301 Moved Permanently responses and ultimately triggers ERR_TOO_MANY_REDIRECTS in browsers.
Symptoms:
- Site fails to load and displays a browser error:ERR_TOO_MANY_REDIRECTS
- DevTools shows repeated 301 or 302 status codes.
- Network tab reveals redirect chains with no change in URL path.
- Issue isolated to specific domains while others remain unaffected.
Cause:
Under Commerce > Hosting > Redirects, a redirect entry was configured as:
- Protocol: https://
- Domain: www.sampledomain.com
- Redirect From URL: /
- Redirect To URL: /
This creates a circular redirect loop, where the browser is instructed to reload the same URL indefinitely.
Resolution Steps:
Access Redirect Settings:
Go to Commerce > Hosting > Redirects in NetSuite.
Identify Problematic Entries:
- Look for entries where both “Redirect From URL” and “Redirect To URL” are set to / on the same domain.
- Remove or Deactivate Redirects:
- Delete the / -> / redirect entry.
- Save changes and clear any cached configurations.
- Verify Site Accessibility:
- Test the domain in incognito mode.
- Confirm that the site loads without redirect errors.
- Perform QA Validation:
- Check SSL certificate validity.
- Navigate through key touchpoints (home, login, checkout).
- Inspect browser console and network tab for residual redirect logic.
Best Practices:
- Avoid configuring redirects from / to / unless paired with domain or protocol changes.
- Always validate redirect logic during domain setup or migration.