How to Optimize Your Website for AI Search

Make your pages easy to crawl, easy to quote and easy to verify, using what Google and OpenAI document and clearly labeled judgment where they do not.

How do you optimize a website for AI search?

Make sure your pages can be crawled and indexed, put the answers in the HTML the server sends, state who you are and what you do the same way everywhere, earn real reviews and mentions, and measure each platform with the tool that platform actually provides.

Google says its AI features are built on the same ranking and quality systems as Search, and its own guide to optimizing for generative AI treats the work usually sold as answer engine optimization or generative engine optimization as still being SEO. That is good news, because it means the foundation is knowable. It is also a warning. A great deal of what is sold under the AI label is either ordinary SEO renamed or a tactic the platforms say they do not need.

Every platform claim here comes from the platform’s own documentation, read on December 1, 2026, and linked in the sources. Where the documentation is silent, we say so and label our recommendation as judgment, so you can tell a requirement from a preference. We did not find official documentation for several things that are widely repeated, and we left those out instead of passing them along.

How is AI search different from traditional search?

Traditional results give a searcher a ranked list of pages to compare. Google’s AI features, AI Overviews and AI Mode, write a response and include links to the sources behind it. Other assistants, such as ChatGPT, Gemini and Perplexity, also write answers, and each has its own way of choosing sources and its own crawler.

Traditional results compared with Google’s AI features
QuestionTraditional resultsAI Overviews and AI Mode
What the searcher seesA ranked list of links to compareA written response, with links to sources
What a page needsTo be crawled, indexed and relevantTo be indexed and eligible to show a snippet, which Google names as the condition
Extra requirementsGoogle’s Search essentialsNone beyond those, according to Google

The job of a page is now twofold. It has to be findable, which means crawled and indexed. It also has to be usable as a source, which means clear, accurate and attributable to a business a reader can verify. Neither job replaces the other, and traditional SEO is the base of both.

What does Google say you need to do?

Google has published an unusually direct guide, and most of it is a list of things you can stop worrying about.

  • No special requirements. Google says there are no additional requirements to appear in AI Overviews or AI Mode, and no special optimization or special schema.org markup to add.
  • No llms.txt. Google says Search does not use llms.txt or similar AI text files. Keeping one for other services is harmless and does not help or hurt Search.
  • No rewriting for machines. Google lists chunking content into small pieces, rewriting content for AI systems and over-focusing on structured data as things that are not required.
  • No manufactured mentions. Google lists seeking inauthentic “mentions” as less useful than it looks, because its systems focus on quality content and block manipulation. Taking part in real discussions is fine. Paying people to praise you without saying so is not authentic.
  • No page factories. Google says creating many pages to catch every variation of a question, in order to influence AI responses, falls under its policy on scaled content abuse.
  • Eligibility is indexing plus snippets. A page must be indexed and eligible to show a snippet. The controls that limit this are noindex, nosnippet, data-nosnippet and max-snippet. A robots.txt disallow also hides the page’s meta tags from Google, because the page can no longer be read.

A setting to check. In Search Console, the Search generative AI control lives under Settings. Google says the default for every property is to include your links and content, and that excluding them makes your content ineligible as input for AI responses, with changes taking effect within a day or two. The setting does not affect AI training and does not remove you from Search. Google points to the Google-Extended robots.txt token for training, and to noindex for removal from Search.

A misconception to retire. Google-Extended controls whether content Google has crawled can be used to train future Gemini models and to ground responses in Gemini Apps and Vertex AI. Google says it does not affect inclusion in Google Search, and its documentation does not describe it as a control for AI Overviews. Blocking it is not a way to opt out of AI Overviews.

Do FAQ accordions hurt AI visibility?

No documentation says they do. Content that is in the page’s HTML is available to Google whether it sits open or inside an expandable section. The documented risk is content that only loads after someone clicks.

