<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Mehar Zain</title>
    <description>The latest articles on Forem by Mehar Zain (@mehar_zain_d150452a9347d8).</description>
    <link>https://forem.com/mehar_zain_d150452a9347d8</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3931218%2Fce06ad22-4cff-4f34-8584-496ac9dc98c0.jpg</url>
      <title>Forem: Mehar Zain</title>
      <link>https://forem.com/mehar_zain_d150452a9347d8</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/mehar_zain_d150452a9347d8"/>
    <language>en</language>
    <item>
      <title>How to Rank Your Website in ChatGPT and Claude: The Complete AI Search Guide (2026)</title>
      <dc:creator>Mehar Zain</dc:creator>
      <pubDate>Thu, 14 May 2026 12:46:19 +0000</pubDate>
      <link>https://forem.com/mehar_zain_d150452a9347d8/how-to-rank-your-website-in-chatgpt-and-claude-the-complete-ai-search-guide-2026-53n2</link>
      <guid>https://forem.com/mehar_zain_d150452a9347d8/how-to-rank-your-website-in-chatgpt-and-claude-the-complete-ai-search-guide-2026-53n2</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://stackjot.com/rank-in-chatgpt-and-claude" rel="noopener noreferrer"&gt;StackJot&lt;/a&gt;. Republished here for the dev.to community.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;If you run a website and you have not yet noticed your AI-search traffic creeping up in analytics, you will soon. Six months ago, this site got roughly 3% of its referrals from AI assistants. Last month, it was 19%. The shift is not theoretical anymore — it is the new reality of how people find content.&lt;/p&gt;

&lt;p&gt;This guide is about one thing: how to make your website something that ChatGPT, Claude, and Perplexity will &lt;em&gt;actually cite&lt;/em&gt; when a real person asks them a question. Not a vague theory of AI search, but the specific moves that worked on a real publisher's site, including the ones that did nothing and we wasted time on.&lt;/p&gt;

&lt;p&gt;If you are still optimizing only for the ten blue links, you are leaving a growing slice of your audience to your competitors who figured out AEO first.&lt;/p&gt;

&lt;h2&gt;
  
  
  The short version (TL;DR)
&lt;/h2&gt;

&lt;p&gt;If you only have five minutes, here is the entire playbook:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Allow the right AI bots in your robots.txt&lt;/strong&gt; — OAI-SearchBot, ChatGPT-User, ClaudeBot, PerplexityBot at minimum.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Answer specific questions on dedicated pages&lt;/strong&gt; — one page, one question, one clear answer in the first 100 words.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Use Q&amp;amp;A formatting&lt;/strong&gt; — H2 in question form, then a 2–4 sentence direct answer below it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Add FAQ schema&lt;/strong&gt; to pages with multiple sub-questions. AI engines read it; Google barely shows it anymore but that does not matter.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cite real sources&lt;/strong&gt; in your own content. AI engines prefer pages that themselves behave like trustworthy sources.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Stay rankable in regular search.&lt;/strong&gt; ChatGPT uses Bing, Claude uses its own provider, Perplexity uses its own index — but in every case, you need to rank to be eligible.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Everything below is the unpacked version of those six points, with specific examples and the failures along the way.&lt;/p&gt;

&lt;h2&gt;
  
  
  What "ranking in AI" actually means
&lt;/h2&gt;

&lt;p&gt;There is a mental model worth getting right before we go further. AI answer engines do not have a static index they rank you in. What they do is roughly this:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;The user asks a question.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The model decides whether it needs fresh web information&lt;/strong&gt; (most do this automatically now).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A search query is generated&lt;/strong&gt; and run against a search index (Bing for ChatGPT, Anthropic's provider for Claude, Perplexity's own index for Perplexity).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The top results are fetched&lt;/strong&gt; by a crawler bot in real time, or pulled from a recent cache.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The model synthesizes an answer&lt;/strong&gt; using extractable chunks from those fetched pages.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Citations are attached&lt;/strong&gt; linking back to the sources that contributed to the answer.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;"Ranking in AI" really means two things in series: rank well in step 3, and write content that survives step 5 — meaning, content the model can extract from cleanly and feel confident citing.&lt;/p&gt;

&lt;p&gt;If you skip either step, you do not appear.&lt;/p&gt;

&lt;h2&gt;
  
  
  Which AI bots to allow (and which to maybe block)
&lt;/h2&gt;

