520 local pages and a lastmod that always says today

2026-12-03来源 dev.toEnglish

A Korean electrical contractor publishes one page per district and service: 양주1동 전기 증설, 강동구 차단기 교체, and 518 more. Three things decide how a set like this behaves in search: the inventory, the timestamps, and the links between the pages.

The inventory

  • The sitemap index lists two children: local-sitemap.xml with 520 URLs and post-sitemap.xml with 53.
  • The 520 split into 171 district prefixes and 12 services: 전기공사 166, 전기증설 156, farmelec 39, 누전공사 33, 한전업무 21, 차단기내려감 20, 분전반교체 19, 전기수리 18, 차단기교체 13, 콘센트탄냄새 12, 콘센트증설 12, 정전 11.
  • Each page body runs about 2,500 Korean words with Electrician, Service, Place, BreadcrumbList, FAQPage (9 questions) and HowTo (6 steps).

The lastmod problem

All 520 entries carry a <lastmod>, and every timestamp falls inside today. They are written at build time, so the whole set is stamped whenever the site is deployed. Once a timestamp is regenerated for every URL on every deploy, it stops distinguishing a page that changed from one that did not, and a crawler that trusts it learns not to. A sibling site on the same platform does the opposite: 275 URLs, 48 with lastmod, all one date in November.

The templates

  • The description joins city and district without looking at either: 양주 양주1동 전기 증설. The district name already carries the city.
  • The slug adds the city only when the district name is ambiguous (/금곡동-남양주-전기공사, /청산면-연천-전기증설), which is the right instinct.
  • One service uses an English slug (farmelec) among Korean ones, so the pattern breaks in exactly 39 places.

Link shape

  • The home page links to all 520 local pages (522 internal links in total), so every page sits one click from a hub.
  • Each local page links back only to itself and to rss.php. Sibling services in the same district (전기증설, 차단기교체, 누전공사) are the pages a reader would want next, and they are never linked.
  • A district that does not exist returns 404, not a soft 404.

What I would fix

  1. Write <lastmod> only when a page's content changes.
  2. Stop doubling the city in descriptions.
  3. Link each district page to its siblings.
  4. Rename farmelec, or make every service slug English.

Two examples: 양주1동 전기 증설 and 강동구 차단기 교체.

原文:https://www.a8q9.cn/en/article/520-local-pages-and-a-lastmod-that-always-says-today-0512ca.html

相关文章