[{"data":1,"prerenderedAt":193},["ShallowReactive",2],{"learn-geo-/en/learn/geo/heading-hierarchy-en":3},{"id":4,"title":5,"body":6,"description":151,"extension":152,"meta":153,"navigation":186,"path":187,"seo":188,"stem":191,"__hash__":192},"content_en/5.learn/geo/heading-hierarchy.md","Heading Hierarchy",{"type":7,"value":8,"toc":143},"minimark",[9,17,22,25,45,48,52,88,92,121,125],[10,11,12,16],"p",{},[13,14,15],"strong",{},"TL;DR"," — LLMs parse headings to build a topic map of a page before reading body text. A proper H1 → H2 → H3 hierarchy lets the model identify which section answers a specific query and cite it precisely.",[18,19,21],"h2",{"id":20},"why-heading-hierarchy-matters-for-ai-engines","Why Heading Hierarchy Matters for AI Engines",[10,23,24],{},"When an LLM processes a web page, headings serve as a structural index before body text is read. The model builds a topic map: \"This page has a section on X, a sub-section on Y, and a sub-section on Z.\" This map determines which section the model reads most carefully when matching against a user query.",[10,26,27,28,32,33,36,37,40,41,44],{},"A flat heading structure — all ",[29,30,31],"code",{},"\u003Ch2>"," with no ",[29,34,35],{},"\u003Ch3>"," sub-sections — tells the model the page has no sub-topics. Every section is treated as equally relevant, which means no section gets precision citation treatment. A proper hierarchy (",[29,38,39],{},"H2"," for sections, ",[29,42,43],{},"H3"," for sub-points) lets the model resolve queries at the sub-topic level.",[10,46,47],{},"This is not a theoretical concern. AI engines generating answers to specific questions — \"how do I add FAQ schema to a Next.js page?\" — need to identify the exact paragraph that answers the question, not just the article title. Heading hierarchy is the navigation system that makes that possible.",[18,49,51],{"id":50},"how-to-implement","How to Implement",[53,54,55,63,68,73,85],"ul",{},[56,57,58,59,62],"li",{},"One ",[29,60,61],{},"\u003Ch1>"," per page — the page title",[56,64,65,67],{},[29,66,31],{}," for major sections: \"What is X\", \"Why it matters\", \"How to implement\", \"Common mistakes\"",[56,69,70,72],{},[29,71,35],{}," for sub-points within a section",[56,74,75,76,78,79,81,82,84],{},"Never skip levels — no ",[29,77,61],{}," → ",[29,80,35],{}," without an ",[29,83,31],{}," in between",[56,86,87],{},"Headings should contain the topic keywords, not generic labels like \"More information\"",[18,89,91],{"id":90},"common-mistakes","Common Mistakes",[53,93,94,103,112],{},[56,95,96,99,100,102],{},[13,97,98],{},"Using heading tags for visual styling"," — ",[29,101,35],{}," to make text bold is not structural; use CSS classes instead",[56,104,105,111],{},[13,106,107,108,110],{},"More than one ",[29,109,61],{}," per page"," — signals to AI engines that the page has no primary topic",[56,113,114,120],{},[13,115,116,117,119],{},"All content under a single ",[29,118,31],{}," section"," — gives the model no sub-topic structure to navigate",[18,122,124],{"id":123},"sources","Sources",[53,126,127,136],{},[56,128,129],{},[130,131,135],"a",{"href":132,"rel":133},"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements",[134],"nofollow","MDN — Heading Elements",[56,137,138],{},[130,139,142],{"href":140,"rel":141},"https://developers.google.com/search/docs/fundamentals/creating-helpful-content",[134],"Google — How to create helpful, reliable, people-first content",{"title":144,"searchDepth":145,"depth":145,"links":146},"",2,[147,148,149,150],{"id":20,"depth":145,"text":21},{"id":50,"depth":145,"text":51},{"id":90,"depth":145,"text":91},{"id":123,"depth":145,"text":124},"Using H1 → H2 → H3 to structure content into scannable, topic-segmented sections.","md",{"publishedAt":154,"badge":155,"type":157,"faq":158,"related":168,"cta":181},"2026-03-31",{"label":156},"Core","guide",[159,162,165],{"question":160,"answer":161},"Does heading hierarchy affect SEO as well as AI citability?","Yes — heading hierarchy affects both traditional SEO and AI citability through the same mechanism. Google's crawler and LLMs both use headings as a structural index. A well-structured heading hierarchy improves ranking for long-tail queries and increases precision citation by AI engines.",{"question":163,"answer":164},"How specific should H2 headings be?","H2 headings should describe the exact content of the section, not act as generic labels. 'How to add FAQPage schema to WordPress' is better than 'Implementation'. Include the key terms a user would type when searching for that specific section.",{"question":166,"answer":167},"Should I include the page keyword in every heading?","No — keyword-stuffed headings are a red flag. Include the primary topic naturally in the H1 and in key H2 sections. Sub-headings (H3) can be more specific and conversational.",[169,173,177],{"title":170,"url":171,"description":172},"Clear Takeaway / Key Summary","/learn/geo/clear-takeaway","Summary blocks that work with heading structure to surface conclusions.",{"title":174,"url":175,"description":176},"List Formatting","/learn/geo/list-formatting","How bullet and numbered lists complement heading structure for AI extraction.",{"title":178,"url":179,"description":180},"FAQ Blocks for AI Citability","/learn/geo/faq-block","How H2/H3 question headings power FAQ schema extraction.",{"title":182,"description":183,"label":184,"url":185},"Is your heading structure AI-readable?","TrustData checks for missing H1s, skipped heading levels, and flat structures across every page you track.","Audit my pages","https://app.trustdata.tech",true,"/learn/geo/heading-hierarchy",{"title":189,"description":190},"Heading Hierarchy for AI Engines — GEO Optimisation Guide","LLMs parse headings to build a topic map before reading body text. Proper H1→H2→H3 hierarchy lets AI engines cite your content at the sub-topic level.","5.learn/geo/heading-hierarchy","j4C9QpsmBDTBe7pNFfw36OvxfctE9dKFCbsLO-gZZO4",1777026713836]