{"id":354,"date":"2026-11-17T13:05:49","date_gmt":"2026-11-17T20:05:49","guid":{"rendered":"https:\/\/hostandtech.com\/kb\/?p=354"},"modified":"2026-11-17T13:05:49","modified_gmt":"2026-11-17T20:05:49","slug":"fix-err-too-many-redirects","status":"publish","type":"post","link":"https:\/\/hostandtech.com\/kb\/ssl\/fix-err-too-many-redirects\/","title":{"rendered":"How to Fix ERR_TOO_MANY_REDIRECTS (Cloudflare, WordPress, cPanel and Plesk)"},"content":{"rendered":"<h2>Overview<\/h2>\n<p>ERR_TOO_MANY_REDIRECTS means two redirect rules disagree, so the browser bounces between the same two addresses until it gives up (Chrome and Firefox stop after 20 hops). On a site behind Cloudflare, the cause is almost always the SSL mode set to <strong>Flexible<\/strong> while your server also forces HTTPS. Without Cloudflare, it is usually WordPress set to one address while a server rule sends visitors to another.<\/p>\n<p>This guide is for site owners on cPanel or Plesk hosting who suddenly can&#8217;t open their own site, often right after installing SSL, turning on Cloudflare or switching between www and non-www. You&#8217;ll trace the loop with one command, see which two rules are fighting, and leave each redirect in one place only so it doesn&#8217;t come back.<\/p>\n<p>The wording depends on the browser, but it&#8217;s the same fault:<\/p>\n<ul>\n<li><strong>Chrome and Edge:<\/strong> &#8220;This page isn&#8217;t working. example.com redirected you too many times.&#8221; with the code ERR_TOO_MANY_REDIRECTS.<\/li>\n<li><strong>Firefox:<\/strong> &#8220;The page isn&#8217;t redirecting properly.&#8221;<\/li>\n<li><strong>Safari:<\/strong> &#8220;Too many redirects occurred trying to open&#8221; followed by the address.<\/li>\n<\/ul>\n<h2>What causes ERR_TOO_MANY_REDIRECTS<\/h2>\n<p>Every redirect loop is two layers giving opposite answers. These are the pairs I see on hosting servers, most common first:<\/p>\n<table>\n<thead>\n<tr>\n<th>Cause<\/th>\n<th>What the trace shows<\/th>\n<th>Where to fix it<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Cloudflare Flexible SSL plus a server HTTPS redirect<\/td>\n<td>The same https address redirects to itself<\/td>\n<td>Cloudflare SSL\/TLS mode<\/td>\n<\/tr>\n<tr>\n<td>WordPress URL on http while the server forces https<\/td>\n<td>http and https swap back and forth<\/td>\n<td>WordPress settings or wp-config.php<\/td>\n<\/tr>\n<tr>\n<td>www forced in one place, non-www in another<\/td>\n<td>www and non-www swap back and forth<\/td>\n<td>Plesk, .htaccess or a plugin<\/td>\n<\/tr>\n<tr>\n<td>Stale login cookie<\/td>\n<td>Loops only for you, often only on \/wp-admin<\/td>\n<td>Your browser<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>How to fix ERR_TOO_MANY_REDIRECTS<\/h2>\n<h3>Fix 1: Rule out your browser, then trace the loop<\/h3>\n<p>Open the site in a private window. If it loads there, the loop lives in a cookie: clear the cookies for that one domain (in Chrome, click the icon left of the address bar, then <strong>Cookies and site data<\/strong>) and you&#8217;re done.<\/p>\n<p>If the private window loops too, the problem is on the server or CDN. Ask the site where it&#8217;s sending you. curl is built into macOS, Linux and Windows 10 or later:<\/p>\n<div class='ht-code-snippet'><button class='ht-code-snippet__copy' onclick='htCopyCode(\"code-block-1\")' type='button' aria-label='Copy code'><svg class='ht-copy-icon' viewBox='0 0 32 32' width='16' height='16' fill='currentColor'><path d='M28,10V28H10V10H28m0-2H10a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2Z'><\/path><path d='M4,18H2V4A2,2,0,0,1,4,2H18V4H4Z'><\/path><\/svg><svg class='ht-check-icon' viewBox='0 0 32 32' width='16' height='16' fill='currentColor'><path d='M13,24l-9-9,1.414-1.414L13,21.171,26.586,7.586,28,9Z'><\/path><\/svg><\/button><span class='ht-code-snippet__feedback'>Copied to clipboard<\/span><\/p>\n<pre class='ht-code-snippet__code' id='code-block-1'><code class=\"\" data-line=\"\">curl -sIL --max-redirs 10 http:\/\/example.com\/ | grep -iE &#039;^(HTTP|location|server)&#039;<\/code><\/pre>\n<\/div>\n<p>On Windows, run it in PowerShell as <code class=\"\" data-line=\"\">curl.exe<\/code>, not <code class=\"\" data-line=\"\">curl<\/code>. In Windows PowerShell 5.1, plain <code class=\"\" data-line=\"\">curl<\/code> is an alias for Invoke-WebRequest, which takes different options and prints an unrelated error.<\/p>\n<p>A Cloudflare Flexible loop looks like this:<\/p>\n<div class='ht-code-snippet'><button class='ht-code-snippet__copy' onclick='htCopyCode(\"code-block-2\")' type='button' aria-label='Copy code'><svg class='ht-copy-icon' viewBox='0 0 32 32' width='16' height='16' fill='currentColor'><path d='M28,10V28H10V10H28m0-2H10a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2Z'><\/path><path d='M4,18H2V4A2,2,0,0,1,4,2H18V4H4Z'><\/path><\/svg><svg class='ht-check-icon' viewBox='0 0 32 32' width='16' height='16' fill='currentColor'><path d='M13,24l-9-9,1.414-1.414L13,21.171,26.586,7.586,28,9Z'><\/path><\/svg><\/button><span class='ht-code-snippet__feedback'>Copied to clipboard<\/span><\/p>\n<pre class='ht-code-snippet__code' id='code-block-2'><code class=\"\" data-line=\"\">HTTP\/1.1 301 Moved Permanently\nLocation: https:\/\/example.com\/\nServer: cloudflare\nHTTP\/2 301\nlocation: https:\/\/example.com\/\nserver: cloudflare\nHTTP\/2 301\nlocation: https:\/\/example.com\/\ncurl: (47) Maximum (10) redirects followed<\/code><\/pre>\n<\/div>\n<p>Read the <code class=\"\" data-line=\"\">location<\/code> lines. If the same https address keeps redirecting to itself and the server line says cloudflare, go to Fix 2. If http and https alternate, go to Fix 3. If www and non-www alternate, go to Fix 4.<\/p>\n<h3>Fix 2: Change Cloudflare from Flexible to Full (strict)<\/h3>\n<p>In Flexible mode, Cloudflare talks HTTPS to the visitor but plain HTTP to your server. Your server sees an HTTP request and redirects it to HTTPS. Cloudflare passes that redirect back to the browser, the browser asks Cloudflare for the HTTPS address again, and Cloudflare fetches it from your server over HTTP again. The server never sees HTTPS, so the loop never ends.<\/p>\n<figure class=\"wp-block-image\"><img src=\"https:\/\/hostandtech.com\/kb\/wp-content\/uploads\/2026\/11\/cloudflare-flexible-vs-full-strict-redirect-loop.webp\" alt=\"Diagram comparing Cloudflare Flexible SSL, which loops, with Full (strict), which loads the page\" width=\"1000\" height=\"640\" loading=\"lazy\" decoding=\"async\"><figcaption>Flexible sends plain HTTP to your server, so an HTTPS redirect there loops forever. Full (strict) connects over HTTPS and the loop stops.<\/figcaption><\/figure>\n<ol>\n<li>Make sure the site has a valid certificate on the server itself. On cPanel, AutoSSL issues one for free (<strong>Security &gt; SSL\/TLS Status<\/strong>). On Plesk, follow <a href=\"https:\/\/hostandtech.com\/kb\/plesk-linux\/how-to-install-ssl-certificate-plesk\/\">installing a Let&#8217;s Encrypt certificate in Plesk<\/a>.<\/li>\n<li>In the Cloudflare dashboard, open the domain, go to <strong>SSL\/TLS &gt; Overview<\/strong> and choose <strong>Full (strict)<\/strong>.<\/li>\n<li>Wait a minute and run the curl trace again. You should see one 301 (or none) followed by <code class=\"\" data-line=\"\">HTTP\/2 200<\/code>.<\/li>\n<\/ol>\n<p><strong>Note:<\/strong> if the page now shows Cloudflare error 526 (Invalid SSL certificate), the certificate on your server is missing, expired or doesn&#8217;t cover that hostname. Fix the certificate rather than going back to Flexible. Our guide to <a href=\"https:\/\/hostandtech.com\/kb\/ssl\/ssl-certificate-not-renewing-fix\/\">SSL certificates that won&#8217;t renew<\/a> covers the usual AutoSSL and Let&#8217;s Encrypt failures.<\/p>\n<h3>Fix 3: Make WordPress use the same address as the server<\/h3>\n<p>WordPress redirects every request to the address stored in <strong>Settings &gt; General<\/strong> (WordPress Address and Site Address). If those say <code class=\"\" data-line=\"\">http:\/\/<\/code> while your server or an SSL plugin forces HTTPS, the two keep sending visitors to each other.<\/p>\n<p>If you can reach the dashboard, set both fields to your real https address and save. If the loop locks you out, set them in <code class=\"\" data-line=\"\">wp-config.php<\/code> with the cPanel <a href=\"https:\/\/hostandtech.com\/kb\/cpanel\/how-to-use-cpanel-file-manager\/\">File Manager<\/a>. Add these lines above the line that says &#8220;That&#8217;s all, stop editing&#8221;:<\/p>\n<div class='ht-code-snippet'><button class='ht-code-snippet__copy' onclick='htCopyCode(\"code-block-3\")' type='button' aria-label='Copy code'><svg class='ht-copy-icon' viewBox='0 0 32 32' width='16' height='16' fill='currentColor'><path d='M28,10V28H10V10H28m0-2H10a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2Z'><\/path><path d='M4,18H2V4A2,2,0,0,1,4,2H18V4H4Z'><\/path><\/svg><svg class='ht-check-icon' viewBox='0 0 32 32' width='16' height='16' fill='currentColor'><path d='M13,24l-9-9,1.414-1.414L13,21.171,26.586,7.586,28,9Z'><\/path><\/svg><\/button><span class='ht-code-snippet__feedback'>Copied to clipboard<\/span><\/p>\n<pre class='ht-code-snippet__code' id='code-block-3'><code class=\"\" data-line=\"\">define( &#039;WP_HOME&#039;, &#039;https:\/\/example.com&#039; );\ndefine( &#039;WP_SITEURL&#039;, &#039;https:\/\/example.com&#039; );<\/code><\/pre>\n<\/div>\n<p>With SSH access, WP-CLI does the same and also shows what&#8217;s stored now:<\/p>\n<div class='ht-code-snippet'><button class='ht-code-snippet__copy' onclick='htCopyCode(\"code-block-4\")' type='button' aria-label='Copy code'><svg class='ht-copy-icon' viewBox='0 0 32 32' width='16' height='16' fill='currentColor'><path d='M28,10V28H10V10H28m0-2H10a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2Z'><\/path><path d='M4,18H2V4A2,2,0,0,1,4,2H18V4H4Z'><\/path><\/svg><svg class='ht-check-icon' viewBox='0 0 32 32' width='16' height='16' fill='currentColor'><path d='M13,24l-9-9,1.414-1.414L13,21.171,26.586,7.586,28,9Z'><\/path><\/svg><\/button><span class='ht-code-snippet__feedback'>Copied to clipboard<\/span><\/p>\n<pre class='ht-code-snippet__code' id='code-block-4'><code class=\"\" data-line=\"\">cd ~\/public_html\nwp option get home\nwp option update home &#039;https:\/\/example.com&#039;\nwp option update siteurl &#039;https:\/\/example.com&#039;<\/code><\/pre>\n<\/div>\n<p>Two more WordPress causes. First, SSL plugins (Really Simple SSL and similar) add their own redirect. If you can&#8217;t log in to turn one off, rename its folder in <code class=\"\" data-line=\"\">wp-content\/plugins<\/code> and the plugin is disabled. Second, if the site sits behind a proxy or load balancer that handles SSL for it, WordPress never sees HTTPS and keeps redirecting. Tell it to trust the proxy&#8217;s header by adding this to <code class=\"\" data-line=\"\">wp-config.php<\/code>, above the same line:<\/p>\n<div class='ht-code-snippet'><button class='ht-code-snippet__copy' onclick='htCopyCode(\"code-block-5\")' type='button' aria-label='Copy code'><svg class='ht-copy-icon' viewBox='0 0 32 32' width='16' height='16' fill='currentColor'><path d='M28,10V28H10V10H28m0-2H10a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2Z'><\/path><path d='M4,18H2V4A2,2,0,0,1,4,2H18V4H4Z'><\/path><\/svg><svg class='ht-check-icon' viewBox='0 0 32 32' width='16' height='16' fill='currentColor'><path d='M13,24l-9-9,1.414-1.414L13,21.171,26.586,7.586,28,9Z'><\/path><\/svg><\/button><span class='ht-code-snippet__feedback'>Copied to clipboard<\/span><\/p>\n<pre class='ht-code-snippet__code' id='code-block-5'><code class=\"\" data-line=\"\">if ( isset( $_SERVER[&#039;HTTP_X_FORWARDED_PROTO&#039;] ) &amp;&amp; $_SERVER[&#039;HTTP_X_FORWARDED_PROTO&#039;] === &#039;https&#039; ) {\n    $_SERVER[&#039;HTTPS&#039;] = &#039;on&#039;;\n}<\/code><\/pre>\n<\/div>\n<p><strong>Warning:<\/strong> only add that block when a proxy you control sits in front of the site. On a server that takes traffic straight from the internet, anyone can send that header.<\/p>\n<h3>Fix 4: Remove the second www or HTTPS redirect<\/h3>\n<p>When www and non-www swap back and forth, two places each think they own the &#8220;preferred&#8221; address. These are the places a redirect can hide on our kind of hosting:<\/p>\n<ul>\n<li><code class=\"\" data-line=\"\">.htaccess<\/code> in the site&#8217;s document root<\/li>\n<li>cPanel <strong>Domains<\/strong> (the Force HTTPS Redirect switch) and cPanel <strong>Redirects<\/strong><\/li>\n<li>Plesk <strong>Hosting Settings<\/strong>: the <strong>Preferred domain<\/strong> setting and the &#8220;Permanent SEO-safe 301 redirect from HTTP to HTTPS&#8221; box<\/li>\n<li>Plesk <strong>Apache &amp; nginx Settings<\/strong>, under additional nginx directives<\/li>\n<li>The WordPress addresses from Fix 3, and any redirect or SEO plugin<\/li>\n<li>Cloudflare Redirect Rules and the &#8220;Always Use HTTPS&#8221; setting<\/li>\n<\/ul>\n<p>The Plesk case catches people out regularly. Preferred domain is set to <code class=\"\" data-line=\"\">www.example.com<\/code>, while WordPress stores <code class=\"\" data-line=\"\">https:\/\/example.com<\/code>. Plesk adds www and WordPress strips it. Make them match, or set Preferred domain to <strong>None<\/strong> and let one layer decide.<\/p>\n<p>On cPanel, I&#8217;d keep everything in one <code class=\"\" data-line=\"\">.htaccess<\/code> block that sends visitors to HTTPS and non-www in a single hop, and switch the other options off:<\/p>\n<div class='ht-code-snippet'><button class='ht-code-snippet__copy' onclick='htCopyCode(\"code-block-6\")' type='button' aria-label='Copy code'><svg class='ht-copy-icon' viewBox='0 0 32 32' width='16' height='16' fill='currentColor'><path d='M28,10V28H10V10H28m0-2H10a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2Z'><\/path><path d='M4,18H2V4A2,2,0,0,1,4,2H18V4H4Z'><\/path><\/svg><svg class='ht-check-icon' viewBox='0 0 32 32' width='16' height='16' fill='currentColor'><path d='M13,24l-9-9,1.414-1.414L13,21.171,26.586,7.586,28,9Z'><\/path><\/svg><\/button><span class='ht-code-snippet__feedback'>Copied to clipboard<\/span><\/p>\n<pre class='ht-code-snippet__code' id='code-block-6'><code class=\"\" data-line=\"\">RewriteEngine On\nRewriteCond %{HTTPS} off [OR]\nRewriteCond %{HTTP_HOST} ^www&#092;. [NC]\nRewriteRule ^ https:\/\/example.com%{REQUEST_URI} [L,R=301]<\/code><\/pre>\n<\/div>\n<p>Put it above the WordPress block, and don&#8217;t use it behind Cloudflare Flexible: there, <code class=\"\" data-line=\"\">%{HTTPS}<\/code> is always off, which brings back the loop from Fix 2. Rules for Nginx, IIS and the www version are in our guide to <a href=\"https:\/\/hostandtech.com\/kb\/ssl\/force-https-redirect-http-to-https\/\">forcing an HTTP to HTTPS redirect<\/a>.<\/p>\n<h2>How to prevent redirect loops<\/h2>\n<ul>\n<li><strong>Give each redirect one owner.<\/strong> Decide once where HTTPS is enforced (server or CDN) and where www is decided, and write it down. Most loops start when a second person or plugin adds a &#8220;helpful&#8221; redirect.<\/li>\n<li><strong>Run the curl trace after every change<\/strong> to SSL, DNS, Cloudflare or WordPress addresses. A healthy site shows at most one 301 and then a 200.<\/li>\n<li><strong>Set Cloudflare to Full (strict) before you turn the proxy on<\/strong>. Switching modes on a live site is how most of these loops begin.<\/li>\n<li><strong>Fix mixed content separately.<\/strong> Padlock warnings after an HTTPS switch are a different problem with a different fix: see <a href=\"https:\/\/hostandtech.com\/kb\/ssl\/fix-mixed-content-warnings-https\/\">fixing mixed content warnings<\/a>.<\/li>\n<\/ul>\n<p>Googlebot hits the same loop as visitors, so pages can drop out of search while it lasts. Once the trace is clean, use URL Inspection in Search Console to request indexing for the home page. If you&#8217;d rather have HTTPS set up for you from day one, our <a href=\"https:\/\/hostandtech.com\/cloudlinux-cpanel-shared-hosting\">cPanel shared hosting<\/a> includes AutoSSL on every domain.<\/p>\n<div class=\"ht-faq-section\">\n<h2>Frequently Asked Questions<\/h2>\n<div class=\"ht-faq-item\">\n<h3 class=\"ht-faq-question\">What does ERR_TOO_MANY_REDIRECTS mean?<\/h3>\n<div class=\"ht-faq-answer\">\n<p>The browser followed a chain of redirects that never reached a real page, usually two rules sending it back and forth between the same two addresses. After about 20 hops it stops and shows the error. The fix is to find the two rules and remove one.<\/p>\n<\/div>\n<\/div>\n<div class=\"ht-faq-item\">\n<h3 class=\"ht-faq-question\">Why does Cloudflare cause too many redirects?<\/h3>\n<div class=\"ht-faq-answer\">\n<p>In Flexible mode Cloudflare connects to your server over plain HTTP. If your server redirects HTTP to HTTPS, it does that on every request and the loop never ends. Install a certificate on the server and set Cloudflare\u2019s SSL\/TLS mode to Full (strict).<\/p>\n<\/div>\n<\/div>\n<div class=\"ht-faq-item\">\n<h3 class=\"ht-faq-question\">Will clearing cookies fix ERR_TOO_MANY_REDIRECTS?<\/h3>\n<div class=\"ht-faq-answer\">\n<p>Only when the loop is caused by a stale cookie, which you can test by opening the site in a private window. If the private window loops too, the cause is a server, WordPress or Cloudflare setting and cookies won\u2019t help.<\/p>\n<\/div>\n<\/div>\n<div class=\"ht-faq-item\">\n<h3 class=\"ht-faq-question\">How do I fix too many redirects in WordPress if I can\u2019t log in?<\/h3>\n<div class=\"ht-faq-answer\">\n<p>Add WP_HOME and WP_SITEURL with your https address to wp-config.php using the cPanel File Manager or FTP. If an SSL or redirect plugin is involved, rename its folder in wp-content\/plugins to disable it, then log in and tidy up.<\/p>\n<\/div>\n<\/div>\n<div class=\"ht-faq-item\">\n<h3 class=\"ht-faq-question\">Does a redirect loop hurt SEO?<\/h3>\n<div class=\"ht-faq-answer\">\n<p>Yes, while it lasts. Googlebot gets the same loop and can\u2019t fetch the page, so it may drop from results. After fixing it, check the trace with curl and request indexing in Google Search Console.<\/p>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>ERR_TOO_MANY_REDIRECTS is two redirect rules fighting. Trace the loop with one curl command, then fix the usual culprits: Cloudflare Flexible SSL, WordPress addresses and duplicate www or HTTPS rules in cPanel and Plesk.<\/p>\n","protected":false},"author":1,"featured_media":344,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[79],"tags":[691,125,81,103,121],"class_list":["post-354","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ssl","tag-301-redirect","tag-htaccess","tag-https","tag-ssl-certificate","tag-wordpress-troubleshooting"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Fix ERR_TOO_MANY_REDIRECTS: Find the Redirect Loop<\/title>\n<meta name=\"description\" content=\"Fix ERR_TOO_MANY_REDIRECTS fast: trace the loop with curl, then fix Cloudflare Flexible SSL, WordPress URLs or duplicate www rules in cPanel and Plesk.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/hostandtech.com\/kb\/ssl\/fix-err-too-many-redirects\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Fix ERR_TOO_MANY_REDIRECTS: Find the Redirect Loop\" \/>\n<meta property=\"og:description\" content=\"Fix ERR_TOO_MANY_REDIRECTS fast: trace the loop with curl, then fix Cloudflare Flexible SSL, WordPress URLs or duplicate www rules in cPanel and Plesk.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hostandtech.com\/kb\/ssl\/fix-err-too-many-redirects\/\" \/>\n<meta property=\"og:site_name\" content=\"Host And Tech knowledge base\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/stshostandtech\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-17T20:05:49+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hostandtech.com\/kb\/wp-content\/uploads\/2026\/11\/fix-err-too-many-redirects.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@stshostandtech\" \/>\n<meta name=\"twitter:site\" content=\"@stshostandtech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/ssl\\\/fix-err-too-many-redirects\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/ssl\\\/fix-err-too-many-redirects\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/#\\\/schema\\\/person\\\/b6fa79c48ddaba71af32e395c5b017ee\"},\"headline\":\"How to Fix ERR_TOO_MANY_REDIRECTS (Cloudflare, WordPress, cPanel and Plesk)\",\"datePublished\":\"2026-11-17T20:05:49+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/ssl\\\/fix-err-too-many-redirects\\\/\"},\"wordCount\":1540,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/ssl\\\/fix-err-too-many-redirects\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/fix-err-too-many-redirects.webp\",\"keywords\":[\"301 redirect\",\"htaccess\",\"https\",\"ssl certificate\",\"WordPress troubleshooting\"],\"articleSection\":[\"SSL &amp; HTTPS\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/hostandtech.com\\\/kb\\\/ssl\\\/fix-err-too-many-redirects\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/ssl\\\/fix-err-too-many-redirects\\\/\",\"url\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/ssl\\\/fix-err-too-many-redirects\\\/\",\"name\":\"How to Fix ERR_TOO_MANY_REDIRECTS: Find the Redirect Loop\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/ssl\\\/fix-err-too-many-redirects\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/ssl\\\/fix-err-too-many-redirects\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/fix-err-too-many-redirects.webp\",\"datePublished\":\"2026-11-17T20:05:49+00:00\",\"description\":\"Fix ERR_TOO_MANY_REDIRECTS fast: trace the loop with curl, then fix Cloudflare Flexible SSL, WordPress URLs or duplicate www rules in cPanel and Plesk.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/ssl\\\/fix-err-too-many-redirects\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/hostandtech.com\\\/kb\\\/ssl\\\/fix-err-too-many-redirects\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/ssl\\\/fix-err-too-many-redirects\\\/#primaryimage\",\"url\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/fix-err-too-many-redirects.webp\",\"contentUrl\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/fix-err-too-many-redirects.webp\",\"width\":1200,\"height\":630,\"caption\":\"ERR_TOO_MANY_REDIRECTS: a 301 redirect loop between http and https versions of a site\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/ssl\\\/fix-err-too-many-redirects\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Fix ERR_TOO_MANY_REDIRECTS (Cloudflare, WordPress, cPanel and Plesk)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/\",\"name\":\"Host And Tech knowledge base\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/#organization\",\"name\":\"Host And Tech knowledge base\",\"url\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/logo-dark.png\",\"contentUrl\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/logo-dark.png\",\"width\":1134,\"height\":395,\"caption\":\"Host And Tech knowledge base\"},\"image\":{\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/stshostandtech\",\"https:\\\/\\\/x.com\\\/stshostandtech\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/#\\\/schema\\\/person\\\/b6fa79c48ddaba71af32e395c5b017ee\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/aa1edac8bbadb442e059a5b65ad45a3b2e3ce689202373b96e3e567517ae4b39?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/aa1edac8bbadb442e059a5b65ad45a3b2e3ce689202373b96e3e567517ae4b39?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/aa1edac8bbadb442e059a5b65ad45a3b2e3ce689202373b96e3e567517ae4b39?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\\\/\\\/hostandtech.com\\\/kb\"],\"url\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/author\\\/admin_fjj7qydm\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Fix ERR_TOO_MANY_REDIRECTS: Find the Redirect Loop","description":"Fix ERR_TOO_MANY_REDIRECTS fast: trace the loop with curl, then fix Cloudflare Flexible SSL, WordPress URLs or duplicate www rules in cPanel and Plesk.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/hostandtech.com\/kb\/ssl\/fix-err-too-many-redirects\/","og_locale":"en_US","og_type":"article","og_title":"How to Fix ERR_TOO_MANY_REDIRECTS: Find the Redirect Loop","og_description":"Fix ERR_TOO_MANY_REDIRECTS fast: trace the loop with curl, then fix Cloudflare Flexible SSL, WordPress URLs or duplicate www rules in cPanel and Plesk.","og_url":"https:\/\/hostandtech.com\/kb\/ssl\/fix-err-too-many-redirects\/","og_site_name":"Host And Tech knowledge base","article_publisher":"https:\/\/www.facebook.com\/stshostandtech","article_published_time":"2026-11-17T20:05:49+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/hostandtech.com\/kb\/wp-content\/uploads\/2026\/11\/fix-err-too-many-redirects.webp","type":"image\/webp"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@stshostandtech","twitter_site":"@stshostandtech","twitter_misc":{"Written by":"admin","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/hostandtech.com\/kb\/ssl\/fix-err-too-many-redirects\/#article","isPartOf":{"@id":"https:\/\/hostandtech.com\/kb\/ssl\/fix-err-too-many-redirects\/"},"author":{"name":"admin","@id":"https:\/\/hostandtech.com\/kb\/#\/schema\/person\/b6fa79c48ddaba71af32e395c5b017ee"},"headline":"How to Fix ERR_TOO_MANY_REDIRECTS (Cloudflare, WordPress, cPanel and Plesk)","datePublished":"2026-11-17T20:05:49+00:00","mainEntityOfPage":{"@id":"https:\/\/hostandtech.com\/kb\/ssl\/fix-err-too-many-redirects\/"},"wordCount":1540,"commentCount":0,"publisher":{"@id":"https:\/\/hostandtech.com\/kb\/#organization"},"image":{"@id":"https:\/\/hostandtech.com\/kb\/ssl\/fix-err-too-many-redirects\/#primaryimage"},"thumbnailUrl":"https:\/\/hostandtech.com\/kb\/wp-content\/uploads\/2026\/11\/fix-err-too-many-redirects.webp","keywords":["301 redirect","htaccess","https","ssl certificate","WordPress troubleshooting"],"articleSection":["SSL &amp; HTTPS"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/hostandtech.com\/kb\/ssl\/fix-err-too-many-redirects\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/hostandtech.com\/kb\/ssl\/fix-err-too-many-redirects\/","url":"https:\/\/hostandtech.com\/kb\/ssl\/fix-err-too-many-redirects\/","name":"How to Fix ERR_TOO_MANY_REDIRECTS: Find the Redirect Loop","isPartOf":{"@id":"https:\/\/hostandtech.com\/kb\/#website"},"primaryImageOfPage":{"@id":"https:\/\/hostandtech.com\/kb\/ssl\/fix-err-too-many-redirects\/#primaryimage"},"image":{"@id":"https:\/\/hostandtech.com\/kb\/ssl\/fix-err-too-many-redirects\/#primaryimage"},"thumbnailUrl":"https:\/\/hostandtech.com\/kb\/wp-content\/uploads\/2026\/11\/fix-err-too-many-redirects.webp","datePublished":"2026-11-17T20:05:49+00:00","description":"Fix ERR_TOO_MANY_REDIRECTS fast: trace the loop with curl, then fix Cloudflare Flexible SSL, WordPress URLs or duplicate www rules in cPanel and Plesk.","breadcrumb":{"@id":"https:\/\/hostandtech.com\/kb\/ssl\/fix-err-too-many-redirects\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hostandtech.com\/kb\/ssl\/fix-err-too-many-redirects\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hostandtech.com\/kb\/ssl\/fix-err-too-many-redirects\/#primaryimage","url":"https:\/\/hostandtech.com\/kb\/wp-content\/uploads\/2026\/11\/fix-err-too-many-redirects.webp","contentUrl":"https:\/\/hostandtech.com\/kb\/wp-content\/uploads\/2026\/11\/fix-err-too-many-redirects.webp","width":1200,"height":630,"caption":"ERR_TOO_MANY_REDIRECTS: a 301 redirect loop between http and https versions of a site"},{"@type":"BreadcrumbList","@id":"https:\/\/hostandtech.com\/kb\/ssl\/fix-err-too-many-redirects\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/hostandtech.com\/kb\/"},{"@type":"ListItem","position":2,"name":"How to Fix ERR_TOO_MANY_REDIRECTS (Cloudflare, WordPress, cPanel and Plesk)"}]},{"@type":"WebSite","@id":"https:\/\/hostandtech.com\/kb\/#website","url":"https:\/\/hostandtech.com\/kb\/","name":"Host And Tech knowledge base","description":"","publisher":{"@id":"https:\/\/hostandtech.com\/kb\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hostandtech.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/hostandtech.com\/kb\/#organization","name":"Host And Tech knowledge base","url":"https:\/\/hostandtech.com\/kb\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hostandtech.com\/kb\/#\/schema\/logo\/image\/","url":"https:\/\/hostandtech.com\/kb\/wp-content\/uploads\/2026\/05\/logo-dark.png","contentUrl":"https:\/\/hostandtech.com\/kb\/wp-content\/uploads\/2026\/05\/logo-dark.png","width":1134,"height":395,"caption":"Host And Tech knowledge base"},"image":{"@id":"https:\/\/hostandtech.com\/kb\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/stshostandtech","https:\/\/x.com\/stshostandtech"]},{"@type":"Person","@id":"https:\/\/hostandtech.com\/kb\/#\/schema\/person\/b6fa79c48ddaba71af32e395c5b017ee","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/aa1edac8bbadb442e059a5b65ad45a3b2e3ce689202373b96e3e567517ae4b39?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/aa1edac8bbadb442e059a5b65ad45a3b2e3ce689202373b96e3e567517ae4b39?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/aa1edac8bbadb442e059a5b65ad45a3b2e3ce689202373b96e3e567517ae4b39?s=96&d=mm&r=g","caption":"admin"},"sameAs":["https:\/\/hostandtech.com\/kb"],"url":"https:\/\/hostandtech.com\/kb\/author\/admin_fjj7qydm\/"}]}},"_links":{"self":[{"href":"https:\/\/hostandtech.com\/kb\/wp-json\/wp\/v2\/posts\/354","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hostandtech.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hostandtech.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hostandtech.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hostandtech.com\/kb\/wp-json\/wp\/v2\/comments?post=354"}],"version-history":[{"count":1,"href":"https:\/\/hostandtech.com\/kb\/wp-json\/wp\/v2\/posts\/354\/revisions"}],"predecessor-version":[{"id":359,"href":"https:\/\/hostandtech.com\/kb\/wp-json\/wp\/v2\/posts\/354\/revisions\/359"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hostandtech.com\/kb\/wp-json\/wp\/v2\/media\/344"}],"wp:attachment":[{"href":"https:\/\/hostandtech.com\/kb\/wp-json\/wp\/v2\/media?parent=354"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hostandtech.com\/kb\/wp-json\/wp\/v2\/categories?post=354"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hostandtech.com\/kb\/wp-json\/wp\/v2\/tags?post=354"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}