&lt;p&gt;Here is the practical reference for 2026. These are the bots that actually matter for being cited by major AI assistants.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Bot&lt;/th&gt;
&lt;th&gt;Who runs it&lt;/th&gt;
&lt;th&gt;Purpose&lt;/th&gt;
&lt;th&gt;Allow for AEO?&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;OAI-SearchBot&lt;/td&gt;
&lt;td&gt;OpenAI&lt;/td&gt;
&lt;td&gt;Builds the index ChatGPT search uses&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ChatGPT-User&lt;/td&gt;
&lt;td&gt;OpenAI&lt;/td&gt;
&lt;td&gt;Fetches pages on-demand when users click "browse"&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;GPTBot&lt;/td&gt;
&lt;td&gt;OpenAI&lt;/td&gt;
&lt;td&gt;Crawls for &lt;em&gt;training data&lt;/em&gt;
&lt;/td&gt;
&lt;td&gt;Optional&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ClaudeBot&lt;/td&gt;
&lt;td&gt;Anthropic&lt;/td&gt;
&lt;td&gt;Crawls for Claude's web search and citations&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Claude-Web&lt;/td&gt;
&lt;td&gt;Anthropic&lt;/td&gt;
&lt;td&gt;Fetches pages when users invoke web search&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;PerplexityBot&lt;/td&gt;
&lt;td&gt;Perplexity&lt;/td&gt;
&lt;td&gt;Crawls for Perplexity's answer engine&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Perplexity-User&lt;/td&gt;
&lt;td&gt;Perplexity&lt;/td&gt;
&lt;td&gt;Real-time fetches when answering user queries&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Google-Extended&lt;/td&gt;
&lt;td&gt;Google&lt;/td&gt;
&lt;td&gt;Used for Gemini and Vertex AI training&lt;/td&gt;
&lt;td&gt;Optional&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The key distinction is between &lt;strong&gt;training bots&lt;/strong&gt; (GPTBot, Google-Extended) and &lt;strong&gt;query-time bots&lt;/strong&gt; (OAI-SearchBot, ChatGPT-User, ClaudeBot, PerplexityBot).&lt;/p&gt;

&lt;p&gt;You can block training bots and still be fully eligible for citations. Many news publishers do exactly this. But if you block query-time bots, you remove yourself from the answer pool entirely. That is almost never what you want unless you have a specific commercial reason.&lt;/p&gt;

&lt;p&gt;A working &lt;code&gt;robots.txt&lt;/code&gt; for AEO-friendly publishing looks like:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;\&lt;/code&gt;`&lt;br&gt;
User-agent: OAI-SearchBot&lt;br&gt;
Allow: /&lt;/p&gt;

&lt;p&gt;User-agent: ChatGPT-User&lt;br&gt;
Allow: /&lt;/p&gt;

&lt;p&gt;User-agent: ClaudeBot&lt;br&gt;
Allow: /&lt;/p&gt;

&lt;p&gt;User-agent: Claude-Web&lt;br&gt;
Allow: /&lt;/p&gt;

&lt;p&gt;User-agent: PerplexityBot&lt;br&gt;
Allow: /&lt;/p&gt;

&lt;p&gt;User-agent: Perplexity-User&lt;br&gt;
Allow: /&lt;br&gt;
`&lt;code&gt;\&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;If you want to also allow training, add &lt;code&gt;GPTBot&lt;/code&gt; and &lt;code&gt;Google-Extended&lt;/code&gt;. If you want to block training but allow citations, omit them. There is no middle path that gets you cited while blocking the query-time bots.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to write content AI engines will actually quote
&lt;/h2&gt;

&lt;p&gt;This is where most AEO advice gets vague. Here is what specifically changes the extraction rate, based on watching which of our pages get cited and which do not.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. One question per page (or per major section)
&lt;/h3&gt;

&lt;p&gt;AI engines extract answers in chunks of roughly 50–300 words. If your page tries to cover ten related questions in one long flowing essay, the model has to guess which chunk to lift. If your page has a clear question-shaped H2 with a tight 2–4 sentence answer underneath, extraction is trivial.&lt;/p&gt;

&lt;p&gt;The pattern that works:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;\&lt;/code&gt;`&lt;/p&gt;

&lt;h2&gt;
  
  
  Why does ChatGPT sometimes give different answers to the same question?
&lt;/h2&gt;

&lt;p&gt;ChatGPT uses a temperature parameter that introduces controlled randomness&lt;br&gt;
into its responses. Even with identical prompts, different sessions can&lt;br&gt;
sample different tokens. To get more consistent answers, lower the&lt;br&gt;
temperature in API calls or rephrase your prompt to be more constrained.&lt;br&gt;
`&lt;code&gt;\&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;That paragraph is &lt;em&gt;extractable&lt;/em&gt;. A model can lift it as a unit and cite the page. Compare to a 600-word section that wanders through history, opinion, and three sub-topics before landing on the same point — much harder to cite.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. The first 100 words are load-bearing
&lt;/h3&gt;

