/about — broken on Lovable

Why this page hydrates wrong

SSG produces build/client/about/index.html with the fully rendered About page baked in (we then copy build/clientdistfor deployment). But Lovable's hosting layer doesn't resolve /about/about/index.html. Instead, it falls back to the root index.html (the home page) and lets the SPA router take over.

What should happen

A proper static host (Cloudflare Pages, Netlify, Vercel) automatically maps /about to /about/index.html. No hydration mismatch, no flash, instant SEO-friendly HTML.

The workaround

Until Lovable hosting supports nested index.html resolution, copy build/client into dist and deploy that folder to Cloudflare Pages with wrangler pages deploy dist (see the home page for the full commands).

Back to home