Too many redirects error

How to solve a “too many redirects” or “redirect loop” error on your site after publishing to your custom domain.

This video features an old UI. Updated version coming soon!

You’ve perfected your design and you’ve just published your project to bestcustomdomain.com. You’re on top of the world! That is, until you visit your site and see an ERR_TOO_MANY_REDIRECTS error instead of your actual design.

In this lesson, you’ll learn more about this error and how to fix it using the following: 

  1. Understand root domain and subdomain differences
  2. Learn why the error occurs
  3. Fix the error
Chrome's browser display of the ERR_TOO_MANY_REDIRECTS message.

Understand root domain and subdomain differences

When you register a website name or domain name, you’re registering a root domain. 

  • A root domain does not include www and looks like this → bestcustomdomain.com

This means you have access to create subdomains all branching from that root domain. One of those subdomains is the www-version of your site. 

  • A subdomain includes www and looks like this → www.bestcustomdomain.com

Learn why the error occurs

The reason you see the “too many redirects” error is because your website has been set up in a way that keeps redirecting it between different web addresses. When your browser tries to load your site, it goes back and forth between those web addresses in a way that will never complete — a redirect loop. 

This is often the result of competing redirects — for instance, between your subdomain and your root domain (the www and non-www forms of your custom domain URL). 

Your browser protects you from this redirect loop by only allowing a certain number of redirects (usually a maximum of 10) before it gives up and displays the “too many redirects” error message. This message appears differently between Chrome, Safari, and other browsers.

Chrome's browser display of the ERR_TOO_MANY_REDIRECTS message.
Chrome’s error message appearance.

Safari's browser display of the ERR_TOO_MANY_REDIRECTS message.
Safari’s error message appearance.

Fix the error

The default domain on SSL (secure sockets layer) must be served on a domain that has a CNAME record. In most cases, you'll need to set the subdomain (the www-version of your domain) as the default domain to allow your site to function properly and use SSL.

To fix the too many redirects error, set your subdomain as your default domain: 

  1. Open your project’s Settings and go to the Hosting tab
  2. Scroll down to the “Custom domains” section of the page
  3. Set your subdomain (the www-version) as your default domain
  4. Republish your project
Webflow's hosting settings with the subdomain set as the default domain.
The subdomain (the www-version of the domain) is set as the project’s default domain.


If you want to connect only the subdomain (www.bestcustomdomain.com) or another subdomain to your Webflow project, check out the connecting a subdomain tutorial. To redirect traffic to the root domain on SSL hosting, learn more about setting the root domain as the default domain.

Troubleshooting

If you continue to see the “too many redirects” error, your browser may be caching an old error message. Try the following when viewing your site:

  1. Clear your browser cache
  2. View your site in incognito mode with browser extensions turned off
  3. View your site on mobile or in a browser you have not yet used to view your site

Also, keep in mind that it may take up to 48 hours before changes are successfully made from your DNS host. If your domain is not working correctly after 48 hours, troubleshoot your DNS settings or contact your domain provider’s help desk.

If your DNS settings are correct, but you’re still experiencing issues with your published site, contact us and we’ll help you resolve any issues.

Related articles: 

Try Webflow — it's free
No items found.
This video features an old UI. Updated version coming soon!