Skip to content
Blog

How to get your WordPress site cited by AI assistants

How to get your WordPress site cited by AI assistants in 8 steps: answer first, facts in text, structured data, llms.txt, crawler rules, and prompt checks.

The WP Waterfall team · Guides

To get your WordPress site cited by AI assistants, make each page easy to quote and easy to fetch. Put the answer in the first 100 words, write facts as short sentences in the page text, add structured data, let the AI crawlers in, and then ask the assistants real questions to see what they say. Nobody can promise a citation, because each assistant chooses its sources its own way. These 8 steps improve your odds and help search engines too.

Key takeaways

  • An assistant quotes what it can find fast: a direct answer, a clear fact, a list, or a table in plain HTML.
  • Access comes first. A firewall or robots.txt rule that blocks AI crawlers removes you from their answers.
  • Check the result with real prompts, because the only proof of a citation is the assistant's own answer.

1. Write the answer first

Assistants and search engines both pull the first useful passage. Start each page with a one or two sentence answer to the question in the title, then explain. A page called "How to migrate a WordPress site" should begin with what migrating means and the steps in one paragraph, not with a story. Keep the first 100 words free of filler, and name who you are on the page: "Acme Hosting is managed WordPress hosting for agencies" gives a model a sentence it can reuse.

2. Put facts in the page text

If a number matters, write it in a sentence. Prices, limits, dates, versions, and supported formats belong in HTML text, not only in an image, a PDF, or a script that builds the page in the browser. Many crawlers read the server's HTML and do not run scripts. Use plain, specific sentences: "The file can be up to 200 GB" is quotable, while "generous limits" is not. Keep one source for each fact, and update it everywhere when it changes, because a model that reads two different prices will quote either one.

3. Use headings, lists, and tables

Write headings as the questions people ask or as plain topic names. Under each one, answer directly. Use a list for steps and a table for comparisons. These shapes are easy to lift into an answer without losing meaning. Add a short "Key takeaways" list near the top of long articles. Avoid claims you cannot support, and name where competitors are the better choice. Assistants lean toward pages that read as fair.

4. Add structured data

Structured data is machine readable labeling of what a page is. The usual types are Organization and WebSite on the home page, Article or BlogPosting for posts, FAQPage for question lists, BreadcrumbList for the path, and Product with an Offer for plans. You write it as JSON-LD in a script tag. Here is a small FAQ example:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "Do you move my site for free?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes. Share a link to a backup and we import it to staging for your review."
      }
    }
  ]
}
</script>

The markup must match the visible text on the page, or search engines may ignore it. In WordPress, an SEO plugin can write most of this for you. Test the page with Google's Rich Results Test, and never add ratings or reviews you do not have.

5. Let the AI crawlers in

Check your robots.txt and your firewall. AI companies publish the names of their crawlers, and many have separate ones for training, for search, and for a person's request. These are the common ones: GPTBot, OAI-SearchBot, and ChatGPT-User from OpenAI; ClaudeBot, Claude-SearchBot, and Claude-User from Anthropic; PerplexityBot and Perplexity-User from Perplexity; and Google-Extended and Applebot-Extended, which control use for training. Googlebot and Bingbot need no special line, and Google's AI features and Microsoft's Copilot answer from those search indexes.

To allow them, make sure nothing disallows them. One detail trips people up: a crawler that finds a group for its own name ignores the * group, so any Disallow lines you want it to follow must be repeated there.

User-agent: *
Allow: /
Disallow: /wp-admin/

User-agent: GPTBot
User-agent: ClaudeBot
User-agent: PerplexityBot
Allow: /
Disallow: /wp-admin/

Then test that your server answers them, since a firewall can block by user agent even when robots.txt allows it:

curl -s -A "ClaudeBot" -o /dev/null -w '%{http_code}\n' https://example.com/

You want 200. A 403 means something blocks the crawler.

6. Publish an llms.txt file

The llms.txt convention, described at llmstxt.org, is a Markdown file at /llms.txt that gives a model a short map of your site: a title, a one line summary, and links with a sentence each. Treat it as cheap and harmless. We cannot show that every assistant reads it, so do not rely on it alone.

# Acme Hosting

> Managed WordPress hosting for agencies, with free migrations.

## Key pages

- [Pricing](https://example.com/pricing): Every plan and what it includes.
- [Migrate a site](https://example.com/migrate): How a free migration works.

7. Give machines clean copies of your key facts

A page full of menus, scripts, and banners is harder to read than a plain one. Keep one short page of facts about your company: what you do, who it is for, the prices, the limits, and the dates. Consider a Markdown copy of your key pages as well. These give a model a clean source to quote, and they keep your facts in one place.

On wpwaterfall.com the facts page holds the short list, and the home page answers as Markdown at wpwaterfall.com/index.md. Every key page does the same: add .md to its address.

8. Check with real prompts

Open ChatGPT, Claude, Gemini, Perplexity, and Copilot, and ask ten questions a buyer would ask, in plain words. Write down whether you are named, whether you are cited with a link, and whether the facts are right. Do it again each month. If a fact is wrong, find the page the assistant read, fix the text, and make sure only one version of it exists.

Your server log shows which AI crawlers visit. This command counts requests by crawler, and the second counts the status codes they received:

grep -oE 'GPTBot|OAI-SearchBot|ChatGPT-User|ClaudeBot|Claude-SearchBot|Claude-User|PerplexityBot|Perplexity-User' access.log | sort | uniq -c | sort -rn
awk -F'"' '/GPTBot|ClaudeBot|PerplexityBot/ {split($3, a, " "); print a[1]}' access.log | sort | uniq -c

A crawler that gets 403 or 429 answers will not cite you.

What we did on our own site

We follow these steps on wpwaterfall.com. Each page names what WP Waterfall is in its first screen. Prices come from a live price list and are never typed into a page. The robots.txt file names each AI crawler and repeats the rules for it. The llms.txt and llms-full.txt files are generated from the same source as the pages. Key pages and docs articles have a Markdown copy at their address plus .md, and llms.txt links to each copy. Pages carry structured data for questions, breadcrumbs, and articles, and long articles have a takeaways list. A script checks each AI crawler against each key page, so a rule that blocks one shows up before a buyer asks.

What about WP Waterfall sites?

A WP Waterfall site lets AI crawlers in unless you turn on Block AI crawlers in its bot protection settings. The switch is off by default, and staging and preview environments refuse all crawlers on purpose, so your drafts stay private. See Bot protection for the setting and its exceptions.

Read next

Try what you just read about.

See it in your own dashboard.