// From Lovable, Bolt or Replit to production
Why doesn't Google index my Lovable app, and how do I fix it?
Older Lovable apps are React single-page apps: the server sends an empty HTML page and the content appears after JavaScript runs, so Google indexes them late or partly. Lovable apps created since 13 May 2026 render on the server. To fix an older app, enable pre-rendering, upgrade it to TanStack Start, or move public pages to a server-rendered site.
Want it done for you? Vibe-code to Production: from €1,500, fixed quote in 24h →

By Gabriel Cazaciuc, Founder & lead developer, Netcraft Digital
Last updated
Key facts
- New Lovable apps (since 13 May 2026)
- TanStack Start with server-side rendering
- Source: Lovable docs, Nov 2026
- Older React + Vite apps
- Pre-rendered only for verified crawlers; other bots get the empty shell
- Source: Lovable docs, Nov 2026
- Sitemap
- Lovable creates robots.txt, but not always a sitemap
- Source: Lovable docs, Nov 2026
- JavaScript pages at Google
- Wait in a render queue that “can take longer” than a few seconds
- Source: Google Search Central, Nov 2026
- SEO fix with us
- Included in the Production tier, from €3,000
- Source: Our fixed-price offer, Nov 2026
Why doesn't Google index my Lovable app?
Because the first HTML your server sends has no content in it. Lovable apps built before May 2026 are React single-page apps made with Vite: every URL returns the same small HTML file, and the text, headings and links are added by JavaScript in the browser.
This is roughly what a crawler receives for every page of such an app, whether it is the home page, the pricing page or a blog post:
<head>
<title>My App</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/assets/index-4f2a9c.js"></script>
</body>Google says it processes JavaScript sites in three phases: crawling, rendering and indexing. Rendering waits in a queue, and Google's own documentation says that wait can be longer than a few seconds. Many other crawlers do not run JavaScript at all. The result is the pattern founders describe in Search Console: “Crawled, currently not indexed”, or every page indexed with the same title.
Which Lovable stack is my app on?
Open package.json in your GitHub repo. If it lists @tanstack/react-start, the app renders on the server and the basic SEO problem is solved. If it does not, the app is React + Vite and depends on pre-rendering.
| Stack | What Google gets | What other crawlers get | What to do |
|---|---|---|---|
| TanStack Start (new apps since 13 May 2026) | Full HTML on every request | Full HTML | Check titles, sitemap and canonical domain |
| React + Vite, hosted on Lovable | Pre-rendered HTML (verified crawler) | Unverified bots and link checkers get the empty shell | Upgrade or keep pre-rendering and fix late-loading content |
| React + Vite, exported to your own host | The empty shell, rendered later | The empty shell | Add pre-rendering or move public pages to server rendering |
The third row is the one people miss. Lovable's pre-rendering works on Lovable's hosting. If you moved the app to your own hosting as a static Vite build, your public pages are back to an empty shell unless you add pre-rendering yourself.
What should I check before changing any code?
Some indexing problems are settings, not rendering, and they are faster to fix. Go through this list first.
Basic Lovable SEO checks
- The project is published and website access is not restricted (unpublished and restricted projects are never indexed)
- The app is on a custom domain, not only the lovable.app address
- The lovable.app address redirects to your domain or has a canonical tag pointing to it, so Google does not see two copies
- public/sitemap.xml exists, lists only public URLs, and is submitted in Google Search Console
- robots.txt does not block the pages you want indexed
- Every public route has its own title, description and og:image
- URL Inspection in Search Console shows your text in the rendered HTML, not an empty root element
Connecting the domain correctly is covered in How to connect a custom domain to a Lovable app.
Why does a pre-rendered page still show up empty?
Because the snapshot is taken before the data arrives. Lovable's docs warn that content that loads late may be missing from pre-rendered pages. In practice this hits pages that fetch their content from Supabase after the first render: a pricing page that reads plans from a table, a blog that loads posts from the database, a directory that lists records.
- Symptom: the page title is right, but the indexed text is only the header and footer.
- Cause: the content comes from a client-side query that finishes after the snapshot.
- Fix: put the text of public pages in the code (or load it at build time), and keep database queries for logged-in screens.
The same applies to meta tags set with a client-side head manager. Crawlers that do not run JavaScript see the default title from index.html on every URL.
What are the three ways to fix Lovable SEO?
Pre-rendering is the cheapest fix, upgrading to server rendering is the most complete, and a separate marketing site is the cleanest when the app itself has no public content worth indexing.
| Fix | How it works | Good when | Limits |
|---|---|---|---|
| 1. Pre-rendering | Crawlers get a rendered HTML snapshot of each route | Few public pages, content written in the code | Late-loading content can be missing; on your own host you must set it up |
| 2. Server rendering (TanStack Start or Next.js) | Every request returns full HTML | Blog, landing pages per use case, public directories | Needs a host that runs a server, not only static files |
| 3. Separate marketing site | Public pages on a server-rendered site, the app on app.yourdomain.com | The app is mostly behind login | Two codebases to keep consistent |
Fix 1: pre-rendering
On Lovable hosting, older React + Vite projects get pre-rendering automatically for verified crawlers, including Google, Bing and the AI search crawlers of ChatGPT, Perplexity, Claude and Gemini. Your job is to make sure the content is in the HTML when the snapshot runs (see the section above). On your own hosting you need a build-time pre-rendering step or a pre-rendering service.
Fix 2: server rendering
Lovable can upgrade a React + Vite project to TanStack Start. The upgrade does not change the published site until you publish again, so you can test it first. For apps that will grow a blog or many landing pages, we usually move the public part to Next.js, which renders on the server and handles metadata, sitemaps and caching per route.
Fix 3: a separate marketing site
If almost everything valuable is behind login, keep the app as it is on a subdomain and build the public pages on a server-rendered site at the root domain. This is also the safest option when you want to keep prompting the app in Lovable without risking the pages that bring traffic.
How long until Google indexes the fixed pages?
Google gives no fixed time. After the fix, submit the sitemap again, use URL Inspection to request indexing for your main pages, and watch the Pages report in Search Console. Pages that were marked “Crawled, currently not indexed” need to be crawled again before anything changes.
SEO is one of five items on the production checklist for AI-built apps. If you would rather have someone do it in the code, see hire a Lovable developer.
