All posts

Indexing

Why your Lovable site isn't showing on Google (and how to fix it)

Published your Lovable site weeks ago and it still won't appear in search? Here are the 5 default settings causing it — and the 10-minute fix for each.

·6 min read

The short answer

Your Lovable site isn't showing up on Google because of one (or several) of five default settings: it's a client-rendered React app with no HTML for crawlers, every page has the same <title> tag, there's no sitemap.xml, no canonical tags, and the default robots.txt is either missing or wrong.

Fix all five and most Lovable sites get indexed within 7–14 days.

1. Google sees a blank page

Open your-site.com, right-click and pick "View Page Source". If you see <div id="root"></div> and almost no other content, that's the problem. Googlebot doesn't reliably execute JavaScript on first crawl. It sees an empty shell and moves on.

The fix: turn on server-side rendering or pre-rendering. For a stock Lovable project the fastest path is to deploy with a static renderer (Lovable's TanStack Start template ships with SSR built in — make sure it's not disabled).

2. Every page has the same title

The default Lovable title is "Vite + React". On every page. Google sees five pages with identical titles and treats them as duplicates — ranking none of them. We wrote a separate guide on this: Fix the Lovable "Vite + React" title tag bug in 5 minutes.

3. No sitemap.xml

Without a sitemap, Search Console literally cannot find pages that obviously exist on your site. Add a sitemap at /sitemap.xml and submit it in Search Console. In TanStack Start (Lovable's stack) it's a single file:

// src/routes/sitemap[.]xml.ts
export const Route = createFileRoute("/sitemap.xml")({
  server: { handlers: { GET: async () => new Response(xml, {
    headers: { "Content-Type": "application/xml" }
  }) } }
});

4. No canonical tags

/page, /page/, and /page?ref=x are all competing with each other. Add a single canonical tag per page and Google consolidates authority into one URL.

5. The default robots.txt is wrong

Either it's missing entirely (so crawlers wander into preview URLs and admin pages) or it's blocking the entire site. Open your-site.com/robots.txt and check it says:

User-agent: *
Allow: /
Sitemap: https://your-site.com/sitemap.xml

How long until you appear?

Once these five things are fixed, request indexing in Search Console. Most Lovable sites we audit get indexed within 7–14 days. If you're still not showing after that, the issue is usually content depth or backlinks — at that point it's a marketing problem, not a technical one.

Don't want to fix it yourself?

Get the free 14-point audit.

We scan your site for the same issues this article describes — plus 13 more — and send you the full report. No signup needed.

Run free audit