---
title: "AI Studio SEO and Server Rendering"
description: "Make AI Studio sites readable by Google, social platforms and AI search: server rendering, Advanced SEO Support, titles, previews, sitemap, Search Console and llms.txt."
url: https://help.aesthetixcrm.com/en/articles/2243-ai-studio-seo-and-server-rendering
collection: "AI Studio"
updated: 2026-11-20
language: en
---

# AI Studio SEO and Server Rendering

Make AI Studio sites readable by Google, social platforms and AI search: server rendering, Advanced SEO Support, titles, previews, sitemap, Search Console and llms.txt.

Advanced SEO Support and server rendering make a published AI Studio site readable by search engines, social link previews and AI assistants. You manage it from the **SEO & AI search** panel inside your AI Studio project (AI Agents > AI Studio, then open a project and click **More**).

> **Protect patient privacy:** AI Studio is an AI feature and is not approved for Protected Health Information (PHI). Never put patient names, treatment details, photos or any other PHI into your site content, page copy, prompts, or the AI Studio chat. Public pages should only contain information you would be comfortable publishing for anyone to read.

## Why this matters for a practice site

Most AI Studio sites are single-page applications (SPAs). They are fast for people, but they depend on JavaScript to draw the page, so search bots often see an almost empty "box". Without help, that meant:

-   Google could take weeks to index your treatment pages.
    
-   Links shared on Slack, X or WhatsApp showed a blank or generic preview.
    
-   AI search tools could not read your site well enough to cite it.
    

With server rendering or Advanced SEO Support, bots receive finished HTML. That helps local search (for example "Botox near me"), treatment and service pages, event pages and shared links look correct. It also makes your content easier for AI assistants to understand and cite.

## Which type of project do I have?

AI Studio projects run on one of two setups. Both can be found in search and AI answers; they differ in how pages reach crawlers and what you must set up.

<table style="min-width: 75px;"><colgroup><col style="min-width: 25px;"><col style="min-width: 25px;"><col style="min-width: 25px;"></colgroup><tbody><tr><th colspan="1" rowspan="1"><p></p></th><th colspan="1" rowspan="1"><p><strong>New projects (server-rendered)</strong></p></th><th colspan="1" rowspan="1"><p><strong>Older projects (single-page app)</strong></p></th></tr><tr><td colspan="1" rowspan="1"><p>Created</p></td><td colspan="1" rowspan="1"><p>On or after September 8, 2026</p></td><td colspan="1" rowspan="1"><p>Before September 8, 2026</p></td></tr><tr><td colspan="1" rowspan="1"><p>How pages are served</p></td><td colspan="1" rowspan="1"><p>Rendered on the server for every request</p></td><td colspan="1" rowspan="1"><p>Built in the visitor's browser with JavaScript</p></td></tr><tr><td colspan="1" rowspan="1"><p>What crawlers see</p></td><td colspan="1" rowspan="1"><p>The same finished HTML as visitors</p></td><td colspan="1" rowspan="1"><p>Pre-rendered HTML, once Advanced SEO Support is on</p></td></tr><tr><td colspan="1" rowspan="1"><p>Setup needed</p></td><td colspan="1" rowspan="1"><p>None</p></td><td colspan="1" rowspan="1"><p>Publish, connect a custom domain, turn on Advanced SEO Support</p></td></tr><tr><td colspan="1" rowspan="1"><p>Custom domain</p></td><td colspan="1" rowspan="1"><p>Recommended</p></td><td colspan="1" rowspan="1"><p>Required for pre-rendering</p></td></tr></tbody></table>

New projects are built on TanStack Start, a full-stack framework that renders every page on the server. See the guide "AI Studio Full-Stack Development: SSR, Server Functions, REST APIs and Secrets" for the architecture.

### Check your project type

1.  Open your AI Studio project.
    
2.  Click **More** at the top of the builder.
    
3.  Select **SEO & AI search**.
    
