A licensed electrical contractor north of Seoul runs one page per administrative district it serves — 회천1동, 양주2동, 광적면, 은현면, and 271 others. Same template, 275 URLs. Not a directory listing: each page is a full service page with its own title, description, breadcrumb, JSON-LD and eight FAQs.
I crawled the sitemaps and a sample of pages this week to see how the generator behaves at that size. Below: the numbers, the four things that differentiate the pages, where the template still leaks, and the one pattern worth copying.
The map
sitemap.xml ├── page-sitemap.xml 16 /한전업무, /전기증설, /임시전력, /전기공사업체, … ├── local-sitemap.xml 275 /{district}-전기공사 └── post-sitemap.xml 22 /post/1 … /post/22 Local URLs are Korean IRIs — /%EC%96%91%EC%A3%BC2%EB%8F%99-%EC%A0%84%EA%B8%B0%EA%B3%B5%EC%82%AC in the sitemap, percent-encoded. Each page carries a self-referencing canonical, so the encoded and decoded forms resolve to one URL as far as indexing is concerned.
A detail that matters at scale: only 48 of the 275 entries in local-sitemap.xml have a <lastmod>, and every one of those is 2026-11-10. The other 227 have no lastmod at all. That is not fatal, but it is the signal a crawler uses to decide whether to re-fetch a page whose body it has already seen 274 near-copies of.
What is on a local page
- roughly 1,530 words of visible text
-
<title>={district} 전기공사, no brand suffix - meta description =
{city} {district} 전기공사 — 콘센트 하나부터 병원·스튜디오 같은 큰 건물까지 맡는 면허 전기공사. … - JSON-LD:
Electrician(withPostalAddress),WebPage+SpeakableSpecification,BreadcrumbList(four levels),Service+Place, andFAQPagewith eight questions
The four things that differentiate them
I diffed 양주1동 and 양주2동 — neighbours generated from the same template on the same afternoon. Everything that differs:
- Slug disambiguation. Where a district name collides, the generator appends the parent city:
와부읍-남양주-전기공사sits next to와부읍-전기공사. Without that, two districts in different cities would fight over one URL. - Breadcrumb. 시 → 동 → 서비스, in both the visible trail and
BreadcrumbList. - The
Placenode in JSON-LD, which carries the district. - The district string inside the eight FAQ questions — and inside exactly one sentence of one answer: "네, {district}도 출장합니다."
That is the whole delta. The 1,500 words of service copy, the licensing block, the pricing explainer and the call to action are byte-identical across pages and possibly across all 275.
Is that a problem? Not automatically. The company really does work in those districts, the pages answer a real query, and the duplication is geographic rather than keyword-stuffed. But it does mean the ranking differentiator is the last five per cent of the page — which is why that five per cent has to be exact.
Where the template leaks
1. String concatenation produces doubled place names.
The description template is {city} {district} 전기공사 — …. The district record is 양주2동 — a name that already contains its parent city. Output:
양주 양주2동 전기공사 — 콘센트 하나부터 … Two neighbouring pages read "양주 양주1동" and "양주 양주2동". Fix: keep the fields structured (city: "양주시", district: "양주2동", label) and never build a string as city + " " + district. Then assert that no field contains another field's value — five lines that catch this class of bug everywhere it can appear, including the JSON-LD Place.
2. The variable is in the question, not the answer.
Q: 양주2동도 와 주시나요? A: 네, 양주2동도 출장합니다. 사무실은 동두천에 있고 경기 북부를 주로 맡으며, … Eight questions per page; seven answers are global constants. The moment two districts genuinely need different answers — travel time, the permit office, the local 한전 branch — there is no field to put that in, and the template will happily claim identical service everywhere. Fine when it is true, a liability when it stops being true.
3. The error page keeps the template.
A district that does not exist — I tried /본주동-전기공사 — returns a 190 KB document. The status code and headers are right (see below), but the payload is the whole site chrome around one line of text. On a generated URL space, typo'd and retired districts will hit that route regularly; there is no reason for it to weigh as much as a real page.
The pattern worth stealing: the 404
HTTP/2 404 <link rel="canonical" href="https://shinhwa.hero-online.co.kr/"> <meta name="robots" content="noindex, follow"> <title>지역을 찾지 못했습니다 — 신화전력</title> A generated URL space that answers 200 for every string is the single most common failure in programmatic local pages: thousands of soft-404s, crawled once, wasting budget, then dragging the whole host down. This one returns a real 404, noindex, follow, and a canonical pointing at the home page. Three header lines, and the crawl budget of a 275-page site stays intact.
A short checklist if you generate pages like these
- Build every string from a structured record. Assert that
city,districtandlabeldo not contain one another. - Make the variable reach the part of the page that earns the click: an answer, a photo, a service list, a local reference — not just the question.
- Give every URL a
<lastmod>when its body can change, and only then. - Return 404 (not 200) for a slug that does not resolve, with
noindexand a canonical to the nearest real page. - Keep the hub pages — the service overview and the main page — linked from every generated page, so the 275 leaves stay one hop from something with real depth.
A worked example is the 양주2동 page itself: view-source it next to its neighbour and you can see how little separates them — and how much the difference still matters.