People now ask ChatGPT, Claude, Perplexity and Gemini the questions they used to type into Google. To answer, those tools fetch real web pages. A WordPress page is a poor thing to hand a language model: navigation, scripts, cookie banners and theme markup arrive with the article, and every one of those tokens costs the model something.
So I built Rawi MD, a free WordPress plugin that gives AI agents a clean Markdown copy of a page, and ran it on my own site (ahmed-abdelhamed.com, an Arabic site about ads, WordPress and automation, with about 800 articles).
This post is what the logs show after six weeks. It's one site, the numbers are small, and I'll mark the parts I can't explain.
How an agent gets Markdown
The plugin offers four routes to the same content:
Content negotiation. The agent requests the normal URL with Accept: text/markdown and gets Markdown back. Browsers keep getting HTML.
A .md suffix. /blog/some-post.md returns the Markdown version, for agents that don't send the header.
A query string, ?format=md.
/llms.txt, an index that links to the Markdown version of every page.
The HTML page also points to its Markdown copy with and a Link: response header.
Page caches were the hard part. When LiteSpeed or WP Rocket has a stored copy, it answers before WordPress loads, so an agent asking for Markdown gets cached HTML. The plugin tells the cache plugins to stand down at runtime and generates the server rules that make the cache step aside before PHP starts.
The numbers (20 Oct – 3 Dec 2026)
10,032 Markdown requests across 1,821 distinct URLs. 99.7% returned 200.
Which route agents actually used
Route Requests Share
.md suffix 7,672 76%
Accept: text/markdown 2,290 23%
/llms.txt 63 0.6%
Query string 7 ~0%
I expected content negotiation to dominate, because it's the "correct" mechanism. It didn't. Most agents requested .md URLs directly. I can't tell from the logs how each one found them (the tag, the Link: header or llms.txt), only that they did.
/llms.txt itself was fetched just 63 times in six weeks.
Who asked, and how
Agent (as identified by user agent) Requests Route
ExaSearchBot 1,990 Accept header only
Applebot 1,337 .md only
ElevenlabsCrawler 1,013 .md
OAI-SearchBot (OpenAI) 611 .md
ClaudeBot 386 .md
Claude / Claude-User (live fetches) 90 Accept header only
Meta 59 .md
Bingbot 31 .md
Unidentified ("Chrome-like" UA and others) ~4,200 mostly .md
Two patterns stand out:
The crawlers that build indexes (OpenAI's search bot, ClaudeBot, Applebot) used the .md suffix.
The agents fetching a page live for a user (Claude, Claude-User) and Exa's search crawler sent Accept: text/markdown on the normal URL.
So if you only implement one route, you miss a big part of the traffic. You need both.
About 4,200 requests came from user agents I can't attribute: generic Chrome-like strings and unknown clients. I'm reporting them as unknown rather than guessing.
The plugin checks claimed search crawlers with forward-confirmed reverse DNS. 224 Applebot requests and 25 Bingbot requests were confirmed that way.
Tokens
On the requests where both sizes were recorded, the average page was:
HTML: ~39,400 tokens
Markdown: ~3,430 tokens
That's about 91% fewer tokens for the same words. Theme chrome on a typical WordPress page is most of what a model receives.
Markdown is generated in the background when a post is published, so the average generation time on a request was 3.4 ms.
The part that surprised me: visitors from AI
The plugin also logs people who click through to the site from an AI assistant. From 21 Nov (when that logging started) to 2 Dec, it recorded 60 human visits:
Assistant Visits How it was detected
ChatGPT 47 utm_source only
Gemini 7 Referrer
Perplexity 4 Referrer (2) and utm_source (2)
Meta AI 2 Referrer
The single most common landing page was a service page (ads management), and the consultation page and an English SEO services page were also in the list, next to practical blog posts. That's different from my Google traffic, where about 90% of visits land on blog articles.
I'm not claiming the Markdown caused these visits. AI assistants send traffic to sites that don't serve Markdown too, and I have no control group. What the data does show is something about measurement.
Your analytics are probably hiding AI traffic
My site also has its own visitor-journey tracker, separate from the plugin. When I compared it with the plugin's numbers, it showed almost no AI visitors. Two bugs, and I suspect many sites have the same ones:
ChatGPT doesn't send a referrer. Every ChatGPT visit above was detected through utm_source=chatgpt.com, none through document.referrer. My tracker classified traffic by referrer, so ChatGPT visits landed in "direct". 65 of them.
Gemini matched the Google rule first. The referrer gemini.google.com matches a regex like /(^|.)google./. My tracker checked Google before AI assistants, so Gemini visits became "Google search".
The fix is to check AI sources first, and to look at utm_source as well as the referrer:
var AI = /chatgpt|openai|perplexity|claude\.ai|gemini|copilot|you\.com|deepseek|meta\.ai|notebooklm|grok/; var utm = (new URLSearchParams(location.search).get("utm_source") || "").toLowerCase(); var host = document.referrer ? new URL(document.referrer).hostname : ""; var source; if (AI.test(host) || AI.test(utm)) source = "ai"; // before anything else else if (!host) source = "direct"; else if (/(^|\.)google\./.test(host)) source = "google"; // ... After fixing it and relabelling old sessions, the tracker showed about 89 AI-referred visits in 30 days instead of 2, and 8 of those sessions clicked through to contact me on WhatsApp. Small numbers, but not zero, and invisible until the classification was fixed.
If you report "AI traffic" from referrers alone, check your own setup before concluding there isn't any.
What I'd tell another WordPress developer
Serve both Accept: text/markdown and a .md URL. In my logs, different agents used different routes, almost without overlap.
Test through your cache. Request a page with the Accept header and check that you get Markdown, not a cached HTML copy. This is where most setups silently fail.
Don't expect much from llms.txt alone. It was the least-used route here.
Fix attribution before judging results. Look at utm_source, and check AI hosts before search engines.
Be honest about the unknowns. A large share of requests can't be attributed to a known agent.
Limits of this data
One site, mostly Arabic content, six weeks.
Agent names come from user-agent strings. Only some search crawlers were verified by reverse DNS.
The referral numbers are small and can't show cause and effect.
The token counts are estimates from the plugin's tokenizer, not billing data from any AI provider.
Rawi MD is free on WordPress.org. If you run something similar, I'd like to compare numbers, especially the split between .md and Accept requests.