Here is what Google’s documents actually say. For mobile-first indexing, Google says content may be placed in accordions or tabs on mobile as long as it is equivalent to the desktop version, and that it does not load content that requires a swipe, a click or typed input. Its helpful-content guidance counts tabbed and expanded sections as part of a page’s main content. Its snippet documentation adds a narrower point: links that jump to a specific passage are more likely when the text is visible without expanding anything.

That leaves a clear line between what is documented and what is not. Google does not state that collapsed answers are indexed differently, and it does not publish how other assistants treat them. For those, the documentation is silent, so the safest choice is the one that depends on nothing.

FAQ implementation, from least to most risk
ImplementationWhat the documentation supports
Answers fully visible in the HTMLNothing to depend on. Works for every crawler, reader and assistive device.
Native HTML details and summary, answers in the sourceAnswers are in the HTML Google reads. Our judgment: reliable and accessible, with no script required.
Script-built accordion, content already in the pageDepends on rendering. Google renders JavaScript, and nothing we found says other crawlers do.
Answers fetched after a clickGoogle says it does not load content that needs a click. Avoid.
FAQ markup with no matching visible textGoogle’s structured data policy says not to mark up content readers cannot see. Avoid.

Does FAQ schema change anything? Less than it used to. In August 2023 Google limited FAQ rich results to well-known government and health sites. Google then deprecated the feature entirely: the FAQ rich result stopped appearing in Google Search on May 7, 2026, and the documentation was removed in June. Markup that matches visible questions and answers is still valid and harmless. We found nothing from Google or OpenAI showing it improves AI recommendations, and Google tells sites not to over-focus on structured data.

Our judgment: make fully visible answers the default on new pages, which is how this page’s questions are built. Use native details elements when space matters. Our service pages use native accordions with every answer in the page source, and there is no reason to rebuild a properly built accordion for SEO alone.

Is static HTML better than JavaScript for AI search?

Static HTML removes a dependency. It does not add a ranking advantage, and Google’s documentation supports both.

Google says it runs JavaScript with an evergreen version of Chromium, in three phases: crawling, rendering and indexing. A page with a 200 status is queued for rendering, and the queue can take seconds or longer. Google indexes the rendered HTML, so content that never appears there is not indexed, and lazy-loaded content has to load without any interaction. Rendering can be skipped for pages that do not return 200, which is one reason a script-set noindex tag is unreliable.

Architecture and content availability
ArchitectureGoogleOther AI crawlers
Static HTML or server-rendered pagesContent is in the first responseContent is in the first response
WordPress with server-rendered contentSame as static for this purposeSame
Client-side renderingRendered after a queue; documentedRendering behavior not documented in what we found
Content loaded after a click or scroll interactionNot loaded, per GoogleAssume not loaded

Our judgment: OpenAI, Anthropic and Perplexity document their crawlers’ purposes but, in the pages we read, say nothing about whether they run JavaScript. Until they do, the conservative rule is to put anything important in the HTML the server returns. A WordPress site that does this performs the same as a static one for this purpose, and a static site that hides its answers behind scripts loses the benefit. We build static pages because they are fast and simple to keep correct, not because a platform rewards them.

How should you write so answers are easy to extract?

Write for the person with the question, and lead with the answer. Google says rewriting content for AI systems is not needed, so this is not a trick for machines. It is how a useful page is written, and an assistant that quotes a page tends to quote its clearest sentence.

Weak opening: “Over the years, many business owners have wondered about the different ways they can improve their online presence in an increasingly competitive digital environment.”

Answer-first opening: “A business improves its visibility in AI search by keeping its pages crawlable, its business information consistent and its claims backed by credible sources.”

  • Name the subject in the heading, and phrase it the way a person asks it, such as “Do I need a lawyer after a car accident?” instead of a keyword string.
  • Answer in the first sentence, then qualify. The qualification is where a trustworthy page earns its length.
  • Use a table when comparing options, and a definition when a term is unavoidable.
  • Cite the primary source for legal, medical, financial and platform claims, and say when you could not find one.
  • Show dates honestly. Google lists changing a page’s date to look fresh, without a substantial change, as a warning sign.

