Field notes Field note 13
Bolt SEO: make your Bolt.new site readable by Google
Bolt SEO explained: why Bolt.new sites often send Google empty HTML, how to check with view-source and URL Inspection, and the fixes from small to large.
· 7 min read
Bolt SEO comes down to one question: does your page's HTML contain the content, or an empty shell? Netlify's guide says Bolt.new often generates a Vite and React app, and a plain Vite and React app renders in the browser. If yours does, the HTML Google first fetches is nearly empty. Check your own project: open package.json and look at the framework.
It matters because Google handles empty-shell pages through an extra rendering step, and other crawlers may not run JavaScript at all. This is not a reason to avoid Bolt. This guide shows how to check your site in a few minutes and lists fixes from the smallest to the largest. It is a sibling of Lovable SEO, and the checks are the same.
Checked on 2026-11-04 against: Netlify guide for deploying Bolt apps, Bolt help center (Netlify hosting, Bolt Cloud), Google JavaScript SEO docs, Search Console URL Inspection help, Page indexing help.
What Bolt usually builds
Bolt.new often scaffolds a Vite and React project, but the framework depends on the prompt. Netlify's guide to deploying Bolt apps says Bolt often scaffolds a Vite, React and TypeScript app, and can also generate Next.js and other frameworks. So check rather than assume.
To see what you have:
- Open
package.jsonin the project. - Look under
dependenciesanddevDependencies.viteandreactwith nonext,astro,@remix-run/*,react-routerframework packages or@sveltejs/kitsuggests a browser-rendered single page app. - Look at the
buildscript. A Vite build outputs static files, normally todist/.
If you see Next.js, Astro or SvelteKit, parts of what follows still apply, but you may already be rendering on the server.
Why a Vite and React app can look empty to Google
A single page app sends one HTML file with a root div and a script tag. The headings and text appear after JavaScript runs.
Google's JavaScript SEO basics describe the process: Googlebot crawls the URL, and pages with a 200 status are queued for rendering, where "the page may stay on this queue for a few seconds, but it can take longer than that." Google runs the JavaScript and then indexes the rendered HTML.
So Google can usually read these pages. The practical risks are:
- Delay. The content is seen after the render queue.
- Other bots. Google notes that "not all bots can run JavaScript". Link preview bots and many AI crawlers may see only the shell.
- Fragile details. Canonicals and robots tags set by JavaScript can misbehave. Google says the best way to set a canonical is in HTML, and that
noindexmay stop rendering from happening. - Silent failure. One script error or blocked file can leave the rendered page empty.
For the longer list of causes, see React site not indexed? Why Google skips your pages.
Check 1: view-source
This shows what a server sends before any JavaScript runs.
- Open a page of your published site in Chrome.
- Press Ctrl+U (Cmd+Option+U on Mac).
- Search for a sentence from the page body, and for your
<h1>.
If you find them, the content is in the HTML. If you see only <div id="root"></div> and a script tag, the page is browser-rendered. Dev tools' Elements panel is not the same thing, because it shows the page after JavaScript ran.
In a terminal: curl -s https://yoursite.com/ | grep -c "<h1". A count of zero on a page with a visible headline gives the same answer.
On a browser-rendered project, you should see the root div and script tags, and none of your visible text.
Check 2: URL Inspection in Search Console
View-source shows what a plain request gets. URL Inspection shows what Google got.
- Verify your site in Search Console.
- Paste a page URL into the inspection bar.
- Open View crawled page for the HTML Google stored.
- Run Test live URL, then View tested page for a fresh render, the screenshot, and any resources that failed to load.
Look for missing body text in the rendered HTML, a blank screenshot, or blocked scripts. Also look at the Page indexing report, where "Crawled, currently not indexed" and "Discovered, currently not indexed" are listed with Google's definitions. Those statuses do not prove a rendering fault, but they are the first place to look.
A healthy result is rendered HTML that contains your <h1> and body text, and a screenshot that looks like the real page.
Check 3: details that break regardless of rendering
- Real links. Google can crawl links that are
<a>elements with anhref, according to its link best practices. A button that navigates with a click handler is not reliably crawlable. - Real URLs. Google recommends the History API over URL fragments for client-side routing (JavaScript SEO basics). Avoid
#/pageroutes. - Real 404s. Single page apps often return 200 for missing pages. Google calls these soft 404s, and its guidance for client-rendered apps is a JavaScript redirect to a URL that returns a real 404, or a
noindexrobots meta tag on error pages. - A sitemap and a robots.txt that do not block your scripts. Google says it "won't render JavaScript from blocked files or on blocked pages".
Fixes, from small to large
Fix 1: set titles and descriptions per route with a head manager. A head manager such as React Helmet or a similar library sets the title, description and canonical for each route. This helps with unique titles and canonicals, and Google can read titles and descriptions set by JavaScript. It does not put your body text in the HTML. If view-source is empty, this fix alone does not change that. Keep it as a hygiene step and not as the solution.
Fix 2: prerender at build time. A prerender or SSG plugin for Vite runs your app at build and writes an HTML file for each route, with the content included. Your code stays React. It suits pages whose content is known at build: a marketing site, a blog, documentation. Pages that depend on a logged-in user or live data are not a fit. After adding it, repeat Check 1: the text should now be in view-source. Test pages that use window or document directly, because they can fail during the build step.
Fix 3: move to an SSR or SSG framework. Next.js, Astro, and Remix or React Router in framework mode can all produce HTML on the server or at build time. Your React components largely carry over. The cost is a restructure of routing, data loading and deployment. A common split: public pages in the framework, logged-in app as a single page app. If you keep a single page app, set up GA4 on route changes. If the move changes URLs, follow the website migration SEO checklist.
Fix 4: prerender at the host. Some hosts and services can serve pre-rendered HTML to crawlers without changing the app. This is a kind of dynamic rendering. Google's dynamic rendering page calls it a workaround and not a long-term solution, and recommends server-side rendering, static rendering or hydration instead. Treat it as a stopgap and check what each crawler receives. We found no prerendering feature in Bolt's help center, so do not assume Bolt hosting provides it. Confirm with view-source and URL Inspection on your published site.
Deployment notes
Netlify is a common deploy target for Bolt projects. According to Netlify's guide and Bolt's Netlify page, you connect your Netlify account under Applications in Bolt's settings, then set the hosting provider to Netlify under Domains & Hosting and publish. Alternatively, you can download the project and deploy it by hand. For a Vite and React project, Netlify's guide gives npm run build as the build command and dist as the publish directory, and says Netlify detects these automatically for common frameworks.
Order matters. Netlify's guide says to choose Netlify before the first publish, because a project published to Bolt hosting cannot later move to Netlify. Bolt's page describes a switch that requires unpublishing the Bolt-hosted site first, and notes that custom domains do not transfer automatically. If you are switching, read both pages.
Three practical points follow from this:
- If you add a prerender step, make sure the build command runs it and the publish directory contains the generated files.
- Deep links need to resolve. A single page app on a static host usually needs a rewrite so that
/pricingloads the app, which is also why missing pages tend to return 200. Check your host's redirect settings, and check a made-up URL withcurl -I. - If you download the project and deploy it yourself, a framework change and a prerender step live in your copy of the code, not in Bolt's editor. Decide which copy is the source of truth before you start.
A sensible order of work
- Check
package.jsonfor the framework. - Run view-source on your five most important pages.
- Run URL Inspection on the same pages.
- Fix real links, URLs, 404s, sitemap and canonicals.
- Choose a rendering fix: prerender, or move.
- Request indexing for key pages and re-check in a few weeks.
No fix guarantees indexing or rankings. These remove barriers; content, links and demand still decide where you appear.
When to get help
If view-source comes back empty and you would rather not restructure the project yourself, making Bolt and React sites indexable is what we fix. For a first read, the free Site Scanner shows what crawlers receive from your URL.
Checklist
- Framework confirmed in
package.json - view-source shows the
<h1>and body text - URL Inspection live test shows the content, screenshot not blank
- Navigation uses
<a href>and real URLs - Missing pages return a real 404
- Unique title, description and canonical per route
- Sitemap lists final URLs; robots.txt does not block scripts
- Build command and publish directory include any prerendered output