Quick Answer: Structure programmatic city pages with a single, keyword-dense H1 that combines the core service and city, then use H2s to segment the page by user intent: service benefits, local relevance, process, FAQs, and conversion. Keep H3s for supporting details under each section so the page creates a clear topical hierarchy for both crawlers and users without diluting the primary query focus.
For maximum topical clarity, programmatic city pages should follow a strict semantic hierarchy that mirrors search intent: one H1 for the page’s primary topic, H2s for major thematic blocks, and H3s for subordinate explanations, service attributes, or localized proof points. The H1 should typically follow a format like "[Core Service] in [City]" to anchor relevance, while H2s should map to the questions a qualified buyer asks next—why the service matters locally, how the process works, what makes the offer different, and how to contact the business. Avoid repeating the exact city keyword in every header; instead, distribute related entities, modifiers, and local signals naturally across the section headings so the page reads like a coherent local landing page rather than a templated keyword dump. This approach improves crawl understanding, strengthens topical authority, and increases conversion by making the page scannable and intent-aligned.