Which structured data matters, and what does it not do?

Structured data labels what a page already says. Google says markup must represent the visible content, that passing a test does not guarantee a rich result, and that no special markup is needed for its AI features. Use it for accuracy, not as a lever.

Common schema.org types and what they state
TypeWhat it statesNote
OrganizationWho the business is: name, logo, website, official profilesGoogle says it helps tell your organization apart from others. No properties are required.
LocalBusiness and its subtypesA physical business or branch; LegalService is a business giving legal services, and Physician is an individual physician or practiceGoogle asks for the most specific subtype. Its pages do not list LegalService or Physician, but both exist on schema.org.
ServiceA service an organization providesTies a page to what is offered.
PersonA professional’s identity and credentialsOnly what the visible bio also says.
ArticleAn educational articleGoogle recommends author, datePublished and dateModified. None are required.
FAQPageQuestions and answers shown on the pageNo longer produces a Google rich result.
BreadcrumbListThe page’s place in the site hierarchyMust match the visible breadcrumb.
VideoObjectA video fileDescribe only videos on the page.

Markup that contradicts the page is worse than no markup. Structured data issues can lead to a manual action that removes rich-result eligibility. And none of it guarantees a ranking or an AI recommendation, which Google states in its own documentation.

How do AI systems tell one business from another?

By the facts that stay the same wherever the business appears. Google’s Organization documentation says markup helps it distinguish your organization in results. Its knowledge panels are generated automatically from web sources, and an official representative can claim a panel and suggest changes. Business Profiles work through Google Business Profile, where Google says complete, accurate information makes a profile more likely to appear in local results.

Our judgment: a business is easiest to recognize, and hardest to confuse with another, when these facts match on its website, its profiles and the sources that describe it:

  • Legal business name and the name customers use
  • Address, phone number and service area
  • A short description of what the business does and for whom
  • The people responsible, with their licenses and credentials
  • The official website and social profiles, linked from one to another
  • Mentions from independent sources that say the same things

No documentation says that doing this earns a knowledge panel or an assistant’s recommendation, and none of the pages we read describe how ChatGPT chooses businesses. The value is plainer: inconsistency gives every system a reason to doubt you, and consistency costs little.

Which crawlers matter, and is your site blocking one?

Search discovery, model training and user-requested retrieval are separate purposes, and the operators now use separate crawlers for them. Each row here comes from the operator’s own documentation.

Crawlers and their stated purposes
CrawlerStated purposeCaveat from the operator
GooglebotGoogle Search indexingGoogle says its crawlers always obey robots.txt for automatic crawls.
Google-ExtendedControls Gemini training and grounding in Gemini Apps and Vertex AINot a Search inclusion or ranking factor.
OAI-SearchBotSurfaces websites in ChatGPT searchOpted-out sites will not appear in ChatGPT search answers. OpenAI recommends allowing it and its published IP ranges. Changes take about 24 hours.
GPTBotCrawls content that may be used to train modelsDisallowing it signals that content should not be used for training.
ChatGPT-UserVisits a page when a user’s request in ChatGPT calls for itOpenAI says robots.txt rules may not apply, and that it is not used to decide inclusion in search.
BingbotBing’s crawlerMicrosoft says the same crawlers and index support AI answers in search and apps.
ClaudeBotCollects web content for model improvement, including trainingAnthropic says its bots honor robots.txt.
Claude-SearchBotImproves search result qualityDisabling it may reduce visibility in search results.
Claude-UserFetches pages when users ask Claude questionsAnthropic does not say whether robots.txt applies to user-initiated requests.
PerplexityBotSurfaces and links sites in Perplexity searchPerplexity says it is not used to crawl for foundation models.
Perplexity-UserFetches pages when a user’s question links to themPerplexity says it generally ignores robots.txt, because a user requested the fetch.

The practical risk is a site that is built well for Google and blocks an assistant by accident. If you decide to allow ChatGPT’s search crawler, the robots.txt entry is short:

User-agent: OAI-SearchBot
Allow: /