&lt;p&gt;When AI engines summarize a page, they weight the opening heavily. Get the direct answer into the first paragraph. Backstory, narrative, and personality can come later in the post (and should, because human readers want them). But somewhere in the first 100 words, the literal answer to the page's title should appear.&lt;/p&gt;

&lt;p&gt;This sounds like SEO advice from 2014. It still works. AI engines have just made it matter twice as much.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Use real names and specific numbers
&lt;/h3&gt;

&lt;p&gt;AI engines bias toward pages that demonstrate verifiable specificity. "Many users report" is weak. "Our test of 500 prompts found 73% success" is strong. Real product names, real dates, real version numbers, real prices — all of these signal that the page is grounded in actual reporting.&lt;/p&gt;

&lt;p&gt;A useful test: read your draft and underline every claim that has a specific number, name, or date attached. If less than a quarter of your sentences have an underline, you are probably writing the kind of generic content AI engines do not need to cite because they can already say it themselves.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Format for extraction: lists, tables, FAQs
&lt;/h3&gt;

&lt;p&gt;Long prose paragraphs survive extraction; bulleted lists and tables &lt;em&gt;thrive&lt;/em&gt; in it. A three-column comparison table is easy for an AI to render as part of an answer ("Here is a comparison from StackJot…"). A flowing paragraph saying the same thing requires the model to restructure it, which makes it less likely to be quoted faithfully.&lt;/p&gt;

&lt;p&gt;This is also where FAQ schema earns its keep. Even though most search engines no longer show FAQ rich results, the structured Q&amp;amp;A markup tells AI engines "this page contains discrete question-answer pairs you can lift directly."&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Cite your own sources
&lt;/h3&gt;

&lt;p&gt;This is the most underrated AEO tactic. AI engines have a soft preference for pages that themselves look like trustworthy sources. Linking out to primary sources (research papers, official documentation, original reporting) signals that your page is a synthesis built on verifiable inputs.&lt;/p&gt;

&lt;p&gt;We added inline citations to a comparison post last quarter and saw citations to that page from Perplexity roughly triple over six weeks. We changed nothing else.&lt;/p&gt;

&lt;h2&gt;
  
  
  The pages that get cited most
&lt;/h2&gt;

&lt;p&gt;After tracking which of our 50+ posts get cited in ChatGPT and Claude, three patterns dominate.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Definition and "what is X" pages.&lt;/strong&gt;&lt;br&gt;
Pages that answer a clear definitional question are catnip for AI engines. If someone asks Claude "what is AEO?", Claude needs a quotable source that defines it cleanly. If that's your page, you get the citation.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Comparison pages.&lt;/strong&gt;&lt;br&gt;
"X vs Y" content is extractable in obvious chunks: a feature table, a pros list, a verdict. We see our &lt;a href="https://stackjot.com/chatgpt-vs-claude-vs-gemini" rel="noopener noreferrer"&gt;ChatGPT vs Claude vs Gemini comparison&lt;/a&gt; cited regularly when users ask AI engines for help picking an assistant.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Step-by-step how-to pages.&lt;/strong&gt;&lt;br&gt;
Numbered procedures with concrete actions are the easiest content for an AI to extract and re-present. The &lt;a href="https://stackjot.com/automate-email-with-ai" rel="noopener noreferrer"&gt;automate email with AI&lt;/a&gt; post gets pulled into Perplexity answers about email workflows almost weekly.&lt;/p&gt;

&lt;p&gt;What does &lt;em&gt;not&lt;/em&gt; get cited much, in our experience: opinion essays, news roundups, and "10 reasons why X matters" listicles without specific actionable content. AI engines do not need to cite an opinion when they can generate one themselves.&lt;/p&gt;

&lt;h2&gt;
  
  
  Mistakes that wasted our first three months
&lt;/h2&gt;

&lt;p&gt;We tried plenty of things that turned out to be useless or actively counterproductive. Saving you the time:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Stuffing pages with FAQ schema for every possible variation.&lt;/strong&gt;&lt;br&gt;
We loaded one page with 18 FAQ entries. Citations did not increase. Page load slowed. We removed all but the 5 most relevant questions and citations went up slightly. Lesson: schema works because it matches &lt;em&gt;real&lt;/em&gt; questions, not because more is better.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Adding "as of 2026" timestamps to every paragraph.&lt;/strong&gt;&lt;br&gt;
We thought freshness signals would help. They did not. AI engines look at publish dates and the &lt;code&gt;lastmod&lt;/code&gt; in your sitemap. Sprinkling dates through prose looked desperate and changed nothing.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Writing for hypothetical AI prompts instead of real users.&lt;/strong&gt;&lt;br&gt;
Our worst-performing AEO experiment was a page literally titled "AI answer: what is the best CRM for solopreneurs?" — written as if we were &lt;em&gt;being&lt;/em&gt; the AI. It read like junk to humans and to AI engines, which apparently noticed. Real human-shaped writing on the same topic, with a normal title, outperformed it 20-to-1.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Blocking GPTBot to "force" people to click through.&lt;/strong&gt;&lt;br&gt;
A few publishers tried this in 2024–2025. It does not increase clicks; it removes you from the candidate set. People do not switch to Google when an AI engine says "I cannot find a good source on this" — they just accept the AI's general-knowledge answer and move on. Don't block the bot that's bringing you traffic.&lt;/p&gt;

