{"id":2083,"date":"2022-04-03T16:31:29","date_gmt":"2022-04-03T14:31:29","guid":{"rendered":"https:\/\/www.wp-moon.com\/?p=2083"},"modified":"2022-08-17T13:37:37","modified_gmt":"2022-08-17T11:37:37","slug":"what-can-you-do-when-the-error-err_too_many_redirects-appears-on-your-site","status":"publish","type":"post","link":"https:\/\/www.wp-moon.com\/en\/what-can-you-do-when-the-error-err_too_many_redirects-appears-on-your-site\/","title":{"rendered":"What can you do when the error ERR_TOO_MANY_REDIRECTS appears on your site"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><p>[vc_row][vc_column][vc_custom_heading text=&#8221;Issue&#8221; use_theme_fonts=&#8221;yes&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]You want to view your website or enter the administration interface and you encounter this error:<\/p>\n<p><code>ERR_TOO_MANY_REDIRECTS<\/code><\/p>\n<p>No matter where you go on your website, it&#8217;s always the same message.<\/p>\n<p>The error <code>ERR_TOO_MANY_REDIRECTS<\/code> means that there are too many redirects to reach the page you want to visit.<\/p>\n<p>A simple example, is to imagine that you want to go a site that we will call localhost.com<br \/>\nWhen you join localhost.com, it may redirect you (it does not) to wp-moon.com.<br \/>\nWp-moon.com itself can redirect you elsewhere&#8230;. or to localhost.com.<\/p>\n<p>So you may understand the problem: localhost.com redirects you to wp-moon.com&#8230;. which redirects you to localhost.com&#8230; which redirects you once again to wp-moon.com&#8230;. indefinitely.<\/p>\n<p>To avoid endless redirecting, the browser displays <code>ERR_TOO_MANY_REDIRECTS<\/code> to warn you.[\/vc_column_text][\/vc_column][\/vc_row][vc_row][vc_column][vc_custom_heading text=&#8221;Why?&#8221; use_theme_fonts=&#8221;yes&#8221;][vc_column_text]This error can be triggered by several factors:<\/p>\n<ul>\n<li>a bad configuration of your hosting<\/li>\n<li>an error in the logic, in your .htaccess file<\/li>\n<li>a wrong data in your WordPress settings<\/li>\n<li>a conflict with a plugin or a theme<\/li>\n<\/ul>\n<p>You need to identify which modification(s) have been made recently on your hosting, on your website files, or in your WordPress settings (or database).[\/vc_column_text][\/vc_column][vc_column][vc_custom_heading text=&#8221;What can be done to solve this problem?&#8221; use_theme_fonts=&#8221;yes&#8221;][vc_column_text]On your hosting, you must check your DNS zone, if it is correct for each entry or ask your host to analyze your zone.<\/p>\n<p>Then, if it&#8217;s a problem with the .htaccess file (<a href=\"https:\/\/www.wp-moon.com\/troubleshoot-with-display-in-wordpress-administration\/\" target=\"_blank\" rel=\"noopener noreferrer\">you can refer to this article<\/a>), you can generate a new one:<\/p>\n<ul>\n<li>renaming the .htaccess file and see if you can access your site again<\/li>\n<li>creating a new one by going, in your administration interface, to &#8220;Settings&#8221;, then &#8220;Permalinks&#8221;, and save the settings to generate a new .htaccess file.<\/li>\n<\/ul>\n<p>This kind of problem can occur especially when a redirection is set up when activating SSL, to redirect HTTP traffic to HTTPS.<\/p>\n<p>For WordPress settings, the wp-options table saves your website settings, for your themes, plugins&#8230;<br \/>\nAmong them, there is the URL of your website, which will interest us.<\/p>\n<ul>\n<li>Connect to your database.<\/li>\n<li>If needed, you can upload a phpMyAdmin through a (S)FTP client to your site : https:\/\/www.phpmyadmin.net\/downloads\/. Don&#8217;t forget to delete it when you don&#8217;t need it anymore.<\/li>\n<li>Find the wp-options table.<\/li>\n<li>Try to identify if this parameter : siteurl, is present and filled with the URL of your site<\/li>\n<li>If not, (but the parameter exists; otherwise the problem will require an other investigation of the cause), run the following query:<br \/>\n<code>INSERT INTO `wp_options` VALUES (1,0,'siteurl','https:\/\/mywebsite.com\/','yes')<\/code><br \/>\nhttps:\/\/<code>mywebsite<\/code>.com must be replaced by the URL of your site.<\/li>\n<\/ul>\n<p>If your website is accessible again, you will have to make a backup of it (especially the database), but you will have to look for the cause that triggered this problem. It may be necessary to perform a thorough analysis of your website in order to identify weaknesses or flaws that could be exploited.<\/p>\n<p>If a plugin on your website has a problem, it is possible to deactivate all of them in order to identify which one is the cause of your problems:<\/p>\n<ul>\n<li>To check if a plugin is involved :\n<ul>\n<li>Connect with an (S)FTP client to your website.<\/li>\n<li>Go to the wp-content folder.<\/li>\n<li>Find the plugins folder and change its name.<\/li>\n<li>If the error is no longer present, it is indeed a plugin that causes it.<\/li>\n<\/ul>\n<\/li>\n<li>Once the previous action has been successfully completed, to identify THE plugin involved :\n<ul>\n<li>Recreate a folder called plugins.<\/li>\n<li>Move one by one the subfolders of the folder you renamed to this brand new &#8220;plugins&#8221; folder until the error occurs again. Now you know the faulty plugin. You can disable it or try to reach the plugin author to work with him on this problem.<\/li>\n<\/ul>\n<\/li>\n<li>.Other way to do this: access your database\n<ul>\n<li>Temporarily, if needed, you can upload a phpmyadmin via (S)FTP: https:\/\/www.phpmyadmin.net\/downloads\/<\/li>\n<li>Go to the wp-options table.<\/li>\n<li>Identify the option_value field and isolate the lines that contain active_plugins\n<ul>\n<li>Tip: to highlight these rows, you can run this query:<br \/>\n<code>SELECT *FROM wp_options WHERE option_name = 'active_plugins';<\/code><\/li>\n<\/ul>\n<\/li>\n<li>For each plugin, replace in the value a:1:{} with a:0:{}.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>To know if it&#8217;s a theme which causes this error, we suggest that you test with the default WordPress theme<\/p>\n<ul>\n<li>Connect with an (S)FTP client to your site.<\/li>\n<li>Go down the tree to the themes folder in wp-content and rename the theme folder you use for your website. WordPress will then load the default theme (you can download it from https:\/\/wordpress.org\/themes\/twentynineteen\/ and upload it to your server in the theme folder of wp-content).<\/li>\n<\/ul>\n<p>A last option, not mentioned here but which can be useful (and sometimes even proposed by the web browser itself), is to delete the cookies from your browser and try again to access your website. You can check the help of your web browser to know how to do this.[\/vc_column_text][\/vc_column][\/vc_row]<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>You want to view your website or enter the administration interface and you encounter this error: ERR_TOO_MANY_REDIRECTS<br \/>\nNo matter where you go on your website, it&#8217;s always the same message.<\/p>\n","protected":false},"author":2,"featured_media":1581,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[37],"tags":[],"class_list":["post-2083","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-fix-errors"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>What can you do when the error ERR_TOO_MANY_REDIRECTS appears on your site - WP Moon<\/title>\n<meta name=\"description\" content=\"You want to view your website or enter the administration interface and you encounter this error: ERR_TOO_MANY_REDIRECTS No matter where you go on your website, it&#039;s always the same message.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wp-moon.com\/en\/what-can-you-do-when-the-error-err_too_many_redirects-appears-on-your-site\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What can you do when the error ERR_TOO_MANY_REDIRECTS appears on your site - WP Moon\" \/>\n<meta property=\"og:description\" content=\"You want to view your website or enter the administration interface and you encounter this error: ERR_TOO_MANY_REDIRECTS No matter where you go on your website, it&#039;s always the same message.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wp-moon.com\/en\/what-can-you-do-when-the-error-err_too_many_redirects-appears-on-your-site\/\" \/>\n<meta property=\"og:site_name\" content=\"WP Moon\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/wpmoonwebsite\" \/>\n<meta property=\"article:published_time\" content=\"2022-04-03T14:31:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-08-17T11:37:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2020\/05\/erreur.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1500\" \/>\n\t<meta property=\"og:image:height\" content=\"778\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Alexandre G\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@alexgaboriau\" \/>\n<meta name=\"twitter:site\" content=\"@WPMoon4\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Alexandre G\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What can you do when the error ERR_TOO_MANY_REDIRECTS appears on your site - WP Moon","description":"You want to view your website or enter the administration interface and you encounter this error: ERR_TOO_MANY_REDIRECTS No matter where you go on your website, it's always the same message.","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:\/\/www.wp-moon.com\/en\/what-can-you-do-when-the-error-err_too_many_redirects-appears-on-your-site\/","og_locale":"en_US","og_type":"article","og_title":"What can you do when the error ERR_TOO_MANY_REDIRECTS appears on your site - WP Moon","og_description":"You want to view your website or enter the administration interface and you encounter this error: ERR_TOO_MANY_REDIRECTS No matter where you go on your website, it's always the same message.","og_url":"https:\/\/www.wp-moon.com\/en\/what-can-you-do-when-the-error-err_too_many_redirects-appears-on-your-site\/","og_site_name":"WP Moon","article_publisher":"https:\/\/www.facebook.com\/wpmoonwebsite","article_published_time":"2022-04-03T14:31:29+00:00","article_modified_time":"2022-08-17T11:37:37+00:00","og_image":[{"width":1500,"height":778,"url":"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2020\/05\/erreur.png","type":"image\/png"}],"author":"Alexandre G","twitter_card":"summary_large_image","twitter_creator":"@alexgaboriau","twitter_site":"@WPMoon4","twitter_misc":{"Written by":"Alexandre G","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.wp-moon.com\/en\/what-can-you-do-when-the-error-err_too_many_redirects-appears-on-your-site\/#article","isPartOf":{"@id":"https:\/\/www.wp-moon.com\/en\/what-can-you-do-when-the-error-err_too_many_redirects-appears-on-your-site\/"},"author":{"name":"Alexandre G","@id":"https:\/\/www.wp-moon.com\/en\/#\/schema\/person\/72a64e6910977ec9e4b32fd8da54369d"},"headline":"What can you do when the error ERR_TOO_MANY_REDIRECTS appears on your site","datePublished":"2022-04-03T14:31:29+00:00","dateModified":"2022-08-17T11:37:37+00:00","mainEntityOfPage":{"@id":"https:\/\/www.wp-moon.com\/en\/what-can-you-do-when-the-error-err_too_many_redirects-appears-on-your-site\/"},"wordCount":892,"commentCount":0,"publisher":{"@id":"https:\/\/www.wp-moon.com\/en\/#organization"},"image":{"@id":"https:\/\/www.wp-moon.com\/en\/what-can-you-do-when-the-error-err_too_many_redirects-appears-on-your-site\/#primaryimage"},"thumbnailUrl":"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2020\/05\/erreur.png","articleSection":["Fix Errors"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.wp-moon.com\/en\/what-can-you-do-when-the-error-err_too_many_redirects-appears-on-your-site\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.wp-moon.com\/en\/what-can-you-do-when-the-error-err_too_many_redirects-appears-on-your-site\/","url":"https:\/\/www.wp-moon.com\/en\/what-can-you-do-when-the-error-err_too_many_redirects-appears-on-your-site\/","name":"What can you do when the error ERR_TOO_MANY_REDIRECTS appears on your site - WP Moon","isPartOf":{"@id":"https:\/\/www.wp-moon.com\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.wp-moon.com\/en\/what-can-you-do-when-the-error-err_too_many_redirects-appears-on-your-site\/#primaryimage"},"image":{"@id":"https:\/\/www.wp-moon.com\/en\/what-can-you-do-when-the-error-err_too_many_redirects-appears-on-your-site\/#primaryimage"},"thumbnailUrl":"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2020\/05\/erreur.png","datePublished":"2022-04-03T14:31:29+00:00","dateModified":"2022-08-17T11:37:37+00:00","description":"You want to view your website or enter the administration interface and you encounter this error: ERR_TOO_MANY_REDIRECTS No matter where you go on your website, it's always the same message.","breadcrumb":{"@id":"https:\/\/www.wp-moon.com\/en\/what-can-you-do-when-the-error-err_too_many_redirects-appears-on-your-site\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wp-moon.com\/en\/what-can-you-do-when-the-error-err_too_many_redirects-appears-on-your-site\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wp-moon.com\/en\/what-can-you-do-when-the-error-err_too_many_redirects-appears-on-your-site\/#primaryimage","url":"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2020\/05\/erreur.png","contentUrl":"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2020\/05\/erreur.png","width":1500,"height":778,"caption":"erreur"},{"@type":"BreadcrumbList","@id":"https:\/\/www.wp-moon.com\/en\/what-can-you-do-when-the-error-err_too_many_redirects-appears-on-your-site\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.wp-moon.com\/en\/"},{"@type":"ListItem","position":2,"name":"Fix Errors","item":"https:\/\/www.wp-moon.com\/en\/category\/fix-errors\/"},{"@type":"ListItem","position":3,"name":"What can you do when the error ERR_TOO_MANY_REDIRECTS appears on your site"}]},{"@type":"WebSite","@id":"https:\/\/www.wp-moon.com\/en\/#website","url":"https:\/\/www.wp-moon.com\/en\/","name":"WP Moon","description":"","publisher":{"@id":"https:\/\/www.wp-moon.com\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wp-moon.com\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.wp-moon.com\/en\/#organization","name":"WP Moon","url":"https:\/\/www.wp-moon.com\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wp-moon.com\/en\/#\/schema\/logo\/image\/","url":"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2020\/02\/logo.png","contentUrl":"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2020\/02\/logo.png","width":290,"height":95,"caption":"WP Moon"},"image":{"@id":"https:\/\/www.wp-moon.com\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/wpmoonwebsite","https:\/\/x.com\/WPMoon4"]},{"@type":"Person","@id":"https:\/\/www.wp-moon.com\/en\/#\/schema\/person\/72a64e6910977ec9e4b32fd8da54369d","name":"Alexandre G","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2023\/09\/312419460_10229483707296045_2919774527885824513_n-100x100.jpg","url":"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2023\/09\/312419460_10229483707296045_2919774527885824513_n-100x100.jpg","contentUrl":"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2023\/09\/312419460_10229483707296045_2919774527885824513_n-100x100.jpg","caption":"Alexandre G"},"description":"Alexandre, Web Developer &amp; Website Editor. I've been using WordPress for over 10 years in my professional environment and on personal projects. I created WP Moon to teach you how to use this CMS, solve your problems and show you all the tricks.","sameAs":["https:\/\/www.croque-pixel.com\/","https:\/\/x.com\/alexgaboriau","https:\/\/www.youtube.com\/@wp_moon\/videos"],"url":"https:\/\/www.wp-moon.com\/en\/author\/wp-moon\/"}]}},"_links":{"self":[{"href":"https:\/\/www.wp-moon.com\/en\/wp-json\/wp\/v2\/posts\/2083","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wp-moon.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wp-moon.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wp-moon.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wp-moon.com\/en\/wp-json\/wp\/v2\/comments?post=2083"}],"version-history":[{"count":0,"href":"https:\/\/www.wp-moon.com\/en\/wp-json\/wp\/v2\/posts\/2083\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wp-moon.com\/en\/wp-json\/wp\/v2\/media\/1581"}],"wp:attachment":[{"href":"https:\/\/www.wp-moon.com\/en\/wp-json\/wp\/v2\/media?parent=2083"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wp-moon.com\/en\/wp-json\/wp\/v2\/categories?post=2083"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wp-moon.com\/en\/wp-json\/wp\/v2\/tags?post=2083"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}