Static Site SEO at Scale: IndexNow, Sitemaps, and Schema.org for 600+ Pages
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
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("");
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. The script reads the built sitemap XML, extracts all <loc> entries, and posts them to Bing's IndexNow endpoint in batches of 10,000:
const res = await fetch("https://www.bing.com/indexnow", {
method: "POST",
headers: { "content-type": "application/json; charset=utf-8" },
body: JSON.stringify({
host: "www.navetteforyou.com",
key,
urlList: urlList.slice(i, i + 10000),
}),
});
Bing shares IndexNow pings with Yandex, Seznam, and Naver.
Schema.org Entity Graph
We build a connected entity graph:
-
Organization (
TravelAgency): one canonical@idshared with our sister site. - Website: linked to the organization.
-
Service per route:
TaxiServiceorTouristTripwith structuredOffernodes. -
Place:
Airport,City, and destination nodes linked byareaServed.
The @id references mean every page reinforces the same entity:
export const OPERATOR_ID =
"https://www.serenitymoroccotours.com/#organization";
llms.txt and AI Crawlers
We serve an llms.txt file for AI search engines and allow crawling by GPTBot, ClaudeBot, and PerplexityBot. As AI-powered search grows, being crawlable by these bots matters as much as traditional SEO.
Results
IndexNow pings after deploy mean new route pages appear in Bing within hours. Structured data earns rich results for transfer queries. Hreflang prevents duplicate content penalties across eight languages. All of this runs with zero ongoing cost.
Operated by Serenity Morocco Tours. Visit navetteforyou.com or WhatsApp +212 701 664 704.
Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.