Whether to allow the training crawlers is a business decision, separate from search. Blocking GPTBot or ClaudeBot signals that you do not want content used for training, and it does not remove you from the corresponding search crawler’s results.

Check Cloudflare. Cloudflare’s managed robots.txt, when you turn it on, can add disallow rules for AI crawlers, and its documented example includes GPTBot, ClaudeBot and Google-Extended. Cloudflare says robots.txt compliance is voluntary and enforces blocks through AI Crawl Control. In the dashboard, the Crawlers tab lists each AI crawler with an action to allow or block it. A site on Cloudflare should confirm which settings are on, because a block applied for one reason can reach a crawler you wanted.

Three technical basics sit underneath all of this. Serve a 200 status for pages meant to be found, because Google queues only those for rendering. Keep one canonical address per page so signals are not split. And publish an XML sitemap with accurate last-modified dates: Microsoft’s Bing team says sitemaps and lastmod help Bing crawl and index for traditional search and AI-powered experiences such as Copilot.

How should a site be organized for topical authority?

Our judgment: organize around services and the situations that lead to them, not around keywords. Each service page states the offer, who handles it, what it costs and why this business. Each supporting article answers one specific situation, links to the service page it supports, and is linked from it. Links in both directions tell a reader, and a crawler, which pages belong together.

This is how we structure our own site. The AI visibility hub leads to AI search optimization, ChatGPT optimization and Google AI Overviews optimization, and articles like this one support them. Google’s warning about page factories matters here: an article earns its place by answering a question the service page cannot answer in full, not by repeating it with a variation in the title.

How do Google Maps and AI recommendations connect?

Google says local results are based mainly on relevance, distance and prominence, and that there is no way to request or pay for a better local ranking. Prominence draws on information such as links and review counts. It also says complete, accurate profile information makes a business more likely to appear.

  • A complete, accurate Business Profile with the right categories, hours and services.
  • Genuine reviews, earned without incentives and answered promptly. See reputation management for the rules.
  • Consistent listings, so every source repeats the same facts.
  • Service and location pages that say something true about each place served.
  • Credentials and independent evidence that support what the business claims.

Our judgment: Google Maps and ChatGPT are different systems run by different companies, and neither publishes how it uses the other’s data. We treat the work as shared only to the extent that both read the same public facts about a business. Programs focused on the Maps 3-pack are handled by our sister company Authoritty, and the local SEO page explains how the pieces divide.

What does E-E-A-T require for regulated professions?

Google says E-E-A-T, experience, expertise, authoritativeness and trustworthiness, is not itself a ranking factor, that trust is the most important part, and that its systems give more weight to strong signals for topics that affect health, financial stability, safety or well-being. For attorneys, doctors and financial professionals, those are the topics.

  • Real authorship. Google strongly encourages accurate bylines where readers would expect them, and it calls fabricated authors or credentials deceptive.
  • Credentials on the page, such as licenses and bar or board information a reader can check.
  • Sourcing. Primary sources, cited by name or number, and a plain statement when something is uncertain.
  • Honest dates. Published and updated dates that reflect real changes.
  • How the content was made. Google encourages disclosing how content was produced, including AI assistance, where readers would expect it.

Law, medicine and finance also have professional advertising rules that sit on top of Google’s guidance. Compliance review comes before publication, and no SEO consideration outranks it.

How does multilingual content work in AI search?

Google recommends a separate URL for each language version, instead of changing the language with cookies or browser settings, because dynamic switching can keep Google from finding every version. It says each version must list itself and all the others with hreflang annotations, and that tags are ignored when two pages do not point to each other. Google also says it does not use hreflang or the HTML lang attribute to detect a page’s language. It reads the visible content.

Translation quality matters, and Google has no policy against machine translation as such. Its policy on scaled content abuse lists translating as one way to generate many pages with little value, which makes the test about value. Its multilingual guidance also advises against side-by-side translations and against translating only the boilerplate while the main content stays in one language.

