# SEO & LLM indexing

Source: https://docs.businessapp.io/business-app/ai/vibe/guides/seo-and-indexing/

## What is SEO & LLM indexing in Vibe?

Apps built with Vibe are delivered as fully rendered HTML straight from the server. Search engine crawlers and AI answer engines, such as ChatGPT, Perplexity, and Google AI Overviews, read the actual content of your pages rather than an empty JavaScript shell, and crawlers see exactly the same content your visitors do. Your app can rank in search results, be cited by AI assistants, and be found.

Every publish also generates the discovery files that search engines and AI assistants look for, with no configuration required.

## Why is it important?

-   **Search engines read real content**: Because pages arrive as fully rendered HTML, crawlers index what's actually on the page, not a blank shell waiting for JavaScript.
-   **AI assistants can cite you**: Answer engines like ChatGPT, Perplexity, and Google AI Overviews read the same content your visitors see, so your app can appear in their answers.
-   **Nothing to set up**: Discovery files are generated automatically on every publish. They're on by default, and you can override any of them.
-   **You stay in control**: The SEO section in project settings gives you simple toggles for how your app presents itself to search engines and AI assistants.

## What's included?

Every publish generates three discovery files automatically:

| File | What it's for |
| --- | --- |
| `robots.txt` | Tells search engine crawlers which parts of your app they can visit |
| `sitemap.xml` | Lists your app's pages so crawlers can find and index all of them |
| `llms.txt` | The file AI assistants read to understand what your site offers |

Each file is on by default and individually overridable. If your project ships its own version of one, yours is used instead.

The generated `sitemap.xml` lists your app's static pages. It leaves out pages built from a template for each item, such as individual blog posts, and pages that sit behind a sign-in. The files are created only when you publish, so the editor preview doesn't have them.

You also get:

-   **Indexing controls**: The SEO section in [project settings](https://docs.businessapp.io/business-app/ai/vibe/guides/project-settings/) puts indexing under your control, with simple toggles for how the app presents itself to search engines and AI assistants.
-   **Identical content for everyone**: Crawlers and visitors receive the same fully rendered pages.

## How to use it

### Control how your app is indexed

The `SEO` section in project settings is available for projects on the server-rendered runtime. Older projects on the static runtime use `Migrate to TanStack Start` in the `General` settings section instead (see below).

1.  Open your project's settings.
2.  Select the `SEO` section.
3.  Under `Generated files`, use the `robots.txt`, `sitemap.xml`, and `llms.txt` toggles to control how your app presents itself to search engines and AI assistants. Changes take effect the next time you publish.

See [project settings](https://docs.businessapp.io/business-app/ai/vibe/guides/project-settings/) for the full settings page.

### Block search engines from your app

To keep crawlers out, for example while you share a client mock-up, turn off the `robots.txt` toggle in the `SEO` section. When it's off, Vibe publishes a `robots.txt` that blocks all crawlers and doesn't list a sitemap. If your project ships its own `robots.txt`, yours is used instead.

### Use your own discovery files

The generated `robots.txt`, `sitemap.xml`, and `llms.txt` are each individually overridable. If your project ships its own version of any of these files, Vibe uses yours instead of the generated one. You can override one file and keep the automatic versions of the others.

Files you ship yourself aren't updated for you. For example, your own `sitemap.xml` keeps listing your default URL after you connect a custom domain. To have the files follow your domain, remove your own versions and publish again so Vibe generates them. On the static runtime, use `Migrate to TanStack Start` first, because generated files are published only on the server-rendered runtime.

### Apply AI Search Specialist recommendations

With SEO AI Premium, you can paste an AI Search Specialist report into Vibe and it applies the recommended changes to your site. See [Apply AI Search Specialist reports to your Vibe site](https://docs.businessapp.io/business-app/ai/vibe/guides/ai-search-specialist-reports/).

### Bring an existing project up to date

On the static runtime, every address on your site, including ones that don't exist, returns the same page with a success status, and no `robots.txt`, `sitemap.xml`, or `llms.txt` is published. On the server-rendered runtime, an address that doesn't exist shows your not-found page with a real 404 status. A redirect you add by prompt is temporary (307) unless you ask for a permanent one, so ask Vibe for a 301 redirect when a page has moved for good.

Older projects on the **static** runtime can migrate to the server-rendered runtime. Use `Migrate to TanStack Start` in the `General` section of project settings, or ask Vibe to upgrade the project. Pages, styling, and behavior stay intact. You don't have to rebuild anything to benefit. After migration, the `SEO` settings section becomes available.

## Frequently asked questions

**What is llms.txt?**

`llms.txt` is the file AI assistants read to understand what a site offers. Vibe generates it automatically on every publish, so AI answer engines can understand and reference your app without any setup on your part.

**Do I need to configure anything for my app to be indexed?**

No. Pages are delivered as fully rendered HTML, and `robots.txt`, `sitemap.xml`, and `llms.txt` are generated automatically on every publish. If you want to adjust how your app presents itself to search engines and AI assistants, use the toggles in the SEO section of [project settings](https://docs.businessapp.io/business-app/ai/vibe/guides/project-settings/).

**Can I use my own robots.txt, sitemap.xml, or llms.txt?**

Yes. Each generated file is individually overridable. If your project ships its own version, Vibe uses yours instead. You can override one file and keep the automatic versions of the others.

**How do I control whether search engines and AI assistants index my app?**

Open your project's settings and select the `SEO` section. Simple toggles control how the app presents itself to search engines and AI assistants.

**Do search engines see different content than my visitors?**

No. Crawlers and visitors receive identical content: the same fully rendered HTML pages.

**How do I get server-rendered pages on a project I built earlier?**

Use `Migrate to TanStack Start` in the `General` settings section, or ask Vibe to upgrade. It converts the project to the server-rendered runtime for you, with pages, styling, and behavior intact. No rebuild is required.

**Will my Vibe website or landing page be indexed by search engines?**

Yes, in typical setups search engines can index Vibe sites. For best results, instruct Vibe to run an SEO pass on the project.

**How do I stop crawlers from indexing an internal Vibe dashboard?**

Turn off the `robots.txt` toggle in the `SEO` section of that project's settings. Vibe then publishes a `robots.txt` that blocks all crawlers. If your project ships its own `robots.txt`, yours is used instead.

**Is my Vibe site indexed by search engines, and how do I keep a draft site out of search?**

A published site is not indexed right away, because search engines do not know about it until you submit your sitemap. To keep a mockup out of search, turn off the `robots.txt` toggle in the `SEO` section of project settings. Vibe then publishes a `robots.txt` that blocks all crawlers. Any public URL can still be discovered through links, so share it only with the people who need to review it.

**How do I rebuild my website in Vibe without losing my search rankings?**

Ask Vibe to clone your existing site so it captures the theme, content, and layout. Vibe generates `llms.txt`, `robots.txt`, and `sitemap.xml` files for you. Keep the same URL paths as your old site so existing links do not break.

## Next steps

-   [Project Settings](https://docs.businessapp.io/business-app/ai/vibe/guides/project-settings/): Configure your project's SEO, knowledge, connectors, and more
-   [Getting Started](https://docs.businessapp.io/business-app/ai/vibe/getting-started/): Walk through a full generation end to end
-   [Custom Domains](https://docs.businessapp.io/business-app/ai/vibe/guides/custom-domain/): Publish your app to a domain you own (Standard and Pro)
