---
title: "How to fix JavaScript SEO on a vibe coded site, route by route"
description: "JavaScript SEO for sites built with AI coding tools: what Google gets at its first look, three checks to run, and the fix for each kind of app."
author: "Vimanyu Aggarwal"
date: "2026-12-01"
canonical: "https://vunora.ai/blog/vibe-coded-website-seo-guide"
---

# How to fix JavaScript SEO on a vibe coded site, route by route

![A magnifying glass lying beside a gray laptop](https://vunora.ai/blog/vibe-coded-website-seo-guide.jpg)

You built the site with Lovable, Bolt, v0, Cursor or Claude Code. In your browser, every page looks right. In Google, half the pages are missing, or every result carries the same title. Nothing is broken. Google reads your site in a different order from the way your browser shows it, and on a site built with AI coding tools that order decides what gets found.

This is the hub for JavaScript SEO on vibe coded sites. It shows what a crawler gets from your site, the three checks that tell you which kind of site you have, and the fix for each kind. Then it lists the page-level work, with a post for each part.

## One request, one empty shell

When a crawler asks for a page, your server sends HTML. On a site that renders on the server, that HTML already holds the page's words. On an app that builds its pages in the browser, called [client-side rendering](https://vunora.ai/glossary/client-side-rendering), the server often sends a shell like this, the same one for every address:

```html
<html>
  <head><title>My App</title></head>
  <body>
    <div id="root"></div>
    <script type="module" src="/assets/index.js"></script>
  </body>
</html>
```

The words arrive only once the code runs in a browser. Until then, the page is a title and an empty box.

Google copes with that, with a wait. Its docs say "Google processes JavaScript web apps in three main phases": crawling, rendering and indexing. Pages queue for the middle step: "The page may stay on this queue for a few seconds, but it can take longer than that."

Other readers do not wait. Google itself calls server-side rendering or pre-rendering "still a great idea because it makes your website faster for users and crawlers," and adds that "not all bots can run JavaScript." Which AI crawlers skip the code is the subject of [why ChatGPT and Perplexity see an empty page](https://vunora.ai/blog/ai-crawlers-do-not-run-javascript).

The empty shell is common on vibe coded sites. On 26 Nov 2026 we opened 517 vibe coded home pages the way Google first sees them. 207 of them, 4 in 10, showed no words at Google's first look, and 199 of those filled in once the code ran. At the first look, 36% had at least one heading. Once the code runs, 96% did. [The study](https://vunora.ai/research/crawler-first-read) has the method and the data.

## Run the three checks

Each check answers one question: what does Google get from this address before any code runs, and after?

**1. URL Inspection in Search Console.** Paste the address and choose Test live URL. Google's help page says "This is a live test: the tool fetches and examines the URL in real time." Then choose View tested page. It shows the HTML Google got and, under the Screenshot tab, a picture of the page. If the screenshot matches your browser, Google gets your words once the code runs.

**2. curl from your terminal.** This shows what any crawler gets at its first look, before any code runs:

```bash
curl -s https://yoursite.com/pricing | grep -ioE "<title>[^<]*</title>|<h1[^>]*>[^<]*"
curl -s https://yoursite.com/about | grep -ioE "<title>[^<]*</title>|<h1[^>]*>[^<]*"
```

Two addresses, two titles and two headings means each page sends its own words. The same title twice and no heading means every address gets the same shell.

**3. View source.** Open `view-source:https://yoursite.com/pricing` in Chrome and search for a sentence you can see on the page. If it is not there, the sentence arrives once the code runs. The Elements panel in developer tools shows the page after the code has run, so it always looks complete. View source does not.

To skip the terminal, type the address into Vunora's [site check](https://vunora.ai/check). It puts the words Google gets at its first look next to a picture of the page a person sees.

## The fix, by kind of app

There are three ways out of the empty shell: render each page on the server, pre-render the pages you know at build time, or move the site to a framework that does one of those for you.

**What each kind of app sends at Google's first look**

|                                   | What the first HTML holds                                                                     | The fix                                                                            |
| --------------------------------- | --------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
| Next.js, app router               | The page's words. Pages are Server Components by default.                                     | Keep pages as Server Components. Mark only the interactive parts with use client.  |
| TanStack Start                    | The whole page. Its docs list full-document SSR.                                              | Nothing to change in how it renders. Check each route's title.                     |
| Vite with React                   | A shell, the same for every address                                                           | Pre-render the routes you know, or move to a framework that renders on the server. |
| Older Lovable app, React and Vite | A shell for most readers. Lovable sends copies made ahead of time to verified search engines. | Upgrade the app to TanStack Start in Lovable.                                      |

_From each framework's docs, read December 1, 2026. Confirm your own site with the three checks._

**Render on the server.** In Next.js, "By default, layouts and pages are Server Components." On first load, Next.js docs say the HTML "is used to immediately show a fast non-interactive preview of the route to the user." [The Next.js SEO guide](https://vunora.ai/blog/nextjs-seo) covers titles, sitemaps and 404s on that side.

TanStack Start lists "Full-document SSR" among its features and describes it as "Server-side rendering for better performance and SEO."

**Pre-render at build time.** Vite has server-side rendering built in. Its guide calls it "a low-level API meant for library and framework authors." For routes you know ahead of time, the same guide says "we can pre-render these routes into static HTML using the same logic as production SSR," and calls that "a form of Static-Site Generation (SSG)." [Static site generation](https://vunora.ai/glossary/static-site-generation) explains the pattern, and [how to fix React SEO on a Vite app](https://vunora.ai/blog/vite-react-seo) walks through each fix in the code.

**Move.** If neither fits, move the site to a framework that renders on the server. That is a developer's job and a rebuild of the routing, so plan it like a site move, with redirects for any address that changes. [How to get website migration SEO right](https://vunora.ai/blog/moving-to-a-vibe-coded-site-without-losing-traffic) covers that part.

**Prompt for Claude Code or Cursor**

```text
Answer these questions about this repository, with the file that shows each answer. Change nothing.

1. Which framework serves the pages: Next.js, TanStack Start, Vite with React Router, or something else?
2. Does the server send each route's words in its first HTML response, or does the browser build them once the code runs?
3. Which routes set their own title and meta description, and where?
4. What does an address with no page return: a 404 status, or the app shell with a 200?
5. If the pages are built in the browser, list the routes whose content is known at build time, and the smallest change that would pre-render them.
```

Paste it in your tool, opened in your site's repository.

## Lovable, by generation

Lovable apps come in two generations, and the fix depends on which one you have.

Lovable's docs say TanStack Start "became the default for new projects on May 13, 2026, and for new Enterprise projects on June 22, 2026." On those apps, in Lovable's words, "Everyone receives the same complete page, every time: visitors, search engines, AI crawlers."

Apps made before that date are React with Vite. "Older React + Vite projects keep working," the same page says. For them, Lovable sends copies of published pages made ahead of time "to verified search engines and social preview bots", and other tools see very little. The page also says anyone with edit permission can upgrade an older project to TanStack Start, on any plan.

Titles and share cards split the same way. "On new Lovable apps created from May 13, 2026, which use TanStack Start, you can name one page instead of the whole site." And "Older React + Vite apps carry one set of metadata for the whole site." [Lovable SEO, page by page](https://vunora.ai/blog/lovable-seo) has the fix list for both.

## Bolt, v0, Cursor and Claude Code: read the repo

This guide makes no claim about which framework Bolt, v0, Cursor or Claude Code picks for a project. The repo tells you. Run this in its root:

```bash
grep -E '"(next|@tanstack/react-start|vite|react-router|react-router-dom)"' package.json
```

`next` means Next.js. `@tanstack/react-start` means TanStack Start. `vite` with `react-router` and neither of the others usually means a single page app that builds its pages in the browser. Then run the three checks above to confirm what Google gets.

## What the Page indexing report is telling you

Search Console's Page indexing report sorts the addresses Google knows by status. On a vibe coded site, five rows come up again and again.

**Page indexing rows, in Google's words**

|                                           | Google's definition                                                                                | Read next                               |
| ----------------------------------------- | -------------------------------------------------------------------------------------------------- | --------------------------------------- |
| Crawled - currently not indexed           | The page was crawled by Google but not indexed.                                                    | Crawled, currently not indexed          |
| Discovered - currently not indexed        | The page was found by Google, but not crawled yet.                                                 | Crawled, currently not indexed          |
| Soft 404                                  | The page request returns what we think is a soft 404 response.                                     | Soft 404 on a single page app           |
| Duplicate without user-selected canonical | This page is a duplicate of another page, although it doesn't indicate a preferred canonical page. | Canonical tag and the Lovable subdomain |
| Page with redirect                        | This is a non-canonical URL that redirects to another page.                                        | 301 redirects after a site move         |

_Definitions from the Page indexing report help page, read December 1, 2026._

Each row has a post: [crawled, currently not indexed](https://vunora.ai/blog/crawled-currently-not-indexed-vibe-coded-site), [soft 404 on a single page app](https://vunora.ai/blog/soft-404-single-page-app), [the canonical tag and the Lovable subdomain](https://vunora.ai/blog/canonical-tag-lovable-subdomain), and [301 redirects after a site move](https://vunora.ai/blog/301-redirects-after-a-site-move).

A [soft 404](https://vunora.ai/glossary/soft-404) is the one most tied to JavaScript. Google gives two fixes for a single page app: "Use a JavaScript redirect to a URL for which the server responds with a 404 HTTP status code," or "Add a `<meta name="robots" content="noindex">` to error pages using JavaScript."

## Then the page-level list

Once Google can read each page, the page itself has to say what it is. Each line below has a post of its own.

- **Titles and descriptions.** Google asks you to "Make sure every page on your site has a title specified in the `<title>` element." The tags a link preview uses are [Open Graph](https://vunora.ai/glossary/open-graph) tags: [fix the same preview on every link](https://vunora.ai/blog/open-graph-tags-vibe-coded-site).
- **Canonical links.** A [canonical URL](https://vunora.ai/glossary/canonical-url) names the one address Google should show. [Stop a tool's subdomain beating your domain](https://vunora.ai/blog/canonical-tag-lovable-subdomain).
- **robots.txt.** [robots.txt](https://vunora.ai/glossary/robots-txt) manages crawling, not indexing. [What to put in robots.txt](https://vunora.ai/blog/robots-txt-vibe-coded-site).
- **sitemap.xml.** A [sitemap](https://vunora.ai/glossary/sitemap) lists the addresses you want found. [Build and submit one for a React or Vite site](https://vunora.ai/blog/sitemap-xml-react-vite).
- **Links.** Google "can only crawl your link if it's an `<a>` HTML element (also known as anchor element) with an `href` attribute." A button that moves the visitor with a click handler leaves Google nothing to follow.
- **Structured data.** [Structured data](https://vunora.ai/glossary/structured-data) tells Google what a page is. [Add schema markup to a site built with AI](https://vunora.ai/blog/schema-markup-vibe-coded-site).
- **Speed.** [Core Web Vitals](https://vunora.ai/glossary/core-web-vitals) measure load, response and layout shift. [What fails on a vibe coded site, and why](https://vunora.ai/blog/core-web-vitals-vibe-coded-site).

For the whole list in launch order, with a command for each check, use [the vibe coded website checklist](https://vunora.ai/blog/vibe-coded-site-launch-checklist). For AI search, read [AI search for vibe coded sites](https://vunora.ai/blog/ai-search-for-vibe-coded-sites).

## How Vunora checks a JavaScript site

Vunora's [SEO checklist](https://vunora.ai/blog/check-every-page-against-the-seo-checklist) runs its checks after each import, after each publish and every Monday. On your live site, a run reads up to 50 pages, the way a crawler gets them, before any code runs.

The first check is the one this guide is about. Pages render on the server passes when "Title and H1 are in the HTML the server sends". When every page passes, it says "Every page checked sends its title and H1 from the server." When it fails, the card tells you what to change: "Build your pages as HTML on the server or at build time, so each address sends its own page."

On a site that builds its pages in the browser, Vunora says so on the checks it cannot read from your live pages. Some read "Not checked: your site builds its pages in the browser, so the server sends one HTML page for every address." Others are "Checked in Vunora only", against the pages and fields you keep in Vunora.

The other fixes depend on where the problem lives:

- **In your repo.** Fix sitemap.xml, Fix robots.txt and Fix llms.txt send a change to your GitHub repo as a commit or a pull request, the way your site is set to send edits.
- **In your words.** Write page titles with AI and Write meta descriptions with AI write drafts. The card says "Writes one draft for each page it changes. Nothing goes live until you publish."
- **In your code.** Pages render on the server has no fix button. Its fix is the work in the section above.

## Where this stops

- **Vunora does not change how your site renders.** It does not turn a Vite app that builds its pages in the browser into one that renders on the server, and no Vunora import does that conversion.
- **Vunora never hosts your site.** It imports Next.js, Vite with React and TanStack Start sites from GitHub, checks them, and sends fixes to your repo.
- **It does not submit your sitemap or request indexing.** You do both in Search Console.
- **It reads up to 50 pages of your live site per run.** The pages and posts you keep in Vunora are all checked.
- **No check promises a ranking.** Checks remove the reasons a page gets skipped. Whether it ranks depends on what it says and who links to it.

## Questions

### Can Google index a React app that builds its pages in the browser?

Yes. Google crawls, renders and indexes JavaScript apps, with a queue before the rendering step. Its own docs add that "not all bots can run JavaScript," so the HTML before the code runs still matters.

### Is a Lovable site bad for SEO?

It depends on the generation. Lovable apps made from May 13, 2026 run on TanStack Start and send each page whole. Older React and Vite apps send a shell to most readers and copies made ahead of time to verified search engines.

### Do I need server-side rendering for SEO?

Not for Google to index your pages. Google calls server-side rendering or pre-rendering "still a great idea" because it makes a site faster for users and crawlers, and because other crawlers may not run your code.

### How do I see exactly what Google sees?

Use URL Inspection in Search Console. Choose Test live URL, then View tested page, and compare the screenshot with your browser.

### Does Vunora fix JavaScript SEO?

It finds the problems and fixes the ones that live in your repo or your words. How your site renders stays in your code.

## Sources

- Google Search Central, JavaScript SEO basics, read December 1, 2026: <https://developers.google.com/search/docs/crawling-indexing/javascript/javascript-seo-basics>
- Search Console Help, URL Inspection tool, read December 1, 2026: <https://support.google.com/webmasters/answer/9012289>
- Search Console Help, Page indexing report, read December 1, 2026: <https://support.google.com/webmasters/answer/7440203>
- Google Search Central, Influencing your title links, read December 1, 2026: <https://developers.google.com/search/docs/appearance/title-link>
- Google Search Central, SEO link best practices, read December 1, 2026: <https://developers.google.com/search/docs/crawling-indexing/links-crawlable>
- Next.js, Server and Client Components, read December 1, 2026: <https://nextjs.org/docs/app/getting-started/server-and-client-components>
- TanStack Start, Overview, read December 1, 2026: <https://tanstack.com/start/latest/docs/framework/react/overview>
- Vite, Server-Side Rendering guide, read December 1, 2026: <https://vite.dev/guide/ssr>
- Lovable, Upgrade a project to TanStack Start, read December 1, 2026: <https://docs.lovable.dev/features/upgrade-to-tanstack-start>
- Lovable, Change your site title, favicon, and social preview, read December 1, 2026: <https://docs.lovable.dev/features/site-metadata>
- Vunora, What Google gets from a vibe coded home page, measured November 26, 2026: <https://vunora.ai/research/crawler-first-read>

_Drafted with AI help and checked against the product._
