How to optimize for answer engines in 8 steps

An 8-step AEO guide for AI Overviews, ChatGPT, Perplexity and Claude: crawler access, indexing, answer-first pages, off-site signals and how to measure them.

L
Leadige editorial team
Updated · 10 min read
On this page
  1. What does optimizing for answer engines involve?
  2. Step 1. Can AI search crawlers reach your site?
  3. Step 2. Are your pages indexed and eligible in Google?
  4. Step 3. Which questions should your pages answer?
  5. Step 4. How do you write pages that get cited?
  6. Step 5. Do structured data and llms.txt help?
  7. Step 6. How do you build signals outside your site?
  8. Step 7. How do you fix wrong facts about your brand?
  9. Step 8. How do you measure progress?
  10. Mistakes and risks
  11. FAQ

To optimize for answer engines, make sure their search crawlers can reach your pages, keep those pages indexed in Google, answer real buyer questions with specific facts, and build mentions on other sites. Ranking in Google alone is not enough. An Ahrefs study of 15,000 prompts found that only 12% of links cited by ChatGPT, Gemini and Copilot appear in Google's top 10 for the same prompt. Our SEO + AEO audit includes an AI visibility check and compares your site with up to 6 competitors.

SEO + AEO audit · 30+ page PDF in 24 hours · $499 · Order the audit

What does optimizing for answer engines involve?

It involves the same foundation as SEO plus a few checks for engines that run their own crawlers. Google says optimizing for its generative AI features "is optimizing for the search experience, and thus still SEO." ChatGPT, Perplexity and Claude add their own access rules. If you need the background first, read what is AEO and AEO vs SEO vs GEO.

Step What you do How to check it
1. Crawler access Allow Googlebot, OAI-SearchBot, PerplexityBot, Claude-SearchBot robots.txt, CDN and firewall logs
2. Indexing Keep key pages indexed and snippet-eligible Search Console Pages and URL Inspection
3. Questions List real buyer questions and follow-ups Sales calls, support tickets, People Also Ask
4. Content Answer first, add specific facts and original data Manual review against the question list
5. Markup and files Keep valid structured data, treat llms.txt as optional Rich Results Test
6. Off-site signals Earn real mentions, reviews and links Backlink tool, brand mention search
7. Brand facts Fix outdated facts and broken URLs that AI cites Prompt checks, 404 logs
8. Measurement Track AI impressions, mentions, citations and referrals Search Console Insights, prompt tracking

Step 1. Can AI search crawlers reach your site?

Check this first, because a blocked crawler means zero citations from that engine. Each AI search tool documents its own bot.

  • OpenAI. "OAI-SearchBot is used to surface websites in search results in ChatGPT's search features." Sites opted out of it "will not be shown in ChatGPT search answers."
  • Perplexity. "PerplexityBot is designed to surface and link websites in search results on Perplexity." Perplexity also suggests allowing its published IP ranges.
  • Anthropic. Claude-SearchBot "navigates the web to improve search result quality for users." Blocking it "may reduce your site's visibility and accuracy in user search results."
  • Google. AI Overviews and AI Mode use the normal Search index, so Googlebot access is what counts.

Training bots are separate. GPTBot and ClaudeBot collect content for model training. You can block them and still allow the search bots. A robots.txt that does exactly that looks like this:

User-agent: OAI-SearchBot
Allow: /

User-agent: PerplexityBot
Allow: /

User-agent: Claude-SearchBot
Allow: /

User-agent: GPTBot
Disallow: /

Blocking is common. Ahrefs reports that around 5.89% of websites block GPTBot outright. Check your CDN and firewall as well, since bot protection rules can block crawlers that robots.txt allows. OpenAI and Perplexity both say robots.txt changes can take up to about 24 hours to apply.

Also check rendering. Ahrefs notes that "most AI crawlers don't run JavaScript at all." If your main content only appears after JavaScript runs, serve it in the initial HTML.

Step 2. Are your pages indexed and eligible in Google?

