Bolt.new sites ship as JavaScript shells. Learn the 5 ways to serve real HTML, set metadata, sitemap and robots.txt, and get indexed by Google and AI.

On this page
In short
a site built with Bolt.new is usually a React and Vite single-page app, so crawlers first receive an almost empty HTML shell and the content only appears after JavaScript runs. Google can render it, slowly and not always fully, but most AI crawlers do not run JavaScript at all. To rank, you need real HTML per URL (SEO Boost, a prerender layer or static generation), unique titles and meta tags on every route, a sitemap, a clean robots.txt and content worth indexing.
Want to go further? Ask
Quick quiz
Is SEO right for you, and how should you start?
Sorank matches your answers
Test it for 3 days on your own site and see where you stand on Google, ChatGPT and the other AIs.
Start 3-day free trial3 days free, then stop whenever you want. 90-day results guarantee, conditions apply.
Bolt.new turns a prompt into a working app in minutes. That speed comes from a specific stack: in most projects, Bolt generates a React front end bundled with Vite. The app is a single-page application (SPA). The server sends one index.html file for every URL, and a JavaScript bundle builds the page inside the browser.
For a human visitor, this is invisible. For a crawler, it changes everything. Open any fresh Bolt project, right click, choose "View page source" and you will usually see something close to this:
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Vite + React + TS</title>
<script type="module" crossorigin src="/assets/index-a1b2c3.js"></script>
</head>
<body>
<div id="root"></div>
</body>
</html>
No heading, no paragraph, no link, the same generic title on every page. Everything a search engine needs to understand the page lives inside the JavaScript bundle.
Google handles JavaScript apps in three phases, as described in its JavaScript SEO basics documentation (Google Search Central): crawling, rendering, then indexing. Pages that return a 200 status go into a rendering queue where a headless Chromium runs the JavaScript. Only then does Google see your text and your links. Google itself still recommends server-side rendering or prerendering because it is faster and works for every bot.
In practice, this means three risks for a Bolt site:
<title> in the source HTML, pages look identical until rendered.The bots behind ChatGPT search, Perplexity or Claude mostly fetch raw HTML and do not execute client-side JavaScript. Netlify says it plainly in its announcement of the Prerender extension: AI chat tools generally do not run your JavaScript, so a SPA often shows them an empty shell. If your Bolt site is invisible to these bots, it cannot be quoted in an AI answer, whatever its quality. We explain the general mechanism in our guide to JavaScript SEO and AI crawlers.
What a crawler sees on a Bolt page
Before you fix anything, know what you are working with. Three choices made inside Bolt decide your SEO options.
Most Bolt projects start as React + Vite. You can also ask Bolt for other stacks. Bolt's hosting documentation (Bolt help center) states that Bolt hosting serves websites and single-page apps, and also Next.js apps, including pages built on the server at request time. Other server frameworks such as Astro or Remix must be built to static HTML first. That detail matters: a Next.js project can give crawlers full HTML natively, a Vite SPA cannot.
You publish either on Bolt hosting (a free .bolt.host address, or a custom domain on the Pro plan) or on Netlify, connected from the project settings. Custom domains do not move automatically between the two: switching host means repointing the domain yourself.
Check how Bolt wired navigation. React Router with BrowserRouter produces clean URLs like /pricing. HashRouter produces /#/pricing, and Google cannot reliably treat fragments as separate pages. If you see a # in your URLs, fix that first.