The same need, searched in two languages
English searchSpanish search
personal injury lawyer near meabogado de accidentes cerca de mí
best dentist in Miamidentista que hable español en Miami
business attorneyabogado de negocios
plumber near meplomero cerca de mí

Our judgment: the second column is not a translation of the first. The Spanish search often adds a condition, such as the language the provider speaks, that the English search never states. A page written natively for that reader answers the question that reader has, with its own headings, its own FAQ and the same business information as the English page.

How do you measure Google and ChatGPT visibility?

Each platform measures only itself, so measure each with its own tool and keep official data apart from sampled estimates.

What Google’s report covers. Search Console’s generative AI performance report launched on June 3, 2026 and reached all websites worldwide on August 31, 2026. It covers AI Overviews and AI Mode in Search, with a separate report for generative AI features in Discover. Google says it does not include data from the Gemini app or other non-Search Google products, or Search Labs experiments. Its documentation does not name ChatGPT, Perplexity or Claude. They are simply outside it. A property with too few impressions in these features will not see the report.

What changed on December 1, 2026. Google announced four updates. A new card groups the queries where your site appears in AI responses, showing impressions and impression share, which Google defines as the share of generative AI responses for that query group that included at least one link to your property. Impression share appears as one of five ranges, from 0 to 20 percent up to 80 to 100 percent, only for groups with more than 100 impressions, so it is a band and not an exact figure. Clicks and click-through rate were added to the Search and Discover generative AI reports. Verified platform properties for Instagram, TikTok, X and YouTube now appear in the reports. And Search Console can group related web and platform properties, which needs at least two related verified properties, including one platform property. Google says the query-group card and property groups are rolling out gradually to a subset of users first.

The generative AI data is part of Search Console’s overall performance data, which Google says includes it, so treat the report as a slice of the totals and never as an addition to them.

What to measure, where, and the limits
MeasureSourceLimit
Organic impressions and clicksSearch Console Performance reportGoogle properties only
Google AI impressions, clicks, impression shareSearch Console generative AI reportsBands, not exact shares; thresholds; gradual rollout
Map and profile activityGoogle Business Profile performance, plus local ranking checksRanking checks sample specific locations
ChatGPT referral visitsGA4, session sourceCounts only visits that click through and carry a referrer
Brand mentions and recommendationsYour own repeatable prompt testsSamples, not platform statistics
Leads and conversionsAnalytics, call tracking, CRMDepends on correct tracking

ChatGPT visits. In GA4, open Reports, then Acquisition, then Traffic acquisition, and look for chatgpt.com among session sources. OpenAI’s crawler documentation does not describe how ChatGPT labels referral links, so treat what you see as an observation from your own data. Visits that arrive without referrer information are counted as direct, which makes the number a minimum. GA4 also cannot show how often an assistant named your business without anyone clicking.

Recommendations. To see mentions, build a fixed set of prompts that reflect how your customers ask, run them on a schedule across the assistants that matter, and record whether your business is named, recommended and cited. Track the mention rate, the recommendation rate, citations of your site, how often named competitors appear, whether the location is right, whether the business details are accurate, and how the results differ between English and Spanish prompts. These are our own measures, defined by us, not official statistics from any platform, and results shift with wording, place and time.

Which AI SEO myths should you ignore?

Common claims and what the documentation shows
ClaimWhat the documentation shows
FAQ schema guarantees AI recommendationsNo source says so. Google says no special markup is needed, and its FAQ rich result no longer appears.
Google cannot read accordionsContent in the page’s HTML is read. Content that needs a click to load is not loaded.
WordPress cannot rank in AI searchThe pages we read name no CMS as a requirement or a barrier. Rendered, server-delivered content is what counts.
Static HTML guarantees better rankingsNothing guarantees rankings. It removes a dependency.
Search Console tracks ChatGPTGoogle says its report excludes the Gemini app and other non-Search products.
An llms.txt file is requiredGoogle says Search does not use it.
Blocking Google-Extended removes you from AI OverviewsGoogle says it does not affect Search inclusion, and does not describe it as an AI Overviews control.
More pages mean better resultsGoogle treats mass-produced pages meant to manipulate results as scaled content abuse.
Advertising improves organic rankingsGoogle says advertising has no effect on organic results.
Traditional SEO is deadGoogle says the AI features run on core Search systems, and treats AEO and GEO as SEO.