&lt;h2&gt;
  
  
  A 4-week AEO sprint plan
&lt;/h2&gt;

&lt;p&gt;If you want a concrete starting point, here is the rollout we would do on a new site, based on what worked.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Week&lt;/th&gt;
&lt;th&gt;Focus&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;Audit and unblock the right bots. Submit/refresh sitemap to Bing. Confirm pages are crawlable.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;Rewrite the 5 highest-traffic pages with question-format H2s and tight first-100-word answers.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;Add FAQ schema to those 5 pages. Identify 3 new definition pages to write.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;Publish 3 definition pages. Set up tracking for AI referral sources (LLM traffic). Measure baseline.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;By the end of week 4, you should see early citations starting to appear, especially for less competitive query patterns. The compounding work is in weeks 5–12, where you expand the pattern to more pages and start showing up reliably.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to track whether it's working
&lt;/h2&gt;

&lt;p&gt;Three signals worth setting up:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Referral domains in your analytics.&lt;/strong&gt; Look for &lt;code&gt;chatgpt.com&lt;/code&gt;, &lt;code&gt;perplexity.ai&lt;/code&gt;, &lt;code&gt;claude.ai&lt;/code&gt;, and &lt;code&gt;gemini.google.com&lt;/code&gt; showing up as referrers. They will at first appear with very low volume — that is fine. The trend matters more than the number.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Manual citation checks.&lt;/strong&gt; Once a week, ask ChatGPT, Claude, and Perplexity the exact questions your pages target. Note whether you are cited, and which pages.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Server logs for AI crawler traffic.&lt;/strong&gt; OAI-SearchBot, ClaudeBot, and PerplexityBot all show up in logs with clear user-agent strings. If these crawl rates are growing, you are on the right track even before citations appear.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Do not over-rotate on any single signal. AEO traffic patterns are still noisier than Google traffic — you need a few weeks of data before any change is meaningful.&lt;/p&gt;

&lt;h2&gt;
  
  
  What this means for your content strategy
&lt;/h2&gt;

&lt;p&gt;If you write for the web in 2026, you are now writing for two audiences:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Humans&lt;/strong&gt; who will read your full post, scroll through your examples, and form an opinion.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI engines&lt;/strong&gt; that will read your post once, extract the most quotable 200 words, and either cite you or not.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The good news: writing well for one audience increasingly helps the other. Clear structure, direct answers, specific examples, and honest sourcing serve both. The bad news: anyone still writing fluff-padded SEO content from the 2018 playbook is about to find out that AI engines are even less patient with filler than human readers were.&lt;/p&gt;

&lt;p&gt;The publishers who win the next two years are not going to be the ones who game AEO. They are going to be the ones who write the cleanest, most extractable, most verifiable content in their niche — and then make sure the AI bots can read it.&lt;/p&gt;

&lt;h2&gt;
  
  
  The takeaway
&lt;/h2&gt;

&lt;p&gt;Getting cited by ChatGPT and Claude in 2026 is not a black box. It is a stack of small, knowable things: let the right bots crawl your site, write pages that answer one question clearly, structure your content so it can be lifted, and stay rankable in the search indexes the AI engines depend on.&lt;/p&gt;

&lt;p&gt;If you treat AEO as "SEO with extra steps," you will under-invest in the parts that are genuinely different. If you treat it as a separate discipline, you will miss the fact that 80% of what works is still good writing and good structure.&lt;/p&gt;

&lt;p&gt;The honest framing: AEO is what SEO should have been all along. Write like you respect the reader's time, and the AI engines — and the humans they are answering for — will start to notice.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Read the original on &lt;a href="https://stackjot.com/rank-in-chatgpt-and-claude" rel="noopener noreferrer"&gt;StackJot →&lt;/a&gt;. If you found this useful, the companion piece on &lt;a href="https://stackjot.com/aeo-vs-seo-2026" rel="noopener noreferrer"&gt;AEO vs SEO in 2026&lt;/a&gt; goes deeper into the strategic side.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>seo</category>
      <category>webdev</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