For Google's AI features, a page must be indexed and allowed to show a snippet. Google's guide states that "a page must be indexed and eligible to be shown in Google Search with a snippet." It adds that a site "must be included in Search generative AI features in Search Console to be eligible."

Work through these checks in Search Console:

  1. Open the Pages report and confirm your key pages are indexed.
  2. Use URL Inspection on the pages that matter most to sales.
  3. Search your templates for nosnippet or a very low max-snippet value on pages you want cited.
  4. Confirm the site's setting for Search generative AI features in Search Console.

Google also states that "indexing and serving aren't guaranteed." Meeting the requirements makes a page eligible. It does not promise a citation. A technical review in an SEO audit covers indexing problems in more depth.

Step 3. Which questions should your pages answer?

Answer the questions your buyers actually ask, including the follow-ups. Google's AI features use query fan-out, "a set of concurrent, related queries generated by the model to request more information." Its example turns "how to fix a lawn that's full of weeds" into queries like "best herbicides for lawns" and "how to prevent weeds in lawn."

Collect questions from four places:

  • sales calls and demo requests;
  • support tickets and live chat logs;
  • People Also Ask boxes and related searches in Google;
  • your own prompt tests in ChatGPT, Perplexity, Claude and Google AI Mode.

Group them into topics and map each topic to one page. Google warns against the opposite approach. Creating separate pages for every query variation "primarily to manipulate rankings or generative AI responses" violates its scaled content abuse policy. One strong page per topic beats ten thin ones.

Step 4. How do you write pages that get cited?

Put the answer first, back it with specific facts and add something other pages do not have. Google's guide says unique, useful content "will likely influence your website's presence in generative AI search in the long run more than any of the other suggestions in this guide."

Google calls this "non-commodity content." It contrasts a generic "7 Tips for First-Time Homebuyers" with a first-hand piece based on real experience. For a business, non-commodity content looks like:

  • real prices, ranges and what changes them;
  • results of your own tests, with the method described;
  • data from your product or customer base, with the date;
  • comparisons with clear criteria and a table;
  • named, current policies such as warranties, delivery terms and refunds.

On structure, Google says pages organized "by paragraphs and sections, along with headings that provide a clear structure" help readers. Start each section with a one or two sentence answer, then explain. Keep facts accurate. Google advises updating pages "when information changes" so they are "represented accurately when it's linked in generative AI responses."

Research shows that deliberate content changes can move visibility. The 2023 paper "GEO: Generative Engine Optimization," accepted to KDD 2024, reports that content changes "can boost visibility by up to 40% in generative engine responses" on its benchmark, with effects that vary by domain.

You do not need a special AI writing style. Google says "you don't need to write in a specific way just for generative AI search" and that there is "no requirement to break your content into tiny pieces."

Step 5. Do structured data and llms.txt help?

They help less than many guides claim. Google says "structured data isn't required for generative AI search, and there's no special schema.org markup you need to add." It still recommends structured data for rich results.

Ahrefs tested schema directly. It tracked 1,885 pages that added JSON-LD against 4,000 controls and "found no meaningful uplift on AI Mode or ChatGPT." Pages cited by AI were more likely to have JSON-LD, but that was correlation. Keep valid markup for products, organizations, reviews and articles because it supports rich results, and do not expect it to win citations by itself.

llms.txt is a 2024 proposal by Jeremy Howard for "adding a /llms.txt markdown file to websites to provide LLM-friendly content." Google says Google Search ignores it, and adding one "will neither harm nor help your site's visibility or rankings in Google Search." Ahrefs checked 137,000 domains and found that of about 38,000 valid llms.txt files, 97% received zero requests in the month measured. Create one if it is cheap and useful for developer tools. See what is llms.txt for the format.

Step 6. How do you build signals outside your site?

Earn real mentions on sites that answer engines already trust in your topic. The Ahrefs finding that only 12% of AI-cited links sit in Google's top 10 shows that engines look beyond the first page of Google. Independent pages that mention you give them more paths to your brand.

