Part 2 · 2.5
ERR_TOO_MANY_REDIRECTS: too many redirects
Does your browser say ERR_TOO_MANY_REDIRECTS, too many redirects or the page isn't redirecting properly? Then two settings are sending your visitor back and forth, and they never reach a page.
The causes on our servers
- Redirecting to https twice: Force SSL with https redirect is switched on in DirectAdmin, and a plugin or your own rule in .htaccess also redirects to https.
- With or without www: DirectAdmin redirects to the address with www, while WordPress redirects to the address without www, or the other way round.
- Cloudflare with SSL mode Flexible: Cloudflare talks to our server over http, and our server redirects back to https.
- An old redirect in your browser. Your browser remembers redirects.
How to fix it
- First try a private window or a different browser. If it works there, clear your browser's cache.
- Use only one redirect to https. In DirectAdmin, go to Domains, open your domain and check whether Force SSL with https redirect is switched on. Then switch off the redirect in your plugin or in .htaccess, or the other way round.

The https redirect of a domain in DirectAdmin - Under Force redirect in DirectAdmin, check whether you've chosen with or without www, and in WordPress go to Settings and then General and set the WordPress Address and the Site Address to exactly the same address.
- Are you using the Cloudflare proxy with SSL mode Flexible? Choose Full (strict) there instead.
When should you contact us?
Do you have only one redirect and the loop persists? Then get in touch.
First ask the AI assistant in My WebOké, or create a ticket via Support centre and then Submit a ticket. Include:
- the address where it goes wrong
- whether you use Cloudflare or a security plugin
- what you've changed recently
Never send your password.
Detailed explanation: Forcing visitors to https and Always redirecting visitors to https.
