Nieuw ticket Mijn tickets Inloggen Liquid error: undefined local variable or method `_routes' for #<Liquid::Strainer:0x00005630a9d6a4e0>

How can I solve a 'Too many redirects' or 'Redirect Loop' error?

Modified on Thu, 03 Feb 2022 at 07:04 PM

In some cases you may get a 'Too many redirects' or 'Redirect loop' error if you try to visit your website.


As the name suggests, there is a loop of redirects:


A > redirect > B > redirect > A > redirect > B > etc.


This is caused by the fact that an opposite redirect has been set in two different places (e.g. from www.domainname.com to domain name.com and vice versa). These two places are 99% of the cases:


  • One in WordPress itself: WordPress will always redirect you to the value of the home and siteurl.
  • One in the server settings at Savvii: at Savvii you can set whether a (sub)domain should redirect to another (sub)domain.


The redirect loop can be solved by ensuring that both redirects do not contradict each other. If you always want to run your site on www.domainname.com you have to set this value for your home and siteurl in WordPress (i.e. enter http://www.domainname.com) and make sure in the Savvii control panel that domain.com redirects to www.domainname.com or that both values are a domaininalias. In this article you can read how to adjust the redirects in the control panel. 

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article