There is no single right answer. The best method depends on your framework, your host and how often your content changes. Here are all the options, from the lightest to the heaviest.
Principle: Bolt's help center describes SEO Boost as a feature that generates a ready-to-go HTML version of each page in advance, so crawlers receive full pages instead of the empty shell. When to use it: you host on Bolt with a custom domain and you want a fix without touching code. Advantages: one switch, no new vendor. Limits: it only works with a connected custom domain, it is off by default, and it does not write your titles, sitemap or structured data for you. Some users report issues with Next.js App Router projects; if you use Next.js, you get server HTML anyway and may not need it. Example: a marketing site of 10 static pages on example.com hosted by Bolt.
Gear icon (top center) > All project settings > Domains & Hosting > Enable SEO Boost
Principle: an Edge Function spots bot traffic and sends it to a headless Chromium that returns the rendered HTML. Netlify states the cached version is purged on every new deploy. When to use it: you already publish your Bolt project to Netlify. Advantages: the extension itself is free on all plans (function calls and bandwidth are billed as usual), no code change, logs in Netlify Observability. Limits: humans and bots get different responses, so you must check that both match; the legacy Netlify prerendering is being retired, so old projects need to move to the extension. Example: a Bolt SaaS landing page plus blog on Netlify.
Principle: a service sits in front of your site (often through a Cloudflare Worker or DNS) and serves cached snapshots to crawlers. When to use it: you host on Bolt without SEO Boost, or you need fine control of cache rules and bot lists. Advantages: works with any host. Limits: a monthly bill that grows with pages, another moving part, and stale snapshots if the cache is not refreshed after updates.
Principle: during npm run build, a tool visits each route and writes a real HTML file per URL (/pricing/index.html, /blog/my-post/index.html). When to use it: your content changes when you deploy, not every minute. Advantages: the most robust result, the same HTML for humans and bots, no runtime cost. Limits: you must list or discover every route, and pages built from live database data need a rebuild to update. Example: ask Bolt to add a prerender step with a Vite plugin or a static generation script, then check dist/ contains one folder per route.
Principle: rebuild the project in Next.js (which Bolt hosting supports) or Astro built to static, so the server sends complete HTML. When to use it: SEO is your main acquisition channel, you plan a large blog or hundreds of programmatic pages. Advantages: native metadata API, server sitemaps, no workaround. Limits: real migration work, and Bolt may need several prompts to port components cleanly. Our Next.js SEO guide covers the target setup.
| Method | Effort | HTML for AI bots | Same HTML for users and bots | Best for |
|---|---|---|---|---|
| SEO Boost | Very low | Yes | No (bot snapshot) | Bolt hosting with custom domain |
| Netlify Prerender | Low | Yes | No (bot snapshot) | Projects published on Netlify |
| Third-party prerender | Medium | Yes | No (bot snapshot) | Any host, custom cache rules |
| Static generation | Medium | Yes | Yes | Marketing sites, blogs, docs |
| Next.js or Astro | High | Yes | Yes | SEO-first businesses, large content sites |
Prerender layer vs real static HTML
Our recommendation: turn on SEO Boost or Netlify Prerender today so you stop losing crawls, then plan static generation for every page that targets a keyword.
Here is the exact order we follow on a Bolt project. Each step comes with the prompt or the code to use.
The 7-step Bolt.new SEO setup
Ask Bolt to use path-based routing and real links. Paste this prompt:
Use React Router with BrowserRouter (not HashRouter). Every navigation element
must be a real React Router <Link> or an <a> tag with an href, never an onClick on a div
or button. Use lowercase, hyphenated, descriptive paths (/pricing, /blog/post-slug).
Then make sure the host returns index.html for deep links. On Netlify, a public/_redirects file does it:
/* /index.html 200
With react-helmet-async (or the native <title> support in React 19), each page sets its own head tags:
import { Helmet } from "react-helmet-async";
export default function Pricing() {
return (
<>
<Helmet>
<title>Pricing: plans for teams of every size | Example</title>
<meta name="description" content="Compare our three plans, see what each includes and start a free trial." />
<link rel="canonical" href={SITE_URL + "/pricing"} />
<meta property="og:title" content="Example pricing" />
<meta property="og:image" content="https://www.example.com/og/pricing.png" />
</Helmet>
<h1>Pricing</h1>
</>
);
}
Also replace the default <title>Vite + React + TS</title> in index.html with your brand title: it is what non-rendering bots see if nothing else works. Keep a single canonical per page: Google warns that a canonical injected by JavaScript must not conflict with one already in the source HTML.
Tip
Need titles and descriptions fast for every route? Generate them with our free meta tags generator, then paste them into your Helmet blocks.
Pick a method from the previous section. On Bolt hosting with a custom domain, enable SEO Boost. On Netlify, install the Prerender extension, open it in the project sidebar, tick "Enable prerendering", save and redeploy. For static generation, prompt Bolt:
Add a build step that prerenders every route listed in src/routes.ts to static
HTML in dist/, one index.html per route, including the Helmet head tags.
Keep client-side hydration so the app stays interactive.
Files placed in Bolt's public/ folder are served at the root. Create public/robots.txt:
User-agent: *
Allow: /
Disallow: /dashboard/
Disallow: /account/
User-agent: GPTBot
Allow: /
User-agent: OAI-SearchBot
Allow: /
User-agent: PerplexityBot
Allow: /
Sitemap: https://www.example.com/sitemap.xml
Never block /assets/: Googlebot needs your JS and CSS to render. For the bot-by-bot choices, see our guide to robots.txt for AI crawlers. Then add public/sitemap.xml, or ask Bolt to generate it at build time from your routes and your database posts:
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url><loc>https://www.example.com/</loc><lastmod>2026-11-18</lastmod></url>
<url><loc>https://www.example.com/pricing</loc><lastmod>2026-11-18</lastmod></url>
<url><loc>https://www.example.com/blog/bolt-new-seo</loc><lastmod>2026-11-18</lastmod></url>
</urlset>
Tip
No time to write it by hand? Our free XML sitemap generator builds a clean file you can drop into public/.
A SPA answers 200 for any URL, even /this-does-not-exist. Google calls that a soft 404. Its documentation gives two fixes: redirect unknown routes with JavaScript to a URL the server answers with a real 404, or add <meta name="robots" content="noindex"> on your NotFound component. With static generation, the clean option is a real 404.html that the host serves with a 404 status.
JSON-LD helps Google and AI models connect your pages to your brand. Put the Organization block in index.html so it exists even without rendering:
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Organization",
"name": "Example",
"url": "https://www.example.com",
"logo": "https://www.example.com/logo.png",
"sameAs": ["https://www.linkedin.com/company/example"]
}
</script>
Test what a non-rendering bot receives. This command fetches your page like a crawler and counts how much text comes back:
curl -s -A "Mozilla/5.0 (compatible; GPTBot/1.0)" https://www.example.com/pricing | grep -o "<h1[^>]*>.*</h1>"
If the command returns your H1, bots get real HTML. If it returns nothing, your prerender layer is not active for that user agent. Then open Google Search Console, run URL Inspection, click "Test live URL" and "View tested page" to compare the rendered HTML with the screenshot. Finally, submit your sitemap to Google.
Tip
Run our free AI crawlability audit on your Bolt domain: it shows which bots can read your pages and which only get the empty shell.

Once crawlers can read your pages, they still need a reason to rank them. A Bolt landing page with a hero, three feature cards and a pricing table rarely has enough text to match a search query.
List the questions your buyers type into Google and into ChatGPT, then give each one its own URL. A site with five pages can only rank for a handful of queries. A site with a home page, feature pages, use case pages and a blog can rank for hundreds.
The simplest structure on Bolt is a posts table in Supabase or Bolt Database, a /blog index route and a /blog/:slug route. The trap: posts loaded from the database at runtime are invisible to non-rendering bots unless your prerender or static build includes them. Make sure the sitemap and the prerender step read the same table.
Writing those posts every week is where most founders stop. Sorank's AI blog article generator researches the keyword, writes the article and publishes it on your schedule, so the blog grows without you prompting Bolt for every post.
AI answers quote short, self-contained passages. Start each section with a direct answer, use clear H2 and H3 headings, keep facts in lists and tables, and name your brand and product in plain text (not only in a logo image).
Content checklist for a Bolt page that ranks
Vite produces lean bundles, but generated apps tend to accumulate weight: full icon libraries, uncompressed hero images, animation packages loaded on every page.
fetchpriority="high".import { Check } from "lucide-react") and lazy load heavy routes with React.lazy.font-display: swap.Audit the project for performance: convert images in public/ to WebP with
explicit width/height, lazy-load routes with React.lazy and Suspense, import
lucide-react icons individually, and remove unused dependencies from package.json.
Prerendering also helps here: the browser paints real HTML before the JavaScript finishes, which improves the first view on slow phones.
Ranking on Google is half the job. Buyers now ask ChatGPT, Gemini, Claude and Perplexity for recommendations, and those tools only cite pages their bots could read.
public/llms.txt. It costs nothing to add.You cannot improve what you do not track. Sorank's AI mention tracking checks whether ChatGPT, Gemini, Claude and Perplexity cite your site on the questions your buyers ask, so you see the effect of each fix on your Bolt site.
From Bolt page to AI citation
These are the problems we see most often when auditing Bolt projects. For each one: what it is, how to spot it, how to fix it.
What it is: every page keeps Vite + React + TS or the project name as its title. How to spot it: search site:yourdomain.com on Google; identical titles in the results. How to fix it: edit index.html, then add per-route Helmet tags (step 2).
What it is: URLs like /#/features. How to spot it: a # in the address bar on internal pages. How to fix it: switch to BrowserRouter and add the host rewrite rule; redirect old hash URLs with a small script that reads location.hash and calls history.replaceState.
What it is: buttons or divs with onClick={() => navigate("/x")}. Crawlers follow href attributes, not click handlers. How to spot it: inspect a menu item; no <a href>. Our internal link analyzer lists the real links found on a page. How to fix it: replace with <Link to> everywhere.
What it is: publishing the final site on the free subdomain. How to spot it: your URL ends in .bolt.host. How to fix it: connect a custom domain (Pro plan). It builds authority on a domain you own, and SEO Boost requires it anyway. If you later move hosts, set 301 redirects from every old URL.
What it is: bots receive an old snapshot after you changed prices or copy. How to spot it: run the curl test from step 7 after a deploy and compare with the live page. How to fix it: make sure the cache purges on deploy (Netlify's extension does), or trigger a recache with your provider's API.
What it is: the useful text sits in a dashboard, a modal or a tab fetched on interaction. How to spot it: the URL Inspection screenshot in Search Console shows a near-empty page. How to fix it: move public content to public routes rendered on load; keep only private data behind the login.
What it is: a noindex meta tag added during development and later "removed" by JavaScript. Google may skip rendering when it sees noindex in the source, so the JavaScript removal never runs. How to spot it: view source and search for "noindex"; check the Pages report in Search Console. Our free indexability checker flags it in one click. How to fix it: remove it from index.html itself.
What it is: Disallow: /assets/ copied from a template. How to spot it: the rendered screenshot in Search Console is unstyled or blank. How to fix it: delete the rule; Googlebot must load your JS and CSS.
What it is: a broad prompt like "redesign the site" rewrites components and drops Helmet tags, JSON-LD or the sitemap script. How to spot it: titles change back after a Bolt session. How to fix it: keep SEO settings in one file (src/seo.ts), tell Bolt in each prompt not to touch it, and re-run the checks after every major change.
Warning
Bolt edits many files per prompt. Before publishing a big change, view the page source of three key URLs and run the curl test. Two minutes of checking avoids weeks of lost rankings.
Bolt is not alone in this situation. Lovable, v0 and similar builders also produce React apps, with the same rendering question. We cover the Lovable case in detail in our Lovable SEO and GEO guide, and the generic fixes in single page application SEO and React SEO.
| Point to check | Bolt.new (Vite SPA) | Bolt.new (Next.js) | Classic CMS |
|---|---|---|---|
| HTML in the first response | No, unless prerendered | Yes | Yes |
| Per-page metadata | Manual (Helmet) | Built-in metadata API | Built-in fields |
| Sitemap | Manual or build script | Route handler | Usually automatic |
| Speed to launch | Very fast | Fast | Medium |
| Risk of SEO regressions on edits | High | Medium | Low |
The takeaway: Bolt is an excellent way to ship, as long as you treat rendering, metadata and content as part of the build, not as an afterthought.

If you only have one hour, do these in order:
<div id="root">, rendering is your first job.index.html and add unique titles and descriptions to your main routes.robots.txt and sitemap.xml to public/.Final Bolt.new SEO check
Bolt.new is great for building fast, but its default React and Vite apps send an almost empty HTML shell to crawlers. Google can render it with delay, while most AI crawlers cannot. With SEO Boost, a prerender layer or static generation, plus per-page metadata and a sitemap, a Bolt site can rank well.
SEO Boost is a Bolt hosting setting that generates a ready-to-go HTML version of each page in advance, so crawlers receive full content instead of an empty shell. It only works on projects with a connected custom domain and is off by default. You enable it in All project settings, Domains & Hosting.
Create robots.txt and sitemap.xml in the public folder of your Bolt project: files there are served at the root of your domain. Reference the sitemap in robots.txt, list every public URL, and regenerate the sitemap at build time if you publish blog posts from a database. Then submit it in Google Search Console.
