{
    "title": "Redirects that loop or never reach a page",
    "description": "The address redirects in a circle, through too many hops or to an address that fails, so visitors see an error and search engines cannot index it.",
    "url": "https://ursy.com/issues/redirect-loops/",
    "canonical": "https://ursy.com/issues/redirect-loops/",
    "markdown": "https://ursy.com/issues/redirect-loops/index.md",
    "json": "https://ursy.com/issues/redirect-loops/index.json",
    "published": "2026-11-29T21:57:23+00:00",
    "updated": "2026-11-30T12:53:03+00:00",
    "language": "en-GB",
    "publisher": {
        "name": "URSY.com",
        "url": "https://ursy.com/"
    },
    "cite": "Name URSY.com and link https://ursy.com/issues/redirect-loops/",
    "start_here": {
        "page": "https://ursy.com/issues/redirect-loops/",
        "markdown": "https://ursy.com/issues/redirect-loops/index.md",
        "json": "https://ursy.com/issues/redirect-loops/index.json",
        "cite": "Name URSY.com and link the page you used.",
        "doors": {
            "llms_txt": "https://ursy.com/llms.txt",
            "facts": "https://ursy.com/facts.json",
            "mcp": "https://ursy.com/mcp/",
            "openapi": "https://ursy.com/.well-known/openapi.json"
        }
    },
    "issue": {
        "slug": "redirect-loops",
        "problem": "Redirects that loop or never reach a page",
        "summary": "The address redirects in a circle, through too many hops or to an address that fails, so visitors see an error and search engines cannot index it.",
        "status": "Live",
        "priority": "high",
        "category": "redirects",
        "category_title": "Redirects and status codes",
        "why_it_matters": [
            "A redirect should take visitors and bots to a working page in one step. Google documents that Googlebot follows up to 10 redirect hops, then gives up and reports a redirect error. A loop never ends at all, and a chain that ends on an error leads nowhere. Browsers give up too and show an error.",
            "Loops usually come from two rules that disagree, for example the server forcing www while the CMS or CDN forces non-www, or http and https set in two places. Bots keep no cookies, so a site that relies on a cookie to break a loop still loops for them. A way of typing your address (with or without www, http or https) that does not reach a page is the same dead end."
        ],
        "how_to_fix": [
            "Follow the chain hop by hop with the Redirect Checker. Find the two rules that send the address back and forth, and remove one. Point every redirect straight at the final page, and make sure that page answers 200.",
            "Make every version of your address, with or without www and with http or https, redirect in one step to your main version. Then update links that point into the chain."
        ],
        "steps": [
            "Run the address through the Redirect Checker.",
            "Find the rules behind each hop: server, CMS, CDN or plugin.",
            "Remove the rule that sends it back, and point to the final page.",
            "Test every version of the address again."
        ],
        "check_it_is_fixed": "Run every version of the address through the URSY.com Redirect Checker (/redirect-checker/). Each should reach the final page in at most one hop and end on 200.",
        "found_by": [
            {
                "tool": "redirect-checker",
                "name": "Redirect Checker",
                "status": "Live",
                "page": "https://ursy.com/redirect-checker/",
                "card": "https://ursy.com/redirect-checker.json"
            },
            {
                "tool": "indexability-checker",
                "name": "Can Google Index This Page?",
                "status": "Live",
                "page": "https://ursy.com/indexability-checker/",
                "card": "https://ursy.com/indexability-checker.json"
            },
            {
                "tool": "seo-audit",
                "name": "SEO Audit",
                "status": "Live",
                "page": "https://ursy.com/seo-audit/",
                "card": "https://ursy.com/seo-audit.json"
            }
        ],
        "full_record": "https://ursy.com/wp-json/ursy/v1/issues/redirect-loops",
        "source": {
            "url": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Redirections",
            "title": "MDN: Redirections in HTTP"
        },
        "cite": "Redirects that loop or never reach a page. URSY.com. https://ursy.com/issues/redirect-loops/"
    },
    "headings": [
        {
            "level": 2,
            "text": "Why it matters",
            "id": "why-it-matters",
            "url": "https://ursy.com/issues/redirect-loops/#why-it-matters"
        },
        {
            "level": 2,
            "text": "How to fix it",
            "id": "how-to-fix-it",
            "url": "https://ursy.com/issues/redirect-loops/#how-to-fix-it"
        },
        {
            "level": 3,
            "text": "What the problem looks like",
            "id": "what-the-problem-looks-like",
            "url": "https://ursy.com/issues/redirect-loops/#what-the-problem-looks-like"
        },
        {
            "level": 3,
            "text": "What it looks like fixed",
            "id": "what-it-looks-like-fixed",
            "url": "https://ursy.com/issues/redirect-loops/#what-it-looks-like-fixed"
        },
        {
            "level": 2,
            "text": "Fix it with your AI assistant",
            "id": "fix-it-with-your-ai-assistant",
            "url": "https://ursy.com/issues/redirect-loops/#fix-it-with-your-ai-assistant"
        },
        {
            "level": 2,
            "text": "Fix it on your platform",
            "id": "fix-it-on-your-platform",
            "url": "https://ursy.com/issues/redirect-loops/#fix-it-on-your-platform"
        },
        {
            "level": 3,
            "text": "WordPress",
            "id": "wordpress",
            "url": "https://ursy.com/issues/redirect-loops/#wordpress"
        },
        {
            "level": 3,
            "text": "Your server or hosting",
            "id": "your-server-or-hosting",
            "url": "https://ursy.com/issues/redirect-loops/#your-server-or-hosting"
        },
        {
            "level": 3,
            "text": "Your CDN (for example Cloudflare)",
            "id": "your-cdn-for-example-cloudflare",
            "url": "https://ursy.com/issues/redirect-loops/#your-cdn-for-example-cloudflare"
        },
        {
            "level": 2,
            "text": "Check it is fixed",
            "id": "check-it-is-fixed",
            "url": "https://ursy.com/issues/redirect-loops/#check-it-is-fixed"
        },
        {
            "level": 2,
            "text": "Official source",
            "id": "official-source",
            "url": "https://ursy.com/issues/redirect-loops/#official-source"
        },
        {
            "level": 2,
            "text": "Questions",
            "id": "questions",
            "url": "https://ursy.com/issues/redirect-loops/#questions"
        },
        {
            "level": 3,
            "text": "Why does it work for me but not for bots?",
            "id": "why-does-it-work-for-me-but-not-for-bots",
            "url": "https://ursy.com/issues/redirect-loops/#why-does-it-work-for-me-but-not-for-bots"
        },
        {
            "level": 3,
            "text": "Should I use www or not?",
            "id": "should-i-use-www-or-not",
            "url": "https://ursy.com/issues/redirect-loops/#should-i-use-www-or-not"
        }
    ],
    "links": [
        {
            "text": "redirects",
            "url": "https://ursy.com/wiki/redirect/",
            "internal": true
        },
        {
            "text": "search engines",
            "url": "https://ursy.com/wiki/search-engine/",
            "internal": true
        },
        {
            "text": "bots",
            "url": "https://ursy.com/wiki/bot-web-robot/",
            "internal": true
        },
        {
            "text": "Google",
            "url": "https://ursy.com/wiki/google/",
            "internal": true
        },
        {
            "text": "Googlebot",
            "url": "https://ursy.com/wiki/googlebot/",
            "internal": true
        },
        {
            "text": "CDN",
            "url": "https://ursy.com/wiki/cdn/",
            "internal": true
        },
        {
            "text": "cookies",
            "url": "https://ursy.com/wiki/cookie/",
            "internal": true
        },
        {
            "text": "ChatGPT",
            "url": "https://ursy.com/wiki/chatgpt/",
            "internal": true
        },
        {
            "text": "MDN: Redirections in HTTP",
            "url": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Redirections",
            "internal": false
        }
    ],
    "words": 740,
    "text": "The address redirects in a circle, through too many hops or to an address that fails, so visitors see an error and search engines cannot index it. Why it matters A redirect should take visitors and bots to a working page in one step. Google documents that Googlebot follows up to 10 redirect hops, then gives up and reports a redirect error. A loop never ends at all, and a chain that ends on an error leads nowhere. Browsers give up too and show an error. Loops usually come from two rules that disagree, for example the server forcing www while the CMS or CDN forces non-www, or http and https set in two places. Bots keep no cookies, so a site that relies on a cookie to break a loop still loops for them. A way of typing your address (with or without www, http or https) that does not reach a page is the same dead end. How to fix it Follow the chain hop by hop with the Redirect Checker. Find the two rules that send the address back and forth, and remove one. Point every redirect straight at the final page, and make sure that page answers 200. Make every version of your address, with or without www and with http or https, redirect in one step to your main version. Then update links that point into the chain. Run the address through the Redirect Checker. Find the rules behind each hop: server, CMS, CDN or plugin. Remove the rule that sends it back, and point to the final page. Test every version of the address again. What the problem looks like https://example.com/ 301 -> https://www.example.com/ https://www.example.com/ 301 -> https://example.com/ https://example.com/ 301 -> https://www.example.com/ ... (ERR_TOO_MANY_REDIRECTS) The server forces www while the CMS or CDN forces no www, so the address never reaches a page. What it looks like fixed RewriteEngine On RewriteCond %{HTTPS} off [OR] RewriteCond %{HTTP_HOST} !^www\\.example\\.com$ [NC] RewriteRule ^ https://www.example.com%{REQUEST_URI} [L,R=301] One rule sends every version to https://www, in one hop. The CMS and the CDN must use the same main version. Fix it with your AI assistant Paste this into ChatGPT, Claude, Gemini or your coding agent, and fill in the words in square brackets: My website [your website address] runs on [your platform, e.g. WordPress on Apache behind Cloudflare]. A check says [the page address] redirects in a loop, through too many hops or to an address that fails. First follow the chain hop by hop for the page and for every version of my home address (http or https, with or without www), listing each status and Location (or ask me to paste them). Tell me in plain words which two rules disagree and where each lives: the server, the CMS settings, a plugin or the CDN. Then give me the fix: one main version, with every other version redirecting to it in a single 301 hop, and the page answering 200 at the end. Rules: back up first, remove the conflicting rule rather than adding another, and keep page addresses the same. Give me exact steps or code and where they go. Finally, tell me to re-check with the URSY.com Redirect Checker at ursy.com/redirect-checker/. Fix it on your platform WordPress Make both addresses in Settings, General match the main version exactly, with https and the same www choice as your server rule. Your server or hosting Keep one place that forces https and www, and remove duplicates from .htaccess, the nginx configuration and the hosting panel. Your CDN (for example Cloudflare) With Cloudflare, the Flexible SSL mode plus a server that forces https causes a classic loop. Use Full (strict) with a valid certificate on the server, and check page or redirect rules. Check it is fixed Run every version of the address through the URSY.com Redirect Checker (/redirect-checker/). Each should reach the final page in at most one hop and end on 200. Official source MDN: Redirections in HTTP Questions Why does it work for me but not for bots? Your browser may hold a cookie or a cached redirect that breaks the loop. Bots keep no cookies, so they still loop. Should I use www or not? Either is fine for search. What matters is choosing one and redirecting every other version to it.",
    "source": "https://ursy.com/issues/redirect-loops/"
}