{"id":21803,"date":"2026-11-05T23:30:43","date_gmt":"2026-11-05T20:30:43","guid":{"rendered":"https:\/\/sunucun.com.tr\/blog\/fix-err-too-many-redirects\/"},"modified":"2026-11-05T23:30:43","modified_gmt":"2026-11-05T20:30:43","slug":"fix-err-too-many-redirects","status":"publish","type":"post","link":"https:\/\/sunucun.com.tr\/blog\/fix-err-too-many-redirects\/","title":{"rendered":"What Is ERR_TOO_MANY_REDIRECTS and How Do You Fix a Redirect Loop?"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_89 ez-toc-wrap-center counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/sunucun.com.tr\/blog\/fix-err-too-many-redirects\/#What_Does_ERR_TOO_MANY_REDIRECTS_Mean\" >What Does ERR_TOO_MANY_REDIRECTS Mean?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/sunucun.com.tr\/blog\/fix-err-too-many-redirects\/#Causes_of_the_ERR_TOO_MANY_REDIRECTS_Error\" >Causes of the ERR_TOO_MANY_REDIRECTS Error<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/sunucun.com.tr\/blog\/fix-err-too-many-redirects\/#How_to_Fix_ERR_TOO_MANY_REDIRECTS_as_a_Visitor\" >How to Fix ERR_TOO_MANY_REDIRECTS as a Visitor<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/sunucun.com.tr\/blog\/fix-err-too-many-redirects\/#How_to_Fix_ERR_TOO_MANY_REDIRECTS_as_a_Site_Owner\" >How to Fix ERR_TOO_MANY_REDIRECTS as a Site Owner<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/sunucun.com.tr\/blog\/fix-err-too-many-redirects\/#1_See_the_Redirect_Chain\" >1. See the Redirect Chain<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/sunucun.com.tr\/blog\/fix-err-too-many-redirects\/#2_Fix_the_Cloudflare_SSL_Mode\" >2. Fix the Cloudflare SSL Mode<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/sunucun.com.tr\/blog\/fix-err-too-many-redirects\/#3_Check_the_WordPress_Address_Settings\" >3. Check the WordPress Address Settings<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/sunucun.com.tr\/blog\/fix-err-too-many-redirects\/#4_Disable_Plugins\" >4. Disable Plugins<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/sunucun.com.tr\/blog\/fix-err-too-many-redirects\/#5_Review_htaccess_and_Server_Redirects\" >5. Review .htaccess and Server Redirects<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/sunucun.com.tr\/blog\/fix-err-too-many-redirects\/#6_Clear_the_Caches\" >6. Clear the Caches<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/sunucun.com.tr\/blog\/fix-err-too-many-redirects\/#How_It_Relates_to_SSL_Settings\" >How It Relates to SSL Settings<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/sunucun.com.tr\/blog\/fix-err-too-many-redirects\/#Conclusion\" >Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n\n<p class=\"wp-block-paragraph\"><strong>ERR_TOO_MANY_REDIRECTS<\/strong> is an error showing that a page keeps sending the browser to another address, which sends it back to the first one; in other words, the browser has entered a <strong>redirect loop<\/strong>. Chrome then shows &#8220;This page isn&#8217;t working&#8221; with the message &#8220;\u2026 redirected you too many times&#8221;; in Firefox the same problem appears as &#8220;The page isn&#8217;t redirecting properly&#8221;. In this guide we explain the causes of the error and how to fix it as a visitor and as a site owner.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_Does_ERR_TOO_MANY_REDIRECTS_Mean\"><\/span>What Does ERR_TOO_MANY_REDIRECTS Mean?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n<p class=\"wp-block-paragraph\">Sites use redirects (usually 301 or 302) to move one address to another, for example to send a visitor who arrives over <code>http:\/\/<\/code> to the <code>https:\/\/<\/code> address. The problem starts when two rules cancel each other out: address A redirects to B, and B redirects back to A. After following this chain a certain number of times (about 20 in Chrome), the browser realizes it is in a loop and stops the request.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Causes_of_the_ERR_TOO_MANY_REDIRECTS_Error\"><\/span>Causes of the ERR_TOO_MANY_REDIRECTS Error<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Cause<\/th><th>How the loop forms<\/th><\/tr><\/thead><tbody><tr><td>Cloudflare &#8220;Flexible&#8221; SSL mode<\/td><td>Cloudflare reaches the server over HTTP, the server redirects to HTTPS, Cloudflare comes back over HTTP again<\/td><\/tr><tr><td>HTTP \u2194 HTTPS rule conflict<\/td><td>One rule redirects to HTTPS while another (a plugin, the panel or a CDN) redirects to HTTP<\/td><\/tr><tr><td>www \u2194 non-www conflict<\/td><td>The server redirects to www while the application redirects to the non-www address<\/td><\/tr><tr><td>WordPress address settings<\/td><td>The WordPress Address and Site Address do not match the address the server redirects to<\/td><\/tr><tr><td>Plugin conflict<\/td><td>SSL, caching or redirect plugins do the same job in opposite directions<\/td><\/tr><tr><td>Broken cookie<\/td><td>An old cookie left in the browser makes the site keep redirecting the visitor<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_to_Fix_ERR_TOO_MANY_REDIRECTS_as_a_Visitor\"><\/span>How to Fix ERR_TOO_MANY_REDIRECTS as a Visitor<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n<p class=\"wp-block-paragraph\">The loop usually comes from the site&#8217;s settings, but old data in the browser can lead to the same result. Try these steps:<\/p>\n\n\n<ol class=\"wp-block-list\"><li><strong>Delete the cookies for that site only:<\/strong> In Chrome, click the site icon in the address bar, delete the site&#8217;s data under <strong>Cookies and site data<\/strong> and reload the page. To clear all browser data, follow the steps in our article on <a href=\"https:\/\/sunucun.com.tr\/blog\/what-is-cookie-cleaning\/\">clearing cookies<\/a>.<\/li><li><strong>Try an incognito window:<\/strong> If the site opens in incognito, the problem is most likely the cookies or an extension.<\/li><li><strong>Turn off extensions:<\/strong> Temporarily disable extensions that force HTTPS, block ads or perform redirects.<\/li><li><strong>Check the date and time:<\/strong> A wrong clock can make session and security cookies count as invalid.<\/li><\/ol>\n\n\n<p class=\"wp-block-paragraph\">If the error continues after these steps and also appears on other devices, the problem is on the site; let the site owner know.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_to_Fix_ERR_TOO_MANY_REDIRECTS_as_a_Site_Owner\"><\/span>How to Fix ERR_TOO_MANY_REDIRECTS as a Site Owner<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"1_See_the_Redirect_Chain\"><\/span>1. See the Redirect Chain<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n<p class=\"wp-block-paragraph\">Seeing which addresses the loop runs between speeds up the fix. On the command line, this command lists the status code and target of each redirect:<\/p>\n\n\n<pre class=\"wp-block-code\"><code>curl -sIL https:\/\/yourdomain.com | grep -iE \"^(HTTP|location)\"<\/code><\/pre>\n\n\n<p class=\"wp-block-paragraph\">If the same two addresses keep repeating in the output, you know the two sides of the loop: for example <code>http<\/code> \u2194 <code>https<\/code>, or <code>www<\/code> \u2194 non-www.<\/p>\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"2_Fix_the_Cloudflare_SSL_Mode\"><\/span>2. Fix the Cloudflare SSL Mode<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n<p class=\"wp-block-paragraph\">On sites behind Cloudflare, the most common cause is the <strong>Flexible<\/strong> SSL mode. In this mode Cloudflare talks to the visitor over HTTPS but to your server over HTTP; because your server redirects HTTP requests to HTTPS, a loop forms. To fix it, make sure your server has a valid SSL certificate and set the <strong>SSL\/TLS<\/strong> mode in the Cloudflare dashboard to <strong>Full (strict)<\/strong>. We explain how Cloudflare works in our article <a href=\"https:\/\/sunucun.com.tr\/blog\/what-is-cloudflare\/\">what is Cloudflare<\/a>.<\/p>\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"3_Check_the_WordPress_Address_Settings\"><\/span>3. Check the WordPress Address Settings<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n<p class=\"wp-block-paragraph\">In WordPress, the <strong>WordPress Address (URL)<\/strong> and <strong>Site Address (URL)<\/strong> under <strong>Settings &gt; General<\/strong> must exactly match the address the site actually opens on, including the https and www choice. If you cannot log in to the dashboard, you can fix these values by adding them to the <code>wp-config.php<\/code> file:<\/p>\n\n\n<pre class=\"wp-block-code\"><code>define('WP_HOME', 'https:\/\/yourdomain.com');\ndefine('WP_SITEURL', 'https:\/\/yourdomain.com');<\/code><\/pre>\n\n\n<p class=\"wp-block-paragraph\">If the site sits behind a reverse proxy or load balancer, WordPress may not recognize that the request is HTTPS. In that case you need to make HTTPS recognized based on the <code>X-Forwarded-Proto<\/code> header the proxy sends.<\/p>\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"4_Disable_Plugins\"><\/span>4. Disable Plugins<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n<p class=\"wp-block-paragraph\">If you cannot reach the dashboard, temporarily rename the <code>wp-content\/plugins<\/code> folder over FTP or the file manager; this turns off all plugins. If the site opens, rename the folder back and activate the plugins one by one to find the one causing the loop. Plugins that force SSL, caching plugins and redirect plugins are the first suspects.<\/p>\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"5_Review_htaccess_and_Server_Redirects\"><\/span>5. Review .htaccess and Server Redirects<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n<p class=\"wp-block-paragraph\">On Apache and LiteSpeed servers, redirect rules usually live in the <code>.htaccess<\/code> file. Make sure there are not several rules doing the same job (for example an HTTPS redirect added both from the panel and by hand). A single, correct rule for HTTPS plus the preferred domain is enough. Also check the &#8220;Force HTTPS&#8221; and redirect settings in cPanel or Plesk; do not define the same redirect both in the panel and in the file.<\/p>\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"6_Clear_the_Caches\"><\/span>6. Clear the Caches<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n<p class=\"wp-block-paragraph\">After fixing the settings, clear the server, plugin and CDN caches. If redirects remain cached, the error can still appear for a while even after the fix.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_It_Relates_to_SSL_Settings\"><\/span>How It Relates to SSL Settings<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n<p class=\"wp-block-paragraph\">ERR_TOO_MANY_REDIRECTS often appears while a site is being moved to HTTPS. When the certificate is not installed correctly, certificate errors appear instead of a loop. For a list of these errors and their fixes, see our guide <a href=\"https:\/\/sunucun.com.tr\/blog\/what-is-an-ssl-error\/\">what is an SSL error<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n<p class=\"wp-block-paragraph\">ERR_TOO_MANY_REDIRECTS shows that two redirect rules have put each other into a loop. For visitors, deleting that site&#8217;s cookies is usually enough. As a site owner, look at the redirect chain first, then check the Cloudflare SSL mode, the WordPress address settings, the plugins and the .htaccess rules one by one.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>ERR_TOO_MANY_REDIRECTS is an error showing that a page keeps sending the browser to another address, which sends it back to the first one; in other words, the browser has entered a redirect loop. Chrome then shows &#8220;This page isn&#8217;t working&#8221; with the message &#8220;\u2026 redirected you too many times&#8221;; in Firefox the same problem appears&hellip;<\/p>\n","protected":false},"author":1,"featured_media":21806,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[1521],"tags":[],"class_list":["post-21803","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-teknoloji"],"_links":{"self":[{"href":"https:\/\/sunucun.com.tr\/blog\/wp-json\/wp\/v2\/posts\/21803","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sunucun.com.tr\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sunucun.com.tr\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sunucun.com.tr\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sunucun.com.tr\/blog\/wp-json\/wp\/v2\/comments?post=21803"}],"version-history":[{"count":0,"href":"https:\/\/sunucun.com.tr\/blog\/wp-json\/wp\/v2\/posts\/21803\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sunucun.com.tr\/blog\/wp-json\/wp\/v2\/media\/21806"}],"wp:attachment":[{"href":"https:\/\/sunucun.com.tr\/blog\/wp-json\/wp\/v2\/media?parent=21803"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sunucun.com.tr\/blog\/wp-json\/wp\/v2\/categories?post=21803"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sunucun.com.tr\/blog\/wp-json\/wp\/v2\/tags?post=21803"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}