{"id":660,"date":"2022-09-12T18:31:54","date_gmt":"2022-09-12T18:31:54","guid":{"rendered":"https:\/\/glossary.dream.press\/glossary\/%group%\/redirect-loop\/"},"modified":"2025-05-07T23:50:10","modified_gmt":"2025-05-07T23:50:10","slug":"redirect-loop","status":"publish","type":"glossary","link":"https:\/\/glossary.dream.press\/glossary\/hosting\/redirect-loop\/","title":{"rendered":"Redirect Loop"},"content":{"rendered":"\n<p>When a web browser tries to access a page on a website, the <a href=\"https:\/\/www.dreamhost.com\/glossary\/hosting\/server\/\">web server<\/a> looks for the page in its file system. If the page is not found, the server will return a <a href=\"https:\/\/www.dreamhost.com\/glossary\/hosting\/404-error\/\">404 error<\/a>. If the page is found, the server will return the contents of the page to the browser.<\/p>\n\n\n\n<p>In some cases, the server may be configured to <a href=\"https:\/\/www.dreamhost.com\/glossary\/domains\/redirect\/\">redirect<\/a> the browser to another page if the page is not found. For example, the server may be configured to redirect all requests for HTML pages to PHP pages.<\/p>\n\n\n\n<p>If the server is incorrectly configured, it may keep redirecting the browser to the same page, creating a redirect loop.<\/p>\n\n\n\n<p>Redirect loops can be difficult to debug because they can happen for a variety of reasons. The first step in debugging a redirect loop is to check the web server\u2019s error logs. The error logs will contain information about why the server is redirecting the browser.<\/p>\n\n\n\n<p>Once the cause of the redirect loop has been identified, it can be fixed by reconfiguring the web server or changing the website\u2019s code.<\/p>\n","protected":false},"featured_media":0,"parent":0,"menu_order":0,"template":"","meta":{"_acf_changed":false,"_yoast_wpseo_metadesc":"A redirect loop is a condition where a web server keeps redirecting a web browser to the same page, making it unable to load any other pages."},"group":[17],"class_list":["post-660","glossary","type-glossary","status-publish","hentry","group-hosting"],"acf":{"cta":"Hosting","term_definition":"A redirect loop is a condition where a web server keeps redirecting a web browser to the same page, making it unable to load any other pages.","h2_more":"More About Redirect Loops","title_tag":"What is a Redirect Loop?"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>What is a Redirect Loop? - DreamHost Glossary<\/title>\n<meta name=\"description\" content=\"A redirect loop is a condition where a web server keeps redirecting a web browser to the same page, making it unable to load any other pages.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/glossary.dream.press\/glossary\/hosting\/redirect-loop\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What is a Redirect Loop? - DreamHost Glossary\" \/>\n<meta property=\"og:description\" content=\"A redirect loop is a condition where a web server keeps redirecting a web browser to the same page, making it unable to load any other pages.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dreamhost.com\/glossary\/hosting\/redirect-loop\/\" \/>\n<meta property=\"og:site_name\" content=\"DreamHost Glossary\" \/>\n<meta property=\"article:modified_time\" content=\"2025-05-07T23:50:10+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What is a Redirect Loop? - DreamHost Glossary","description":"A redirect loop is a condition where a web server keeps redirecting a web browser to the same page, making it unable to load any other pages.","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:\/\/glossary.dream.press\/glossary\/hosting\/redirect-loop\/","og_locale":"en_US","og_type":"article","og_title":"What is a Redirect Loop? - DreamHost Glossary","og_description":"A redirect loop is a condition where a web server keeps redirecting a web browser to the same page, making it unable to load any other pages.","og_url":"https:\/\/www.dreamhost.com\/glossary\/hosting\/redirect-loop\/","og_site_name":"DreamHost Glossary","article_modified_time":"2025-05-07T23:50:10+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/glossary.dream.press\/glossary\/hosting\/redirect-loop\/","url":"https:\/\/glossary.dream.press\/glossary\/hosting\/redirect-loop\/","name":"What is a Redirect Loop? - DreamHost Glossary","isPartOf":{"@id":"https:\/\/glossary.dream.press\/glossary\/#website"},"datePublished":"2022-09-12T18:31:54+00:00","dateModified":"2025-05-07T23:50:10+00:00","description":"A redirect loop is a condition where a web server keeps redirecting a web browser to the same page, making it unable to load any other pages.","breadcrumb":{"@id":"https:\/\/glossary.dream.press\/glossary\/hosting\/redirect-loop\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/glossary.dream.press\/glossary\/hosting\/redirect-loop\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/glossary.dream.press\/glossary\/hosting\/redirect-loop\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.dreamhost.com\/glossary\/"},{"@type":"ListItem","position":2,"name":"Terms","item":"https:\/\/www.dreamhost.com\/glossary\/%group%\/"},{"@type":"ListItem","position":3,"name":"Redirect Loop"}]},{"@type":"WebSite","@id":"https:\/\/glossary.dream.press\/glossary\/#website","url":"https:\/\/glossary.dream.press\/glossary\/","name":"DreamHost Glossary","description":"","publisher":{"@id":"https:\/\/glossary.dream.press\/glossary\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/glossary.dream.press\/glossary\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/glossary.dream.press\/glossary\/#organization","name":"DreamHost","url":"https:\/\/glossary.dream.press\/glossary\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/glossary.dream.press\/glossary\/#\/schema\/logo\/image\/","url":"https:\/\/glossary.dream.press\/glossary\/wp-content\/uploads\/2022\/10\/dreamhost-glossary-social.jpg","contentUrl":"https:\/\/glossary.dream.press\/glossary\/wp-content\/uploads\/2022\/10\/dreamhost-glossary-social.jpg","width":2400,"height":1256,"caption":"DreamHost"},"image":{"@id":"https:\/\/glossary.dream.press\/glossary\/#\/schema\/logo\/image\/"}}]}},"lang":"en","translations":{"en":660,"es":1408,"fr":8105,"nl":8148,"it":8879,"pl":10426,"pt":10441,"de":10455,"ru":10694,"uk":10712},"pll_sync_post":[],"_links":{"self":[{"href":"https:\/\/glossary.dream.press\/glossary\/wp-json\/wp\/v2\/glossary\/660","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/glossary.dream.press\/glossary\/wp-json\/wp\/v2\/glossary"}],"about":[{"href":"https:\/\/glossary.dream.press\/glossary\/wp-json\/wp\/v2\/types\/glossary"}],"wp:attachment":[{"href":"https:\/\/glossary.dream.press\/glossary\/wp-json\/wp\/v2\/media?parent=660"}],"wp:term":[{"taxonomy":"group","embeddable":true,"href":"https:\/\/glossary.dream.press\/glossary\/wp-json\/wp\/v2\/group?post=660"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}