4.  Read the panel:
    
    -   If it says **Pre-rendering is not needed**, your project is server-rendered.
        
    -   If it shows an **Advanced SEO Support** toggle, your project is a single-page app.
        
    
    ![](https://files.us.gleap.ai/pf/g/640067b236b432d4bc3c20bb-UsSlj6ADRFDxWMkKTXqg6a0mz50yTjq3z9U4MPSNj5VUxDjoKDaEUSLiShKeeisCXj9LPqnu2Ga.jpg?v=1&k=us1&s=api&e=1795348800&sig=ErLIRbBwZNXW_BJjE26XPu4pjDGhMciZfKtZzyPsYUw)

You can also ask in the AI Studio chat: `What stack is this project on?`

## New projects: server-rendered by default

Visitors, search engines, AI crawlers and link-preview bots all receive the same complete page. There is no toggle to turn on, and a custom domain is not required for crawlability. This means:

-   Crawlers see real content, not an empty JavaScript shell.
    
-   Social previews read your title, description and image straight from the page.
    
-   AI assistants can read and cite your content.
    
-   There is no pre-render cache, route limit or re-publish step to maintain for SEO.
    

To review the panel:

1.  Open your AI Studio project.
    
2.  Click **More** at the top of the builder, then select **SEO & AI search**.
    
3.  Confirm the panel shows **Pre-rendering is not needed**.
    
4.  Under **How your site appears**, review the search preview of your title, URL and description.
    

Server rendering makes your pages readable. It does not write good titles, descriptions or preview images for you; use the **Improve your SEO** steps below.

## Older projects: turn on Advanced SEO Support

Advanced SEO Support pre-renders your pages and serves that HTML to supported bots. Human visitors keep the same fast, interactive experience.

**Requirements:** the project must be published, and a custom domain must be connected and set as the primary domain. Pre-rendering does not run on the default preview domain.

1.  Open the AI Studio project you want to configure.
    
2.  Click **More** at the top of the builder, then open **SEO & AI search**.
    
3.  Under **Complete these steps to enable**, check that **Publish your project** shows **Done**. If the domain step is not done, click **Go to Domains** and finish connecting a custom domain and setting it as primary. See the guide on publishing AI Studio projects and domains.
    
    ![](https://files.us.gleap.ai/pf/g/640067b236b432d4bc3c20bb-wmFyUC1cVsAhaOgT7GEx8JC5NgQKIMkGlNGFyNP1aPnUx9j6NaS3kE92Hz4GRC0E1vmRy3J5BAp.png?v=1&k=us1&s=api&e=1795348800&sig=dDzSZBTog-VdjhySb6N6dre8pocCu2-4j5a3UpgfqE0)
4.  Click **Enable** to turn on **Advanced SEO Support**.
    
    ![](https://files.us.gleap.ai/pf/g/640067b236b432d4bc3c20bb-6cSpPIx9ZEF92sM3n92bojsHhc4lkvkCRYkAJkXwsK6uWxsId1KoUB4kdthfjIUuaUjzejhOZrt.png?v=1&k=us1&s=api&e=1795348800&sig=IZYF_EUVkbVqJ2utX2WKcIKHG0Ar7I25KzazHPxAqok)
5.  Confirm the toggle turns purple.
    
    ![](https://files.us.gleap.ai/pf/g/640067b236b432d4bc3c20bb-JJE3eta3GgvJrmIpty3AllqKmfJPoTyCMII6z3Gna04YwyD3BJQgacoapznqnVh4tf2t6a74eSG.png?v=1&k=us1&s=api&e=1795348800&sig=jdV5lrv__ajyy6aNlwcZKjXeqPJ08i7EG-X6KflqSqQ)
6.  Re-publish the project so the latest rendered output is available to supported bots.
    

You can turn pre-rendering off for a project at any time with the same toggle.

## How pre-rendering works (older projects)

-   **Automatic bot detection:** supported search engine crawlers, social media bots and AI crawlers are served rendered HTML automatically. Other bots get the normal single-page app.
    
-   **Graceful fallback:** if pre-rendering is off or a page is not cached yet, bots receive the standard single-page app, exactly as before.
    
-   **Automatic cache refresh:** pre-rendered pages are regenerated on every publish, domain change or site update. No manual cache clearing is needed.
    
-   **Route limit:** the system handles up to 150 routes (pages) per site.
    
-   **Edge serving:** pre-rendered pages are served from Cloudflare's edge network, so bots get them quickly and visitors are not affected.
    
-   **What bots can read:** page content, metadata, images, canonical tags and structured data that already exist on the page.
    

Want server rendering instead? You can convert an older project from **Project Settings** by choosing **Migrate to SSR**. This creates a separate draft copy; your original project, live site and domains stay unchanged until you publish the copy and move the domain. See the Migrate section of "AI Studio Full-Stack Development: SSR, Server Functions, REST APIs and Secrets".

## Improve your SEO

Readable pages are the foundation. These steps make sure search engines and social platforms show the right information. Both project types have them under **Improve your SEO** in the **SEO & AI search** panel; the button names differ slightly.

<table style="min-width: 75px;"><colgroup><col style="min-width: 25px;"><col style="min-width: 25px;"><col style="min-width: 25px;"></colgroup><tbody><tr><th colspan="1" rowspan="1"><p><strong>Step</strong></p></th><th colspan="1" rowspan="1"><p><strong>New projects</strong></p></th><th colspan="1" rowspan="1"><p><strong>Older projects</strong></p></th></tr><tr><td colspan="1" rowspan="1"><p>Edit page titles and descriptions</p></td><td colspan="1" rowspan="1"><p><strong>Ask AI to edit meta details</strong></p></td><td colspan="1" rowspan="1"><p><strong>Improve social preview content</strong>, then <strong>Copy prompt</strong></p></td></tr><tr><td colspan="1" rowspan="1"><p>Social link previews</p></td><td colspan="1" rowspan="1"><p><strong>Ask AI to edit meta details</strong></p></td><td colspan="1" rowspan="1"><p><strong>Improve social preview content</strong>, then <strong>Copy prompt</strong></p></td></tr><tr><td colspan="1" rowspan="1"><p>Favicon</p></td><td colspan="1" rowspan="1"><p><strong>Ask AI to edit favicon</strong></p></td><td colspan="1" rowspan="1"><p>Ask in the AI Studio chat</p></td></tr><tr><td colspan="1" rowspan="1"><p>Sitemap</p></td><td colspan="1" rowspan="1"><p>Ask in the AI Studio chat</p></td><td colspan="1" rowspan="1"><p><strong>Generate sitemap</strong>, then <strong>Copy prompt</strong></p></td></tr><tr><td colspan="1" rowspan="1"><p>Verify site is live</p></td><td colspan="1" rowspan="1"><p><strong>Copy website link</strong></p></td><td colspan="1" rowspan="1"><p><strong>Copy website link</strong></p></td></tr><tr><td colspan="1" rowspan="1"><p>Submit sitemap to Google</p></td><td colspan="1" rowspan="1"><p><strong>Learn how</strong></p></td><td colspan="1" rowspan="1"><p><strong>Learn how</strong></p></td></tr></tbody></table>

### Edit titles, descriptions and social previews

Links shared on Facebook, X (Twitter), LinkedIn, WhatsApp, Slack and Discord can show the correct page title, description and Open Graph image instead of a blank preview. Each page can serve its own title, description and preview image rather than a single site-wide fallback.

1.  Open the AI Studio project you want to update.
    
2.  Click **More** at the top of the builder, then open **SEO & AI search**.
    
3.  New projects: click **Ask AI to edit meta details**. Older projects: find **Improve social preview content** and click **Copy prompt**.
    
    ![](https://files.us.gleap.ai/pf/g/640067b236b432d4bc3c20bb-QZLAV9ake4Rx2X2vrYgnhLoQD3kjYvgDGWIfwruyylrXPMArSYNx8tRclsisXold6CACBjKy7fk.png?v=1&k=us1&s=api&e=1795348800&sig=e0Hm2Or9NIjRAlSwp-5YL1kbkF7Dk_Kah09Wwc_t_XI)
4.  Older projects only: paste the copied prompt into the AI Studio chat.
    
    ![](https://files.us.gleap.ai/pf/g/640067b236b432d4bc3c20bb-gAdhl46URy18ERk6pyMI694oiIvD87Es3OF1QHBcpUy0JgZzk3cxP3N7kfjuLUkBCNMwmeGw6n6.png?v=1&k=us1&s=api&e=1795348800&sig=dXGpDtFcfrc5c4GH-X5HI3t14MZphhw2VMElQZZm8qc)
5.  Review the update summary the builder returns, then publish your project to apply the updates.
    
    ![](https://files.us.gleap.ai/pf/g/640067b236b432d4bc3c20bb-pRxdbV0z12HTaISMFLXYnofakb5xjy1xrCQJSKdlaWf3GSZz6O3tfO2G8Vu1YUF2IJUO94vXZ5M.png?v=1&k=us1&s=api&e=1795348800&sig=U6FViRM7sk5AR95tw8cBW0QJ6ZS2GUNlhtGso2L41uc)
6.  Confirm it works: share the live URL on a supported platform and check the title, description and image. You can also use the Facebook Sharing Debugger, Twitter Card Validator or LinkedIn Post Inspector to confirm Open Graph tags are served and to refresh cached previews.
    

Tip: use preview images of 1200 x 630 pixels and keep them small (a few hundred KB). Large images may not show in WhatsApp.

### Update your favicon

Click **Ask AI to edit favicon** (new projects), or ask in the AI Studio chat: `Update my site's favicon to match my logo.` Publish to apply.

### Generate a sitemap

A sitemap lists your important pages so search engines find them faster.

1.  Open the AI Studio project and click **More**, then **SEO & AI search**.
    
2.  Older projects: find **Generate sitemap**, click **Copy prompt**, and paste it into the AI Studio chat. New projects: ask in the chat: `Create a sitemap.xml for all public pages.`
    
    ![](https://files.us.gleap.ai/pf/g/640067b236b432d4bc3c20bb-DV29urfF0dxlJ52chGJZa0LfHfxpJ1j1NDUzPWsavfY6H38N8qGUcHtsZDlo0NBKNqA6SZWpYEE.png?v=1&k=us1&s=api&e=1795348800&sig=21mOV8zQZ1Of69UC981J2ZSI2IqkDevEnMV_nYLucxo)
3.  Review the update summary in the builder, then publish your project. To view the sitemap details, click **Details**.
    
    ![](https://files.us.gleap.ai/pf/g/640067b236b432d4bc3c20bb-roRz572CycwjPV9YjGieJ9AIQFCSoeiLSLzbZ6NGHhyfmckI2Z3JIqStK611gn6I0vD8BmnBSdD.png?v=1&k=us1&s=api&e=1795348800&sig=3cntY6t3K8Ejm50lirbSKzrc8zhS_k0g_-3tPb_cYBo)
4.  Open `yourdomain.com/sitemap.xml` to confirm it lists your pages.
    

### Verify your site and submit it to Google

1.  Click **Copy website link** and open it in a private (incognito) window to confirm the site is live.
    
2.  Add your site to Google Search Console and verify it.
    
3.  In Search Console, open **Sitemaps** and submit your sitemap URL. This helps Google discover your pages and lets you monitor sitemap processing.
    
    ![](https://files.us.gleap.ai/pf/g/640067b236b432d4bc3c20bb-9miwHJsjlICt8LwaOrfIMU1apHX5V6vB7A6eF2E4lCs1fgo2DMQs1iLGKmx4Z0fnVOX8dC3xMPH.png?v=1&k=us1&s=api&e=1795348800&sig=WKXy-cA6TtTHo1Gwt113yqGZIW787-YPm8nxkoVesQY)
4.  Use **URL Inspection**, then **Request indexing**, for your most important pages (for example your top treatment pages).
    

If you change your custom domain later, verify the new domain in Search Console and submit the sitemap again.

## Tips for better search and AI visibility

Technical setup gets your pages read. Rankings and AI citations still depend on content, structure and links. You can ask the AI Studio chat to help with each of these.

**Content and structure**

-   One clear H1 per page, with headings in order (H1, H2, H3).
    
-   Alt text on every meaningful image.
    
-   Important facts written as visible text, not only inside images.
    
-   Short, direct answers to the questions your patients ask (for example "How long does a laser session take?"). AI assistants cite these.
    

**Metadata**

-   A unique title and description for every important page.
    
-   A preview image per page instead of one site-wide image.
    
-   Structured data (schema) where it fits, such as LocalBusiness, Event or FAQ. Advanced SEO Support does not add it for you.
    

**Domain and authority**

-   Use a custom domain, set it as primary, and verify it in Google Search Console.
    
-   Link to your site from your social profiles, listings and partner sites.
    

**Prompts to try in the AI Studio chat**

-   `Review every public page and give each one a unique title and meta description.`
    
-   `Add alt text to all images that are missing it.`
    
-   `Add LocalBusiness structured data using the address and hours on the contact page.`
    
-   `Add an FAQ section to the home page with FAQ structured data.`
    

## llms.txt for AI search

An `llms.txt` file is a Markdown summary of your site placed at `https://yourdomain.com/llms.txt`. It works a little like robots.txt but is aimed at AI agents and language models: a plain-text roadmap of your site name, a short summary and a curated list of key pages. It can also help with automated "agentic browsing" checks in Google PageSpeed Insights.

For AI Studio, you do not need to write it by hand: ask the AI Studio chat to generate the `llms.txt` content for your project. For example: `Create an llms.txt file for this site with a summary and links to my main treatment and contact pages.` Publish to apply.

A good file uses a single `#` heading for the site name, a short blockquote summary, and `##` sections with described links:

```javascript
# Example Aesthetics Clinic
> Example Aesthetics Clinic offers injectables, laser treatments and skin care consultations.
## Key Pages
- Treatments: Overview of our primary services.
- Book a Consultation: How to schedule your first visit.
- Contact: Location, hours and contact options.
## Optional
- Blog: Educational articles and clinic news.
```

Notes:

-   llms.txt does not replace your XML sitemap. Use both.
    
-   It does not guarantee your site appears in AI-generated answers; each AI platform controls its own crawling and ranking.
    
-   The file contains only what you put in it. Review it whenever important pages are published, removed or moved.
    
-   Websites and funnels connected to a domain have their own llms.txt field under **Settings** > **Domains and URL Redirects**: choose **Manage** on the domain, open the three-dot menu next to the connected product, choose **Edit**, and paste Markdown into the **llms.txt** section. AI Studio projects are handled through the chat as described above. Each domain or subdomain needs its own file.
    
    ![](https://files.us.gleap.ai/pf/g/640067b236b432d4bc3c20bb-F3S9hGHY106w8Gio98xEuu3IW3uSn1nHYAkykiMV3onYnqmugjCpA4A6vBHOOh48mOM95a7iGbW.png?v=1&k=us1&s=api&e=1795348800&sig=J8tSqbRkyDogX_s3zOlQClGmcNvU_7Qvfjb2E3i9enk)

## Troubleshooting

<table style="min-width: 50px;"><colgroup><col style="min-width: 25px;"><col style="min-width: 25px;"></colgroup><tbody><tr><th colspan="1" rowspan="1"><p><strong>Problem</strong></p></th><th colspan="1" rowspan="1"><p><strong>What to check</strong></p></th></tr><tr><td colspan="1" rowspan="1"><p>The panel shows <strong>Enable</strong> but nothing happens</p></td><td colspan="1" rowspan="1"><p>Confirm the project is published and a custom domain is connected and set as primary. Pre-rendering does not run on the default preview domain.</p></td></tr><tr><td colspan="1" rowspan="1"><p>Bots still see an empty page (older project)</p></td><td colspan="1" rowspan="1"><p>Confirm the toggle is purple, then re-publish. Pages not yet cached fall back to the single-page app.</p></td></tr><tr><td colspan="1" rowspan="1"><p>Link preview shows the wrong title or image</p></td><td colspan="1" rowspan="1"><p>Give each page its own title, description and preview image, publish, then refresh the platform's cached preview with its debugging tool.</p></td></tr><tr><td colspan="1" rowspan="1"><p>A page is missing from search</p></td><td colspan="1" rowspan="1"><p>Only published, public pages can be indexed. Check the sitemap lists it, submit the sitemap in Search Console and use <strong>Request indexing</strong>.</p></td></tr><tr><td colspan="1" rowspan="1"><p>Site has more than 150 pages (older project)</p></td><td colspan="1" rowspan="1"><p>Pre-rendering covers up to 150 routes. Consider converting to a server-rendered copy, which has no route limit.</p></td></tr></tbody></table>

## Frequently Asked Questions

**My project says "Pre-rendering is not needed." Do I still need a custom domain?**

Not for crawlers to read your pages. A custom domain, set as primary, is still recommended so your search presence, backlinks and Search Console data build on a domain you own.

**Do I need to publish before my site shows up in search?**

Yes. Only published, public sites can be indexed. Unpublished changes are not visible to search engines.

**Does pre-rendering change how my site looks for visitors?**

No. On older projects, only supported bots receive the pre-rendered HTML; visitors get the same interactive site. On new projects, everyone gets the same server-rendered page.

**Can I move an older project to server rendering?**

Yes, but you do not have to. Open **Project Settings** and select **Migrate to SSR**. AI Studio creates a separate draft copy and converts it in chat; your original project, live site and domains are not changed. Before publishing the copy, test forms, calendars and integrations, re-add secrets and update any workflow filters that point to the original project.

**Why does my link preview still show the wrong title or image?**

Check that each page has its own title, description and preview image, then publish. Platforms cache previews, so refresh them with the platform's debugging tool.

**How long until Google indexes my site?**

Usually days, sometimes longer. Submit your sitemap in Google Search Console and use **Request indexing** for priority pages to speed it up.

**Does Advanced SEO Support add schema markup?**

No. Ask the AI Studio chat to add structured data. On older projects, pre-rendering then serves it to bots; on new projects it is already in the server-rendered HTML.

**Do I need an llms.txt file for AI search?**

It is optional. AI assistants read your rendered pages, so clear headings, visible facts and good metadata matter most. If you want one, ask the AI Studio chat to generate it.

**When does the pre-render cache refresh? (older projects)** Automatically, whenever you publish, update and re-publish the site, or change the connected domain.