Is your website ready for AI search?

Fifteen checks for a site that wants to be found and quoted. Tick what is true today.

An illustrative technical checklist. It is not an official Google or OpenAI score, and passing every item guarantees no ranking or recommendation.

AI Search Optimization Questions

Does Google index content inside FAQ accordions?

Yes, when the answers are in the page’s HTML. Google says content can sit in accordions or tabs on mobile if it matches the desktop version. It also says it does not load content that needs a click, a swipe or typed input, so answers fetched after a click are the risk.

Can ChatGPT read JavaScript-rendered content?

We could not find OpenAI documentation that says. Its crawler pages describe purposes and robots.txt behavior, not rendering. The conservative approach is to keep important content in the HTML the server returns, which also works for Google.

Does FAQ schema improve AI search rankings?

No source we found says it does. Google’s FAQ rich result stopped appearing on May 7, 2026, and Google says no special markup is needed for its AI features. Keep FAQ markup accurate and matched to visible text if you use it, but do not expect it to move results.

Is static HTML better than WordPress for AI search?

Not as a ranking matter. Static HTML removes a dependency by putting content in the first response. A WordPress site that delivers its content in server-rendered HTML gives crawlers the same thing, and a static site can still hide answers behind scripts.

How do I get my business recommended by ChatGPT?

No one can guarantee it, and OpenAI does not publish a recommendation checklist. What you control is access and evidence: allow OAI-SearchBot, keep your business information consistent, publish accurate pages and earn genuine reviews and independent mentions. Then test with a fixed set of prompts and record what happens.

Does Google Search Console track ChatGPT?

No. Search Console’s generative AI reports cover Google’s AI features in Search and Discover. Google says they exclude the Gemini app and other non-Search products, and its documentation does not name ChatGPT. Measure ChatGPT referrals in analytics and recommendations with your own prompt tests.

How do I measure my company’s AI visibility?

Use three sources and keep them separate. Search Console shows official Google data for AI Overviews and AI Mode. GA4 shows visits that click through from assistants. A repeatable prompt test shows whether assistants name you. The third is a sample, not platform data.

Does Google Business Profile influence AI recommendations?

Google says a complete, accurate profile makes a business more likely to appear in local results. How other assistants use profile data is not documented in the pages we read. A correct profile is still the most reliable source of your basic facts, so keeping it accurate is sensible either way.

Is llms.txt necessary?

Not for Google. Google says Search does not use llms.txt or similar files, and that keeping one for other services neither helps nor harms Search visibility. We found no OpenAI documentation that asks for one.

What is the difference between SEO, AEO and GEO?

SEO is optimizing for search results. AEO, answer engine optimization, and GEO, generative engine optimization, are names for optimizing to be used in AI-written answers. Google’s own guide treats them as still being SEO, so the fundamentals overlap far more than the labels suggest.

How important are customer reviews for AI recommendations?

Google says review count and ratings feed prominence in local results, and reviews are among the most visible public evidence about a business. How each assistant weighs them is not documented. Genuine reviews, earned without incentives and answered well, help customers directly, which is reason enough.

Can Spanish content improve AI visibility?

It can reach searchers an English page does not, since they phrase the same need differently. No source says language alone improves visibility. Content has to be written natively, live on its own URL with reciprocal hreflang, and carry the same accurate business information as the English page.

Sources

Official documentation, read on December 1, 2026. Platform documentation changes often, and this guide reflects it as of that date.

Find Out Where Your Site Stands.

The free audit checks the crawlability, content, profile and AI visibility points covered here, and tells you what to fix first.

Free AI Visibility Audit

No obligation, no setup fees, ever.

Get Your Free AI Visibility Audit Schedule a consultation instead