![sitesucker too many http redirect sitesucker too many http redirect](https://seo-gold.com/images/secure-https-url-in-google-chrome-1000x500.jpg)
But because Varnish and WordPress are unaware of SSL termination, you’ll end up in a redirection loop until the browser throws this error. The immediate cause of the Website too many redirect loop error. The output is nothing more than a 301 redirect to the HTTPS version.
![sitesucker too many http redirect sitesucker too many http redirect](https://raw.githubusercontent.com/drk1wi/assets/master/cache_poisoned.png)
This happens when the HTTP version of a page is stored in cache. We trigger a problem: forcing HTTPS redirects on an application that is not aware what the initial request protocol, can cause ERR_TOO_MANY_REDIRECTS errors in your browser. Not only does Varnish not support SSL, it is also unaware of the SSL termination and just uses the hostname and the URL of the request as an identifier. So we need to terminate the SSL connection and speak plain HTTP with Varnish and your WordPress site. Unfortunately, Varnish does not support SSL. It is commonly used in conjunction with WordPress. Varnish is a reverse caching proxy server that speeds up the performance of your website.
![sitesucker too many http redirect sitesucker too many http redirect](http://1.bp.blogspot.com/-q_KVFSIvyTM/VMZisuSz3uI/AAAAAAAAAzc/BP0B-Virb64/w1200-h630-p-k-no-nu/fix-this-webpage-has-redirect-loop-error.png)
Varnish and SSL - WordPress Behind an HTTPS Terminating Proxy Therefore I did a lot of searching and the problem seems to be the following: Accessing Websites, Windows, Stable (Default) Pinned. I tried clearing my cookies, which had no effect. When I try to access Facebook, I keep getting a message saying 'ERR TOO MANY REDIRECTS'. Setting the domain's configuration to Nginx > Apache, thereby taking out Varnish solves the problem, but then you lose your Varnish cache. Too many redirects when accessing Facebook. I am using Nginx > Varnish > Apache, php-fpm. This periodical bahavior gave the clue that it is a cache-related problem.Ĭontent-Type text/html charset=iso-8859-1 The ERR_TOO_MANY_REDIRECTS appears for the wordpress homepage only and it goes away and then comes back on my site, Thinkbalm. I managed to identify the exact problem, and I am putting it here for requesting a solution. I have been trying to trace down the same problem.