{"id":745,"date":"2019-11-15T06:21:36","date_gmt":"2019-11-15T06:21:36","guid":{"rendered":"http:\/\/blog.hostinger.io\/hostinger-tutorials\/uncategorized\/fix-error-too-many-redirects-issue-in-wordpress\/"},"modified":"2025-02-19T10:29:43","modified_gmt":"2025-02-19T10:29:43","slug":"how-to-fix-err-too-many-redirects","status":"publish","type":"post","link":"\/my\/tutorials\/how-to-fix-err-too-many-redirects","title":{"rendered":"What Is the ERR_TOO_MANY_REDIRECTS Error and How to Fix It in WordPress"},"content":{"rendered":"<p><strong>ERR_TOO_MANY_REDIRECTS<\/strong>, also known as a redirect error, indicates your website is caught in an endless cycle, attempting to direct the browser from one page to another without arriving at the intended destination page.<\/p><p>Fortunately, this issue is relatively benign, and you can resolve it using the right approach. This article will present several ways to address the <strong>ERR_TOO_MANY_REDIRECTS<\/strong> error in WordPress, its various causes, and how it looks across different web browsers.<\/p><p class=\"has-text-align-center\"><a href=\"https:\/\/assets.hostinger.com\/content\/tutorials\/pdf\/HTTP-Status-Codes-Cheat-Sheet.pdf\" target=\"_blank\" rel=\"noreferrer noopener\">Download comprehensive HTTP status codes cheat sheet<\/a><\/p><p>\n\n\n\n\n\n\n<figure tabindex=\"0\" class=\"wp-block-table\"><table><tbody><tr><td><strong>Error Code<\/strong><\/td><td>ERR_TOO_MANY_REDIRECTS<\/td><\/tr><tr><td><strong>Error Type<\/strong><\/td><td>Browser error, code error<\/td><\/tr><tr><td><strong>Error Variations<\/strong><\/td><td>This page isn&rsquo;t working. example.com redirected you too many times.<\/td><\/tr><tr><td><\/td><td>This page isn&rsquo;t working right now. example.com redirected you too many times.<\/td><\/tr><tr><td><\/td><td>The page isn&rsquo;t redirecting properly.<\/td><\/tr><tr><td><\/td><td>Safari can&rsquo;t open the page &ndash; Too many redirects occurred trying to open &lsquo;example.com&rsquo;.<\/td><\/tr><tr><td><strong>Error Causes<\/strong><\/td><td>Corrupted cookies or outdated cache<\/td><\/tr><tr><td><\/td><td>Poor website address configuration<\/td><\/tr><tr><td><\/td><td>Problematic WordPress plugins<\/td><\/tr><tr><td><\/td><td>Incorrect server settings<\/td><\/tr><tr><td><\/td><td>Bad HTTPS settings<\/td><\/tr><tr><td><\/td><td>Third-party service issues<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n<div class=\"protip\">\n                    <h2 class=\"featured-snippet title\">What Is ERR_TOO_MANY_REDIRECTS?<\/h2>\n                    <p> ERR_TOO_MANY_REDIRECTS is a common browser error showing that a website is stuck in an infinite redirection loop, where the browser is directed from one page to another without reaching a destination.<\/p>\n                <\/div>\n\n\n\n<\/p><h3 class=\"wp-block-heading\" id=\"h-what-causes-err-too-many-redirects\">What Causes ERR_TOO_MANY_REDIRECTS?<\/h3><p>Here are the most common causes of <strong>ERR_TOO_MANY_REDIRECTS<\/strong>:<\/p><ul class=\"wp-block-list\">\n<li><strong>Corrupted browser cookies or outdated cache.<\/strong> Problems persist in the user&rsquo;s browser, such as corrupted cookies or outdated cache data, causing continuous redirects.<\/li>\n\n\n\n<li><strong>Misconfigured WordPress address.<\/strong> Incorrect settings in the WordPress URL configuration can lead to this error.<\/li>\n\n\n\n<li><strong>Faulty WordPress plugins.<\/strong> Plugin conflicts or issues with installed plugins, particularly those managing redirects or security, can trigger an endless redirection loop.<\/li>\n\n\n\n<li><strong>Misconfigured server settings.<\/strong> Incorrect web server redirect settings, particularly in Apache&rsquo;s<strong> .htaccess<\/strong> file or the NGINX config file, can cause redirect loops.<\/li>\n\n\n\n<li><strong>Incorrect HTTPS redirect rules.<\/strong> Misconfigured redirects in HTTPS can cause this error, especially if there&rsquo;s a mismatch between secured and unsecured content.<\/li>\n\n\n\n<li><strong>Issues with third-party services.<\/strong> External factors, such as DNS redirection issues or misconfigured CDN SSL\/TLS settings, can also contribute to this error.<\/li>\n<\/ul><h2 class=\"wp-block-heading\" id=\"h-how-does-err-too-many-redirects-look-like-on-different-browsers\">How Does ERR_TOO_MANY_REDIRECTS Look Like On Different Browsers<\/h2><p>Here&rsquo;s how the <strong>ERR_TOO_MANY_REDIRECTS <\/strong>error message looks across different browsers.<\/p><p><strong>Google Chrome<\/strong><\/p><p>Chrome displays a message stating, <strong>&ldquo;This page isn&rsquo;t working. example.com redirected you too many times&rdquo;<\/strong> highlighting a redirect loop error. The browser often suggests actions to fix this, confirming the redirection problem.<\/p><div class=\"wp-block-image\">\n<figure data-wp-context='{\"imageId\":\"69ee8c0654bae\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-full wp-lightbox-container\"><img decoding=\"async\" width=\"1024\" height=\"472\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/05\/chrome-err-too-many-redirects-message.png\" alt=\"A redirection error message on Chrome\" class=\"wp-image-109365\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/chrome-err-too-many-redirects-message.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/chrome-err-too-many-redirects-message-300x138.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/chrome-err-too-many-redirects-message-150x69.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/chrome-err-too-many-redirects-message-768x354.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><p><strong>Mozilla Firefox<\/strong><\/p><p>Firefox warns its users with the <strong>&ldquo;The page isn&rsquo;t redirecting properly. Firefox has detected that the server is redirecting the request for this address in a way that will never complete<\/strong>&rdquo; message indicating an endless redirection cycle.<\/p><div class=\"wp-block-image\">\n<figure data-wp-context='{\"imageId\":\"69ee8c0657412\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-full wp-lightbox-container\"><img decoding=\"async\" width=\"1024\" height=\"402\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/05\/firefox-err-too-many-redirects-message-1.png\" alt=\"A redirection error message on Firefox\" class=\"wp-image-109367\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/firefox-err-too-many-redirects-message-1.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/firefox-err-too-many-redirects-message-1-300x118.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/firefox-err-too-many-redirects-message-1-150x59.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/firefox-err-too-many-redirects-message-1-768x302.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><p><strong>Safari<\/strong><\/p><p>In the Safari browser, the warning is <strong>&ldquo;Safari can&rsquo;t open the page &#8210; Too many redirects occurred trying to open &lsquo;example.com.'&rdquo;<\/strong> This implies a loop where a page redirects to another, which redirects back, creating an infinite loop.<\/p><div class=\"wp-block-image\">\n<figure data-wp-context='{\"imageId\":\"69ee8c0659d48\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-full wp-lightbox-container\"><img decoding=\"async\" width=\"1024\" height=\"371\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/05\/safari-err-too-many-redirects-message.png\" alt=\"A redirection error message on Safari\" class=\"wp-image-109368\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/safari-err-too-many-redirects-message.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/safari-err-too-many-redirects-message-300x109.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/safari-err-too-many-redirects-message-150x54.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/safari-err-too-many-redirects-message-768x278.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><p>These browser-specific redirect issues help you identify and understand the nature of the <strong>ERR_TOO_MANY_REDIRECTS<\/strong> happening on your site.<\/p><h2 class=\"wp-block-heading\" id=\"h-how-to-fix-err-too-many-redirects\">How to Fix ERR_TOO_MANY_REDIRECTS<\/h2><p>Here are seven troubleshooting steps to fix the <strong>ERR_TOO_MANY_REDIRECTS<\/strong> issue in WordPress. We recommend trying each individually to identify the root cause of the redirect loop. Remember to track your changes so you can revert them if necessary.<\/p><h3 class=\"wp-block-heading\" id=\"h-1-clear-browser-data\">1. Clear Browser Data<\/h3><p>Browser data sometimes stores corrupted cookies and an outdated cache, leading to the <strong>ERR_TOO_MANY_REDIRECTS<\/strong> error. Before making further changes to your WordPress site, it&rsquo;s wise to see if your browser is causing the issue by deleting its data history.<\/p><p>Here&rsquo;s <a href=\"\/my\/tutorials\/clear-browser-cache\">how to clear browser data<\/a> in Chrome:<\/p><ol class=\"wp-block-list\">\n<li>Open Chrome and click the <strong>three vertical dots<\/strong> in the upper-right corner.<\/li>\n\n\n\n<li>Navigate to <strong>Settings &rarr; Advanced<\/strong> &rarr; <strong>Clear browsing data<\/strong>.<\/li>\n\n\n\n<li>In the clear browsing data window, make sure to select <strong>Cookies and other site data<\/strong> and <strong>Cached images and files<\/strong>.<\/li>\n<\/ol><div class=\"wp-block-image\">\n<figure data-wp-context='{\"imageId\":\"69ee8c065c8b2\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-full wp-lightbox-container\"><img decoding=\"async\" width=\"1024\" height=\"671\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/05\/chrome-clear-browsing-data.png\" alt=\"Clearing cache and cookies on Chrome\" class=\"wp-image-109369\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/chrome-clear-browsing-data.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/chrome-clear-browsing-data-300x197.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/chrome-clear-browsing-data-150x98.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/chrome-clear-browsing-data-768x503.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><ol start=\"4\" class=\"wp-block-list\">\n<li>Click <strong>Clear data <\/strong>to delete cookies, cache, and other junk files.<\/li>\n<\/ol><p>Please note that the steps for clearing cache and cookies in other browsers, such as Microsoft Edge, should be similar, though specific menus and options might vary slightly.<\/p><p>If the redirect error persists, then your browser extensions could be the culprits. Some extensions can interfere with web page loading and interactions. Disabling them one by one can help identify if a browser extension is causing the browser redirection error.<\/p><h3 class=\"wp-block-heading\" id=\"h-2-verify-the-wordpress-url-settings\">2. Verify the WordPress URL Settings<\/h3><p>If the previous troubleshooting method was unsuccessful, the next step is to check your WordPress URL for the correct configuration.<\/p><p>An infinite redirect loop problem often arises when web admins accidentally direct their site to the wrong domain when migrating WordPress hosts or changing domain names.<\/p><p>To verify your website URL settings, you can proceed manually, through the database, or via the WordPress admin dashboard.<\/p><p><strong>Checking and Changing URL Settings Manually<\/strong><\/p><p>If you encounter the &ldquo;too many redirects&rdquo; error and cannot access your WordPress admin area, you may need to adjust your URL settings manually. Ensure your WordPress host allows editing the <a href=\"\/my\/tutorials\/wp-config-php\">wp-config.php<\/a> file, either through a <strong>File Manager<\/strong> or an FTP client like <strong>FileZilla<\/strong>.<\/p><p>Here&rsquo;s how to edit <strong>wp-config.php<\/strong> using <a href=\"\/my\/tutorials\/how-to-use-hostinger-file-manager\">Hostinger&rsquo;s File Manager<\/a>:<\/p><ol class=\"wp-block-list\">\n<li>Log in to <a href=\"\/my\/tutorials\/hpanel-tutorial\">hPanel<\/a> and navigate to <strong>Files &rarr; File Manager<\/strong>.<\/li>\n\n\n\n<li>Locate the <strong>wp-config.php<\/strong> file in the <strong>public_html<\/strong> directory, <strong>right-click<\/strong> it, and select <strong>Edit<\/strong>.<\/li>\n<\/ol><div class=\"wp-block-image\">\n<figure data-wp-context='{\"imageId\":\"69ee8c065f584\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-full wp-lightbox-container\"><img decoding=\"async\" width=\"1024\" height=\"377\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/05\/hpanel-file-manager-wp-config-php-edit-highlighted.png\" alt=\"Editing wp-config.php using Hostinger's File Manager\" class=\"wp-image-109371\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/hpanel-file-manager-wp-config-php-edit-highlighted.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/hpanel-file-manager-wp-config-php-edit-highlighted-300x110.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/hpanel-file-manager-wp-config-php-edit-highlighted-150x55.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/hpanel-file-manager-wp-config-php-edit-highlighted-768x283.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><ol start=\"3\" class=\"wp-block-list\">\n<li>Insert the following lines into the file, replacing <strong>http:\/\/example.com<\/strong> with your actual domain name:<\/li>\n<\/ol><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">define('WP_HOME','http:\/\/example.com');\n\ndefine('WP_SITEURL','http:\/\/example.com');<\/pre><ol start=\"4\" class=\"wp-block-list\">\n<li>Save the changes and visit your site to see if the URL adjustment has resolved the WordPress <strong>ERR_TOO_MANY_REDIRECTS<\/strong> error.<\/li>\n<\/ol><?xml encoding=\"utf-8\" ?><figure class=\"wp-block-image size-large\"><a href=\"\/my\/wordpress-hosting\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" width=\"1024\" height=\"300\" src=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/06\/New-WP_in-text-banner-1024x300.png\" alt=\"\" class=\"wp-image-111781\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/06\/New-WP_in-text-banner-1024x300.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/06\/New-WP_in-text-banner-300x88.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/06\/New-WP_in-text-banner-150x44.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/06\/New-WP_in-text-banner-768x225.png 768w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/06\/New-WP_in-text-banner-1536x450.png 1536w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/06\/New-WP_in-text-banner.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><p><strong>Edit URL Settings via Database<\/strong><\/p><p>To fix redirect issues, you can also <a href=\"\/my\/tutorials\/wordpress\/how-to-change-wordpress-urls-in-mysql-database-using-phpmyadmin\">modify the WordPress URLs in the MySQL database via phpMyAdmin<\/a>. Follow these steps:<\/p><ol class=\"wp-block-list\">\n<li>Find your WordPress database name from the <strong>wp-config.php<\/strong> file.<\/li>\n<\/ol><div class=\"wp-block-image\">\n<figure data-wp-context='{\"imageId\":\"69ee8c06630e8\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-full wp-lightbox-container\"><img decoding=\"async\" width=\"954\" height=\"333\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/05\/hpanel-file-manager-wp-config-php-db-name-highlighted.png\" alt=\"Finding the database name from wp-config.php\" class=\"wp-image-109372\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/hpanel-file-manager-wp-config-php-db-name-highlighted.png 954w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/hpanel-file-manager-wp-config-php-db-name-highlighted-300x105.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/hpanel-file-manager-wp-config-php-db-name-highlighted-150x52.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/hpanel-file-manager-wp-config-php-db-name-highlighted-768x268.png 768w\" sizes=\"(max-width: 954px) 100vw, 954px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><ol start=\"2\" class=\"wp-block-list\">\n<li>Log in to hPanel and go to <strong>Databases &rarr; phpMyAdmin<\/strong>. Click <strong>Enter phpMyAdmin<\/strong> next to your <a href=\"\/my\/tutorials\/wordpress-database\">WordPress database<\/a>.<\/li>\n\n\n\n<li>In <strong>phpMyAdmin<\/strong>, open the <strong>wp-options<\/strong> table by <strong>double-clicking<\/strong> it.<\/li>\n<\/ol><div class=\"wp-block-image\">\n<figure data-wp-context='{\"imageId\":\"69ee8c066593d\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-full wp-lightbox-container\"><img decoding=\"async\" width=\"949\" height=\"829\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/05\/hpanel-phpmyadmin-wp-options-highlighted.png\" alt=\"Opening the wp_options table on phpMyAdmin\" class=\"wp-image-109373\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/hpanel-phpmyadmin-wp-options-highlighted.png 949w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/hpanel-phpmyadmin-wp-options-highlighted-300x262.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/hpanel-phpmyadmin-wp-options-highlighted-150x131.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/hpanel-phpmyadmin-wp-options-highlighted-768x671.png 768w\" sizes=\"(max-width: 949px) 100vw, 949px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><ol start=\"4\" class=\"wp-block-list\">\n<li>Within the <strong>wp-options<\/strong> table, locate the <strong>siteurl <\/strong>and <strong>home <\/strong>entries. Click <strong>Edit<\/strong> next to each.<\/li>\n<\/ol><div class=\"wp-block-image\">\n<figure data-wp-context='{\"imageId\":\"69ee8c066839e\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-large wp-lightbox-container\"><img decoding=\"async\" width=\"1024\" height=\"414\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/05\/hpanel-phpmyadmin-wp-options-edit-highlighted-1024x414.png\" alt=\"Editing both siteurl and home's option value on phpMyAdmin\" class=\"wp-image-109375\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/hpanel-phpmyadmin-wp-options-edit-highlighted-1024x414.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/hpanel-phpmyadmin-wp-options-edit-highlighted-300x121.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/hpanel-phpmyadmin-wp-options-edit-highlighted-150x61.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/hpanel-phpmyadmin-wp-options-edit-highlighted-768x310.png 768w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/hpanel-phpmyadmin-wp-options-edit-highlighted.png 1346w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><ol start=\"5\" class=\"wp-block-list\">\n<li>Input your correct WordPress site URL in the <strong>option_value<\/strong> field for both entries. Click <strong>Go<\/strong> to save changes.<\/li>\n<\/ol><p>Remember, if your website is in the default root folder (<strong>\/public_html\/<\/strong>), use the standard URL (<strong>http:\/\/example.com\/<\/strong>).<\/p><p>If it&rsquo;s in a subfolder like <strong>\/wp\/<\/strong>, then change the URL to <strong>http:\/\/example.com\/wp<\/strong>.<\/p><p><strong>Changing URL Settings via Administrator Dashboard<\/strong><\/p><p>If you have access to your WordPress admin area, you can change the URL settings directly from the dashboard. Here&rsquo;s how:<\/p><ol class=\"wp-block-list\">\n<li>From your WordPress admin dashboard, go to <strong>Settings &rarr; General<\/strong>.<\/li>\n\n\n\n<li>Review the <strong>WordPress Address (URL)<\/strong> and<strong> Site Address (URL) <\/strong>in the default settings.<\/li>\n<\/ol><div class=\"wp-block-image\">\n<figure data-wp-context='{\"imageId\":\"69ee8c066addf\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-full wp-lightbox-container\"><img decoding=\"async\" width=\"1024\" height=\"369\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/05\/wordpress-dashboard-general-settings-url-highlighted.png\" alt=\"Checking WordPress Address and Site Address on the admin dashboard\" class=\"wp-image-109376\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/wordpress-dashboard-general-settings-url-highlighted.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/wordpress-dashboard-general-settings-url-highlighted-300x108.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/wordpress-dashboard-general-settings-url-highlighted-150x54.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/wordpress-dashboard-general-settings-url-highlighted-768x277.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><ol start=\"3\" class=\"wp-block-list\">\n<li>Ensure both URLs are correctly configured. Remember to save any changes you make.<\/li>\n<\/ol><h3 class=\"wp-block-heading\" id=\"h-3-deleting-wordpress-cache\">3. Deleting WordPress Cache<\/h3><p>Besides web browsers, your site can also accumulate a corrupted cache, potentially leading to the <strong>ERR_TOO_MANY_REDIRECTS<\/strong> error. Here&rsquo;s how to clear your website&rsquo;s cache using Hostinger&rsquo;s automatic cache feature and various popular caching plugins:<\/p><p><strong>1. Enable Automatic Cache<\/strong><\/p><p>If you&rsquo;re a Hostinger customer, you can use our automatic cache feature. Designed primarily to bypass PHP requests and render web pages quickly, it also clears the cache every <strong>30 minutes<\/strong>, which can help resolve redirect errors.<\/p><p>To enable this option, go to <strong>Advanced &rarr; Cache Manager<\/strong> in your hPanel dashboard. Then, toggle the <strong>Automatic Cache<\/strong> option to activate it.<\/p><div class=\"wp-block-image\">\n<figure data-wp-context='{\"imageId\":\"69ee8c066d69d\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-large wp-lightbox-container\"><img decoding=\"async\" width=\"1024\" height=\"320\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/05\/hpanel-websites-advanced-cache-manager-automatic-cache-highlighted-1024x320.png\" alt=\"Enabling Automatic Cache on hPanel\" class=\"wp-image-109377\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/hpanel-websites-advanced-cache-manager-automatic-cache-highlighted-1024x320.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/hpanel-websites-advanced-cache-manager-automatic-cache-highlighted-300x94.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/hpanel-websites-advanced-cache-manager-automatic-cache-highlighted-150x47.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/hpanel-websites-advanced-cache-manager-automatic-cache-highlighted-768x240.png 768w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/hpanel-websites-advanced-cache-manager-automatic-cache-highlighted.png 1443w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><p>Once activated, the feature will work automatically. If needed, you can manually delete your website&rsquo;s cache by clicking <strong>Purge All<\/strong>.<\/p><p><strong>2. Using the WP Fastest Cache Plugin<\/strong><\/p><p><a href=\"https:\/\/wordpress.org\/plugins\/wp-fastest-cache\" target=\"_blank\" rel=\"noopener\">WP Fastest Cache&rsquo;s<\/a> free version provides a sufficient caching feature to help you <a href=\"\/my\/tutorials\/wordpress\/how-to-clear-wordpress-cache\">clear the WordPress cache<\/a>. Follow these steps to use it:<\/p><ol class=\"wp-block-list\">\n<li>Ensure the plugin is installed. If not, navigate to <strong>Plugins &rarr; Add New<\/strong> and search for <strong>WP Fastest Cache<\/strong>. Then, click <strong>Install Now &rarr; Activate<\/strong>.<\/li>\n\n\n\n<li>Once activated, go to the<strong> WP Fastest Cache <\/strong>menu from your left sidebar.<\/li>\n\n\n\n<li>In the <strong>Delete Cache<\/strong> tab, choose either <strong>Delete Cache<\/strong> or <strong>Delete Cache and Minified CSS\/JS<\/strong>.<\/li>\n<\/ol><div class=\"wp-block-image\">\n<figure data-wp-context='{\"imageId\":\"69ee8c067011b\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-full wp-lightbox-container\"><img decoding=\"async\" width=\"1005\" height=\"841\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/05\/wordpress-dashboard-wp-fastest-cache-delete-cache.png\" alt=\"Deleting cache on the WP Fastest Cache plugin\" class=\"wp-image-109379\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/wordpress-dashboard-wp-fastest-cache-delete-cache.png 1005w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/wordpress-dashboard-wp-fastest-cache-delete-cache-300x251.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/wordpress-dashboard-wp-fastest-cache-delete-cache-150x126.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/wordpress-dashboard-wp-fastest-cache-delete-cache-768x643.png 768w\" sizes=\"(max-width: 1005px) 100vw, 1005px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><p><strong>3. Using the WP Rocket Plugin<\/strong><\/p><p><a href=\"https:\/\/wp-rocket.me\" target=\"_blank\" rel=\"noopener\">WP Rocket<\/a> is a premium plugin that offers comprehensive caching methods, database optimization, and lazy loading to speed up your WordPress website. It also allows you to clear the website cache. Here are the steps:<\/p><ol class=\"wp-block-list\">\n<li>After purchasing WP Rocket, download this <a href=\"\/my\/tutorials\/wordpress-cache-plugin\">caching plugin<\/a> to your computer.<\/li>\n\n\n\n<li>Access your WordPress dashboard, go to <strong>Plugins &rarr; Add New Plugin &rarr; Upload Plugin<\/strong>, and install WP Rocket manually.<\/li>\n\n\n\n<li>Once installed, navigate to <strong>Settings &rarr; WP Rocket<\/strong>.<\/li>\n\n\n\n<li>Under <strong>Quick Actions<\/strong>, click <strong>Clear Cache<\/strong> to eliminate all cached files, including page, object, and server cache.<\/li>\n<\/ol><h3 class=\"wp-block-heading\" id=\"h-4-deactivate-and-test-wordpress-plugins-and-themes\">4. Deactivate and Test WordPress Plugins and Themes<\/h3><p>As the leading content management system, WordPress offers numerous plugins and themes to enhance your site&rsquo;s functionality and aesthetics. Yet, installing problematic plugins can trigger the <strong>ERR_TOO_MANY_REDIRECTS <\/strong>error.<\/p><p>Moreover, using a WordPress redirection plugin for custom redirects may cause conflict with the server&rsquo;s redirection rules configuration, potentially creating an endless loop.<\/p><p>To identify if a specific plugin is causing the issue, temporarily disable them via the WordPress dashboard&rsquo;s bulk actions dropdown menu under <strong>Plugins<\/strong>, through your host&rsquo;s File Manager, or using the <a href=\"\/my\/tutorials\/ftp\/filezilla-ftp-configuration\">FileZilla FTP client<\/a>.<\/p><p>Here, we&rsquo;ll use the latter:<\/p><ol class=\"wp-block-list\">\n<li>Launch FileZilla on your computer and connect to your server.<\/li>\n\n\n\n<li>Once logged in, access the <strong>Remote Site <\/strong>panel. Then, go to <strong>public_html &rarr; wp_content<\/strong> and locate the <strong>Plugins<\/strong> folder.<\/li>\n<\/ol><div class=\"wp-block-image\">\n<figure data-wp-context='{\"imageId\":\"69ee8c0672a6b\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-full wp-lightbox-container\"><img decoding=\"async\" width=\"505\" height=\"479\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/05\/filezilla-remote-site-wp-content-plugins-highlighted.png\" alt=\"Locating the plugins directory via FileZilla\" class=\"wp-image-109380\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/filezilla-remote-site-wp-content-plugins-highlighted.png 505w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/filezilla-remote-site-wp-content-plugins-highlighted-300x285.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/filezilla-remote-site-wp-content-plugins-highlighted-150x142.png 150w\" sizes=\"(max-width: 505px) 100vw, 505px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><ol start=\"3\" class=\"wp-block-list\">\n<li><strong>Right-click<\/strong> the folder and rename it to <strong>plugins_backup<\/strong>. Then, try accessing your website. If the error message no longer appears, then one or more active plugins are corrupted or outdated.<\/li>\n\n\n\n<li>Rename the folder back to <strong>Plugins<\/strong> and individually troubleshoot each plugin folder to find the problematic one. We recommend starting with the most recently installed plugin.<\/li>\n<\/ol><div class=\"wp-block-image\">\n<figure data-wp-context='{\"imageId\":\"69ee8c06751e9\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-full wp-lightbox-container\"><img decoding=\"async\" width=\"505\" height=\"722\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/05\/filezilla-remote-site-wp-content-plugins-last-modified-selected-min.png\" alt=\"Locating the plugins directory via FileZilla\" class=\"wp-image-109381\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/filezilla-remote-site-wp-content-plugins-last-modified-selected-min.png 505w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/filezilla-remote-site-wp-content-plugins-last-modified-selected-min-210x300.png 210w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/filezilla-remote-site-wp-content-plugins-last-modified-selected-min-105x150.png 105w\" sizes=\"(max-width: 505px) 100vw, 505px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><h3 class=\"wp-block-heading\" id=\"h-5-verifying-the-htaccess-file-and-server-configuration\">5. Verifying the .htaccess File and Server Configuration<\/h3><p>Redirect loops can sometimes originate from issues within the <a href=\"\/my\/tutorials\/create-default-wordpress-htaccess-file\">WordPress .htaccess file<\/a>, which contains permalink rules and may include custom configurations. If you suspect this file is causing problems, you can temporarily deactivate it to regain site access.<\/p><p>Remember, always back up the <strong>.htaccess<\/strong> file before disabling or making changes, ensuring you can restore the original settings if necessary.<\/p><p>Here&rsquo;s how to manage <strong>.htaccess<\/strong> with Hostinger&rsquo;s <strong>File Manager:<\/strong><\/p><ol class=\"wp-block-list\">\n<li>Access the hPanel dashboard and select <strong>File Manager<\/strong>.<\/li>\n<\/ol><div class=\"wp-block-image\">\n<figure data-wp-context='{\"imageId\":\"69ee8c0677e58\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-large wp-lightbox-container\"><img decoding=\"async\" width=\"1024\" height=\"614\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/05\/hpanel-websites-file-manager-highlighted-1024x614.png\" alt=\"Accessing File Manager via the hPanel dashboard\" class=\"wp-image-109382\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/hpanel-websites-file-manager-highlighted-1024x614.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/hpanel-websites-file-manager-highlighted-300x180.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/hpanel-websites-file-manager-highlighted-150x90.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/hpanel-websites-file-manager-highlighted-768x461.png 768w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/hpanel-websites-file-manager-highlighted.png 1277w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><ol start=\"2\" class=\"wp-block-list\">\n<li><a href=\"\/my\/tutorials\/locate-and-create-htaccess\">Locate your .htaccess file<\/a> within <strong>public_html<\/strong>.<\/li>\n\n\n\n<li><strong>Right-click<\/strong> the file and select <strong>Rename<\/strong>. Use <strong>.htaccess_disabled<\/strong> as the new name to turn it off.<\/li>\n<\/ol><div class=\"wp-block-image\">\n<figure data-wp-context='{\"imageId\":\"69ee8c067a915\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-full wp-lightbox-container\"><img decoding=\"async\" width=\"1024\" height=\"396\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/05\/hpanel-file-manager-htaccess-rename-highlighted-1.png\" alt=\"Renaming .htaccess using Hostinger's File Manager\" class=\"wp-image-109383\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/hpanel-file-manager-htaccess-rename-highlighted-1.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/hpanel-file-manager-htaccess-rename-highlighted-1-300x116.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/hpanel-file-manager-htaccess-rename-highlighted-1-150x58.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/hpanel-file-manager-htaccess-rename-highlighted-1-768x297.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><ol start=\"4\" class=\"wp-block-list\">\n<li>Check if your website now loads correctly.<\/li>\n\n\n\n<li>If this action resolves the issue, the file may have misconfigurations. To edit, <strong>right-click<\/strong> the renamed file and select <strong>Edit<\/strong>. The default configuration typically looks like this:<\/li>\n<\/ol><pre class=\"wp-block-preformatted\"># BEGIN WordPress<br><br>&lt;IfModule mod_rewrite.c&gt;<br><br>RewriteEngine On<br><br>RewriteBase \/<br><br>RewriteRule ^index.php$ - [L]<br><br>RewriteCond %{REQUEST_FILENAME} !-f<br><br>RewriteCond %{REQUEST_FILENAME} !-d<br><br>RewriteRule . \/index.php [L]<br><br>&lt;\/IfModule&gt;<br><br># END WordPress<\/pre><div class=\"wp-block-image\">\n<figure data-wp-context='{\"imageId\":\"69ee8c067d3c5\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-full wp-lightbox-container\"><img decoding=\"async\" width=\"1024\" height=\"222\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/05\/hpanel-file-manager-htaccess-editor.png\" alt=\".htaccess' default configuration\" class=\"wp-image-109385\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/hpanel-file-manager-htaccess-editor.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/hpanel-file-manager-htaccess-editor-300x65.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/hpanel-file-manager-htaccess-editor-150x33.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/hpanel-file-manager-htaccess-editor-768x167.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><p>After making necessary edits or restoring the default settings, rename the file back to <strong>.htaccess<\/strong>. This should correct the <strong>.htaccess<\/strong> redirect loop.<\/p><p>This approach is applicable for hosts using LiteSpeed or Apache web servers, as they utilize <strong>.htaccess<\/strong>.<\/p><p>If your hosting service uses NGINX, the configuration file will differ. We recommend you consult with your server administrator or hosting provider for the correct configurations.<\/p><h3 class=\"wp-block-heading\" id=\"h-6-check-your-https-settings\">6. Check Your HTTPS Settings<\/h3><p>Ensure that your website&rsquo;s HTTPS settings are correctly configured to avoid the <strong>ERR_TOO_MANY_REDIRECTS<\/strong> error. Incorrect HTTPS configuration can lead to many issues that disrupt site access.<\/p><p><strong>Mixed Content Redirection<\/strong><\/p><p>When your site is secured with HTTPS but loads partial content, like images, scripts, or stylesheets, over HTTP, it results in mixed content. This prompts browsers to block insecure content or attempt to solve the issue by redirecting, which may lead to errors.<\/p><p>Utilizing the <a href=\"https:\/\/www.redirectmapper.com\" target=\"_blank\" rel=\"noopener\">Redirect Mapper<\/a> tool can help identify and correct these mixed content links, ensuring all resources are loaded over HTTPS.<\/p><p><strong>HTTP to HTTPS Redirection<\/strong><\/p><p>Redirecting all HTTP traffic to HTTPS is a common practice to secure connections. You can manage this through WordPress settings or specific<strong> .htaccess<\/strong> file rules. However, an incorrect HTTPS redirection setup can lead to infinite loops.<\/p><p>It&rsquo;s important to verify that your<strong> .htaccess<\/strong> file or WordPress settings are enforcing SSL to force HTTPS, preventing circular redirects.<\/p><p><strong>SSL Certificate Validation and Renewal<\/strong><\/p><p>A valid and active SSL certificate is crucial for HTTPS redirects. Make sure your SSL certificate is installed correctly, validated, and regularly renewed on your hosting server.<\/p><p>Most providers will notify you when SSL renewal is ready. An expired SSL certificate can result in security warnings and redirection issues as browsers try to establish a secure connection.<\/p><h3 class=\"wp-block-heading\" id=\"h-7-inspect-your-cdn-configuration\">7. Inspect Your CDN Configuration<\/h3><p>Another potential cause of redirect loop errors could be the settings of third-party services, such as <a href=\"\/my\/tutorials\/what-is-cdn\">content delivery networks (CDNs)<\/a>.<\/p><p>While CDNs enhance website load speeds by distributing content across servers globally, specific SSL\/TLS encryption mode settings might inadvertently lead to redirection issues.<\/p><p><strong>Managing Redirection in Cloudflare<\/strong><\/p><p>To determine if Cloudflare might be contributing to the redirect loop, you can:<\/p><ol class=\"wp-block-list\">\n<li>Log in to your <a href=\"https:\/\/dash.cloudflare.com\" target=\"_blank\" rel=\"noopener\">Cloudflare dashboard<\/a> and select your website.<\/li>\n\n\n\n<li>Go to the <strong>Overview<\/strong> tab.<\/li>\n<\/ol><div class=\"wp-block-image\">\n<figure data-wp-context='{\"imageId\":\"69ee8c06801c7\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-full wp-lightbox-container\"><img decoding=\"async\" width=\"1024\" height=\"469\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/05\/cloudflare-overview.png\" alt=\"Accessing Overview on the Cloudflare dashboard\" class=\"wp-image-109386\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/cloudflare-overview.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/cloudflare-overview-300x137.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/cloudflare-overview-150x69.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/cloudflare-overview-768x352.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><ol start=\"3\" class=\"wp-block-list\">\n<li>In the <strong>Advanced Actions<\/strong> section, choose <strong>Pause Cloudflare on Site<\/strong>. This temporarily suspends Cloudflare&rsquo;s features, allowing you to see if the issue remains without it.<\/li>\n<\/ol><div class=\"wp-block-image\">\n<figure data-wp-context='{\"imageId\":\"69ee8c0682aef\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-full wp-lightbox-container\"><img decoding=\"async\" width=\"1024\" height=\"457\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/05\/cloudflare-advanced-actions-pause-cloudflare-on-site-highlighted.png\" alt=\"Pausing Cloudflare on the WordPress site\" class=\"wp-image-109387\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/cloudflare-advanced-actions-pause-cloudflare-on-site-highlighted.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/cloudflare-advanced-actions-pause-cloudflare-on-site-highlighted-300x134.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/cloudflare-advanced-actions-pause-cloudflare-on-site-highlighted-150x67.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/05\/cloudflare-advanced-actions-pause-cloudflare-on-site-highlighted-768x343.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><p><strong>Fixing Cloudflare SSL\/TLS Settings<\/strong><\/p><p>Cloudflare&rsquo;s SSL\/TLS encryption mode is pivotal in managing requests between the CDN and your WordPress site.<\/p><p>However, setting Cloudflare&rsquo;s SSL mode to <strong>Flexible<\/strong> can create issues by prompting Cloudflare to send unencrypted requests to your server. If your site has HTTP to HTTPS redirect configurations enabled, this may cause endless redirects.<\/p><p>To prevent this, adjust Cloudflare&rsquo;s SSL settings to <strong>Full<\/strong> or <strong>Full (strict)<\/strong> when you have a valid SSL certificate on your server. This ensures the connection between Cloudflare and your server complies with your site&rsquo;s HTTPS redirection rules.<\/p><p><strong>Verifying DNS Configuration<\/strong><\/p><p>Improper DNS configurations can trigger <strong>ERR_TOO_MANY_REDIRECTS<\/strong> errors, especially concerning the <strong>www <\/strong>and <strong>non-www<\/strong> versions of your site. Verify that your DNS records in Cloudflare or any CDN accurately point to your server without causing unintended redirects.<\/p><p>After adjusting these third-party service settings, we suggest you delete your site&rsquo;s cache again.<\/p><h2 class=\"wp-block-heading\" id=\"h-fixing-err-too-many-redirects-video-tutorial\">Fixing ERR_TOO_MANY_REDIRECTS &ndash; Video Tutorial<\/h2><p>Watch our video tutorial for a visual guide on fixing infinite redirects.<\/p><figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"How to Fix ERR_TOO_MANY_REDIRECTS on WordPress\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/JxqMOIiu9zI?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure><p>\n\n\n\n  <div class=\"youtube-shortcode\">\n    <div class=\"row\">\n      <div class=\"col-7 col-sm-8 d-flex align-items-center\">\n        <img decoding=\"async\" class=\"channel-logo\" src=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/themes\/tutorialsthemeuplift\/public\/images\/youtube-channels\/hostinger-academy.jpg\" alt=\"youtube channel logo\">\n        <div class=\"d-flex flex-column justify-content-between\">\n          <span class=\"slogan d-none d-sm-block\">Subscribe For more educational videos!<\/span>\n          <span class=\"channel-name\">Hostinger Academy<\/span>\n                    <\/div>\n      <\/div>\n      <div class=\"col-5 col-sm-4 d-flex align-items-center justify-content-end\">\n          <a class=\"subscribe-button\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"http:\/\/www.youtube.com\/channel\/UCbNIC-svDbtUOH2qsLnPQPg?sub_confirmation=1\">\n            <img decoding=\"async\" src=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/themes\/tutorialsthemeuplift\/public\/images\/icons\/youtube.svg\" alt=\"subscribe\">\n            <span>Subscribe<\/span>\n          <\/a>\n      <\/div>\n    <\/div>\n  <\/div>\n\n    \n\n\n\n<\/p><h2 class=\"wp-block-heading\" id=\"h-conclusion\">Conclusion<\/h2><p>In this guide, we&rsquo;ve covered multiple strategies for resolving redirection issues that can negatively impact user experience and require website maintenance. From clearing the browser cache to examining CDN settings, each step ensures seamless site functionality.<\/p><p>By applying these solutions, you can effectively address and prevent the <strong>ERR_TOO_MANY_REDIRECTS<\/strong> error. If you have questions or additional methods to suggest, please feel free to contribute in the comments section below.<\/p><h2 class=\"wp-block-heading\" id=\"h-err-too-many-redirects-faq\">ERR_TOO_MANY_REDIRECTS FAQ<\/h2><p>This section will answer the most common questions about fixing the ERR_TOO_MANY_REDIRECTS error in WordPress sites.<\/p><div class=\"schema-faq wp-block-yoast-faq-block\"><div class=\"schema-faq-section\" id=\"faq-question-1715250418102\"><h3 class=\"schema-faq-question\">Why Is My URL Redirected Too Many Times?<\/h3> <p class=\"schema-faq-answer\">Your URL might be redirected too many times due to redirect chains, where one URL leads to another and so on, creating a loop. To prevent this, ensure there are direct paths from the original URL to the final destination, thereby avoiding redirect chains.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1715250424643\"><h3 class=\"schema-faq-question\">How Can I Prevent an ERR_TOO_MANY_REDIRECTS Error?<\/h3> <p class=\"schema-faq-answer\">You can prevent the <strong>ERR_TOO_MANY_REDIRECTS<\/strong> error by regularly debugging redirects and analyzing server log files for anomalies. Ensure your site&rsquo;s <strong>.htaccess<\/strong> file, redirection plugins, and server settings are correctly configured to maintain smooth navigation.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1715250431527\"><h3 class=\"schema-faq-question\">Can I Encounter the ERR_TOO_MANY_REDIRECTS Error on Mobile Devices?<\/h3> <p class=\"schema-faq-answer\">Yes, the ERR_TOO_MANY_REDIRECTS error can occur on mobile devices as well, impacting user access to websites through mobile browsers. Utilizing network tools and redirect checkers can help diagnose problematic redirection patterns that cause the error.<\/p> <\/div> <\/div>\n","protected":false},"excerpt":{"rendered":"<p>ERR_TOO_MANY_REDIRECTS, also known as a redirect error, indicates your website is caught in an endless cycle, attempting to direct the browser from one page to another without arriving at the intended destination page. Fortunately, this issue is relatively benign, and you can resolve it using the right approach. This article will present several ways to [&#8230;]<\/p>\n<p><a class=\"btn btn-secondary understrap-read-more-link\" href=\"\/my\/tutorials\/how-to-fix-err-too-many-redirects\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":411,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_title":"How to Fix the ERR_TOO_MANY_REDIRECTS Error","rank_math_description":"ERR_TOO_MANY_REDIRECTS error happens when a browser can\u2019t connect to the correct server of your website. Learn how to fix it in this article.","rank_math_focus_keyword":"err_too_many_redirects","footnotes":""},"categories":[22623,22625],"tags":[],"class_list":["post-745","post","type-post","status-publish","format-standard","hentry","category-hosting","category-technical-aspects"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/tutorials\/how-to-fix-err-too-many-redirects","default":0},{"locale":"pt-BR","link":"https:\/\/www.hostinger.com\/br\/tutoriais\/como-resolver-err-too-many-redirects-wordpress","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/tutoriels\/err-too-many-redirects","default":0},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/tutoriales\/como-solucionar-err-too-many-redirects","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/tutorial\/cara-mengatasi-err_too_many_redirects","default":0},{"locale":"de-DE","link":"https:\/\/www.hostinger.com\/de\/tutorials\/err-too-many-redirects-beheben","default":0},{"locale":"it-IT","link":"https:\/\/www.hostinger.com\/it\/tutorial\/err_too_many_redirects","default":0},{"locale":"nl-NL","link":"https:\/\/www.hostinger.com\/nl\/tutorials\/err-too-many-redirects","default":0},{"locale":"en-UK","link":"https:\/\/www.hostinger.com\/uk\/tutorials\/how-to-fix-err-too-many-redirects","default":0},{"locale":"en-MY","link":"https:\/\/www.hostinger.com\/my\/tutorials\/how-to-fix-err-too-many-redirects","default":0},{"locale":"en-PH","link":"https:\/\/www.hostinger.com\/ph\/tutorials\/how-to-fix-err-too-many-redirects","default":0},{"locale":"es-MX","link":"https:\/\/www.hostinger.com\/mx\/tutoriales\/agregar-meta-descripcion-wordpress-8","default":0},{"locale":"es-CO","link":"https:\/\/www.hostinger.com\/co\/tutoriales\/agregar-meta-descripcion-wordpress-8","default":0},{"locale":"es-AR","link":"https:\/\/www.hostinger.com\/ar\/tutoriales\/como-solucionar-err-too-many-redirects","default":0},{"locale":"pt-PT","link":"https:\/\/www.hostinger.com\/pt\/tutoriais\/o-que-e-dominio-2","default":0},{"locale":"en-IN","link":"https:\/\/www.hostinger.com\/in\/tutorials\/how-to-fix-err-too-many-redirects","default":0},{"locale":"en-CA","link":"https:\/\/www.hostinger.com\/ca\/tutorials\/how-to-fix-err-too-many-redirects","default":0},{"locale":"en-AU","link":"https:\/\/www.hostinger.com\/au\/tutorials\/how-to-fix-err-too-many-redirects","default":0},{"locale":"en-NG","link":"https:\/\/www.hostinger.com\/ng\/tutorials\/how-to-fix-err-too-many-redirects","default":0}],"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/posts\/745","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/users\/411"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/comments?post=745"}],"version-history":[{"count":52,"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/posts\/745\/revisions"}],"predecessor-version":[{"id":123079,"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/posts\/745\/revisions\/123079"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/media?parent=745"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/categories?post=745"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/tags?post=745"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}