Sitemaps Done Right: How We Build Them on the Fly
Why we generate sitemaps per content type, cache them for an hour and ping nothing.
Product and article pages output JSON-LD structured data, which lets search engines show prices, ratings and publish dates in results.
What search engines see
We never block CSS or JavaScript in robots.txt; search engines need them to render the page the way visitors see it.
Good search results start with boring fundamentals: one clear title per page, a real description, clean URLs and pages that load quickly on a phone.
- One sitemap index plus one map per content type
- JSON-LD for products, articles and FAQs
- Canonical and hreflang tags
- Open Graph and social card tags
“Content is king.”
— Bill Gates, essay published on microsoft.com, 1996
How we generate it
Launch Crate generates sitemaps per content type and caches them for an hour, so large stores never rebuild the whole map on every request.
<script type="application/ld+json">
{"@context":"https://schema.org","@type":"Product","name":"Launch Crate","offers":{"@type":"Offer","price":"49.00","priceCurrency":"USD"}}
</script>
Checking the result
Canonical URLs are set automatically, which stops filtered and paginated listings from competing with the main page.
We validate every template with the rich results test before release and keep the failing examples as regression tests.
Meta descriptions fall back to the excerpt, so writers who fill in the excerpt get a better search snippet for free.
Open Graph tags come from the same fields, which keeps social previews and search snippets in step.
Questions or a better approach? Leave a comment below, or reply to the build-log email and we will fold the best ideas into the next release.
Clear, practical and no fluff. Thank you.
Thanks for reading! Yes, that is on the roadmap for the next point release.
We ran into that too. Installing the extension first fixed it for us.
The bit about writing the rollback plan down first really landed for our team.
Glad it helped. Let us know how the migration goes.
How long did this take you end to end? Trying to plan our own migration.
PostgreSQL is supported from 3.2 onwards; the steps are the same.
I tried this on a small VPS and it worked first time. Thanks for the clear steps.