diff --git a/packages/gitbook/src/components/PageBody/PageHeader.tsx b/packages/gitbook/src/components/PageBody/PageHeader.tsx index f406d619a..41216cdeb 100644 --- a/packages/gitbook/src/components/PageBody/PageHeader.tsx +++ b/packages/gitbook/src/components/PageBody/PageHeader.tsx @@ -222,10 +222,15 @@ export async function PageHeader(props: { ))} {ancestors.map((breadcrumb, index) => { const parentPages = ancestors[index - 1]?.pages ?? revision.pages; - const href = linker.toPathForPage({ - pages: revision.pages, - page: breadcrumb, - }); + // A group's own URL only redirects to its first page, so render it as a + // label like the table of contents and section groups do. + const href = + breadcrumb.type === 'group' + ? undefined + : linker.toPathForPage({ + pages: revision.pages, + page: breadcrumb, + }); return (