Useful off-site work includes:

  • reviews on platforms your buyers use;
  • coverage in industry media and trade publications through digital PR;
  • guest articles and links on relevant sites, chosen by traffic and topic;
  • accurate listings in Google Business Profile and Merchant Center, which Google says can help products and local businesses appear "in both AI responses and other Google Search results."

Avoid fake signals. Google says "seeking inauthentic 'mentions' across the web isn't as helpful as it might seem," and its spam systems apply to AI features too. For links, Google's link spam policy still applies. Read ChatGPT SEO for ChatGPT-specific advice, and browse our catalog of 71,000+ websites if you place articles on relevant sites.

Step 7. How do you fix wrong facts about your brand?

Fix the source pages first, then the URLs that AI tools invent. Answer engines repeat what they find. If your pricing page is outdated or your About page is vague, the answer will be too.

Steps that work:

  1. Run brand prompts such as "[brand] pricing," "[brand] reviews" and "[brand] vs [competitor]" in each engine.
  2. Note each wrong fact and the page cited for it.
  3. Update your own pages with the correct, dated facts.
  4. Ask third-party sites with outdated facts to correct them.
  5. Check your 404 logs for URLs that AI tools send visitors to.

The last step matters more than it seems. Ahrefs checked 16 million URLs cited by six AI assistants and found they "send visitors to 404 pages 2.87x more often than Google Search does." Redirect invented URLs that get traffic to the closest real page.

Step 8. How do you measure progress?

Measure Google with Search Console and the other engines with prompt tracking and logs. Google says the Insights report shows query groups "that led to your site appearing in AI Overviews and AI Mode." Impression share "shows how often generative AI responses for a query group included a link to your site."

For ChatGPT, Perplexity and Claude, use three methods:

  • Prompt tracking. Run a fixed list of buyer questions on a schedule. Record mentions, citations, sentiment and which competitors appear.
  • Server logs. Count hits from OAI-SearchBot, PerplexityBot and Claude-SearchBot per page.
  • Analytics. Segment sessions referred by AI tools and track their conversions.

Answers vary between runs, so judge trends over several checks. A single prompt result proves little.

Mistakes and risks

These mistakes waste the most time and budget:

  • Blocking search bots with a blanket AI rule. Separate training bots from search bots in robots.txt and in CDN settings.
  • Skipping classic SEO. Google's AI features retrieve from its index. A page that is not indexed cannot be cited there.
  • Mass pages for fan-out queries. Google treats this as scaled content abuse when the goal is to manipulate responses.
  • Buying fake reviews or mentions. Google's spam systems still apply, and fake reviews can damage trust with buyers.
  • Expecting schema or llms.txt to work alone. Google ignores llms.txt, and Ahrefs saw no uplift from adding JSON-LD.
  • Changing dates without changing content. Update facts when they change, and keep the date honest.
  • Measuring once. Answers change between runs. Track a fixed set of prompts over time.

SEO + AEO audit · 30+ page PDF in 24 hours · $499 · Order the audit

FAQ

How do I rank in Google AI Overviews? Make sure the page is indexed, snippet-eligible and included in Search generative AI features in Search Console. Then answer the query clearly with specific, current facts. Google says no special markup is needed.

How do I get cited by ChatGPT? Allow OAI-SearchBot in robots.txt and your firewall, since opted-out sites are not shown in ChatGPT search answers. Then publish clear, factual pages and earn mentions on other relevant sites.

Is AEO different from SEO? For Google, it is the same work. Google says optimizing for its AI features "is still SEO." Other engines add crawler access and brand monitoring.

Does schema markup help with AI search? Not directly. Google says no special schema is needed, and an Ahrefs test of 1,885 pages found no meaningful uplift on AI Mode or ChatGPT after adding JSON-LD.

Should I create an llms.txt file? It is optional. Google Search ignores it, and Ahrefs found 97% of valid llms.txt files received no requests in a month.

How do I track AI search traffic? Use Search Console Insights for AI Overviews and AI Mode. For other engines, check server logs for their search bots and segment AI referrals in analytics.

Sources

Read next