Menu

Static Site SEO at Scale: IndexNow, Sitemaps, and Schema.org for 600+ Pages
📰

Static Site SEO at Scale: IndexNow, Sitemaps, and Schema.org for 600+ Pages

DEV Community: astro·Marrakech Transport·about 18 hours ago
#7xHikNwV
#devtoastro#devto#dev#organization#indexnow
Reading 0:00
15s threshold

The SEO Stack

Our site generates 600+ pages across eight languages. Each page needs to be discoverable, correctly indexed with hreflang, and rich with structured data. Here is how we handle SEO at this scale on a fully static site.

Sitemaps with Hreflang

The sitemap is generated at build time from the same route registry the app uses. Every URL gets xhtml:link rel="alternate" entries for all eight locales plus x-default :

const alts = locales . map ( ( a ) => `<xhtml:link rel="alternate" hreflang="${a}" href="${abs(localizedHref(path, a))}"/>` ) . join ( "" ) ;

Enter fullscreen mode

Exit fullscreen mode

Each URL also carries a <lastmod> date pulled from a per-page change log.

IndexNow: Instant Indexing

After every production deploy, we ping IndexNow with every URL in the sitemap.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.