Skip to content

SPA SEO

The problem of getting search engines and AI crawlers to read a single-page app, which builds its pages in the browser with JavaScript.

Also called single-page app SEO.

Most Base44 apps are single-page apps, and so is this site. The server sends an almost empty HTML file, then JavaScript builds the page. A crawler that doesn't run JavaScript sees a blank shell.

Google runs JavaScript, eventually. Plenty of AI crawlers and link-preview bots don't bother.

The fix is prerendering: handing crawlers a rendered copy of each page. Base44 says it does exactly this, refreshed when you publish, and falls back to a short summary for pages it hasn't rendered yet.

When I checked a few of my own Base44 apps with bot user agents, one got the full page and the others got the summary. So I don't assume any more. I fetch pages as Googlebot and compare.

The rest is the usual list: a real title, description and canonical on every page, JSON-LD, a sitemap, and a custom domain, because Base44's SEO features are designed around one.

Related:JSON-LD, GEO and llms.txt.

Where I've used it: