Dev.to WebDev 🛠 Dev 👁 0 📖 2 min read

How We Built a Multi-Language Travel Site with Astro and Zero CMS Costs

We run a private transfer service in Marrakech, Morocco. Our site — navetteforyou.com — serves six languages, loads in under two seconds, and costs us nothing to host. Here is how we built it. The Problem Mos

We run a private transfer service in Marrakech, Morocco. Our site — navetteforyou.com — serves six languages, loads in under two seconds, and costs us nothing to host. Here is how we built it.

The Problem

Most transfer booking sites in Morocco run on WordPress with a booking plugin. They are slow, hard to translate, and expensive to maintain. We wanted something fast, multilingual, and cheap to operate at scale.

Why Astro

We chose Astro because it generates static HTML at build time. No server runtime, no database, no CMS subscription. The pages are pre-rendered and deployed to Vercel's edge network. Time to first byte is typically under 100ms worldwide.

Multi-Language Without a CMS

Instead of a headless CMS, we store all content in Markdown files organised by locale:

src/content/
  en/
    airport-transfer.md
    day-trips.md
  fr/
    transfert-aeroport.md
    excursions.md
  ar/
    ...

Each file has frontmatter with the route slug, SEO metadata, and pricing flags. Astro's content collections validate the schema at build time — if a translation is missing a required field, the build fails.

Schema and Structured Data

Every page outputs JSON-LD for LocalBusiness, Service, and FAQPage. The schema is generated from the same content files, so the structured data always matches what the page shows. Google Search Console confirms rich results for FAQ snippets.

What We Learned

  1. Static is fast enough. Our quote form posts to a serverless function. Everything else is static HTML.
  2. Markdown beats a CMS for small teams. We have three people. Nobody wants to log into a dashboard to fix a typo.
  3. Build-time validation catches errors before deploy. A missing Arabic translation breaks the build, not the live site.
  4. Edge hosting is free at our scale. Vercel's free tier handles our traffic comfortably.

The Result

The site loads in 1.2 seconds on a 3G connection in Marrakech. It ranks on the first page for several transfer-related queries in multiple languages. And we spend zero on hosting and CMS licenses.

If you are building a small service business site and think you need WordPress, consider whether static generation with Astro or a similar framework could do the job better for less money.

We are Marrakech Transport, operated by Serenity Morocco Tours. Private airport transfers and day trips across Morocco — get a quote or WhatsApp +212 701 664 704.

📰 Read the original article on Dev.to WebDev

Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.