llms.txt in WordPress and Shopify. Shopify already has one, on WordPress a plugin writes it: what goes into it and how to put it right.
On Shopify the llms.txt file already exists in every store, and on WordPress the plugin fills it with the latest updated pages. Here are the steps to fix it on both, plus a checklist in Word and PDF.
In WordPress you add llms.txt with a plugin, Yoast SEO or Rank Math, or by uploading a plain text file to the root folder. In Shopify you do nothing: the file is already there.
Shopify states in its developer documentation that it manages an agents.md file for every store and that /llms.txt mirrors it. Yoast, in its specification, puts the five most recently updated pages in the file and rebuilds it every week.
In both cases the part that says who you are is missing. Shopify explains to agents how to buy, the plugin lists pages. The company summary has to be written by hand: in Additional Content on Rank Math, in the static file on WordPress, or in agents.md.liquid on Shopify.
The nine-step checklist, with one column per platform, can be downloaded below, in Word and PDF, with no email required.
Written by: Mattia Esposito, AI and marketing consultant, founder of Itria AI. From Puglia, based in Turin since 2023, he works remotely in Italy and abroad. LinkedIn profile.
The llms.txt checklist for WordPress and Shopify, to download
Nine checks in a row, with one column for WordPress and one for Shopify: whether the file already exists, who writes it, what goes in it, how to check the response and when to read it again. In the Word file you note the date and the evidence for each step; the PDF is for printing and ticking off. It also contains a sample summary and an annotated agents.md.liquid template.

| File | Contents | Link |
|---|---|---|
| Wordto fill in, in Italian | The nine-step checklist, the sample summary, the Shopify template. | |
| PDFto print, in Italian | The same checklist, to tick off with a pen in front of the site. |
| Step | WordPress | Shopify |
|---|---|---|
| 1. Is the file already there? | Open yoursite.com/llms.txt: it exists if a plugin is active or someone has uploaded it. | Yes, in every store. |
| 2. Who writes it | Yoast, Rank Math, a dedicated plugin or a file written by hand. | Shopify, unless the theme has a template. |
| 3. The name at the top | An H1 with the company name. | The store name, from the agents object. |
| 4. The summary | Written by hand: Additional Content or a static file. | Only with agents.md.liquid. |
| 5. The pages | Picked by hand, noindex pages left out. | Products and collections, from the managed file. |
| 6. Updates | Yoast every week; a hand-written file whenever the site changes. | Managed; a template has to be maintained by hand. |
| 7. Conflicts | A static file blocks Yoast; two plugins can overlap. | llms.txt.liquid detaches /llms.txt from agents.md. |
| 8. Language | One file per site, in the language you choose. | A single file for every market. |
| 9. The check | Status 200, UTF-8, working links; date of the next check. | The same, on the primary domain. |
On 7 September I opened the websites of 142 Italian companies that also sell abroad and looked for the file. In the post I wrote that day I put it like this: “Twenty-eight out of a hundred and forty-three have the file that explains the company to an assistant, and in twenty-four a plugin wrote it.” Twenty-four files out of twenty-eight were somebody else's default setting.
A plugin does not know what the company sells. It takes the pages touched recently and the fullest categories, and lines them up. For a catalogue that can be enough. For a company that has to tell an assistant what it does, who it works for and where it delivers, the paragraph that matters is missing: the one at the top.
I write the llms.txt of itria.io by hand, because the site is static and no plugin generates it. In the post of 21 September I wrote a line that holds here too: “AI cites the body that sets the rule or the firm that does the work. Never the people explaining it.” So every step on this page points to the documentation of the companies that actually generate the file: Yoast, Rank Math, Shopify.
How to add llms.txt in WordPress
In WordPress you switch on the Yoast SEO feature, activate the Rank Math module, or write the file by hand and upload it to the root folder of the site.
With Yoast the path, in the guide updated on 20 April 2026, is Yoast SEO, Settings, Site Features: under AI tools you find the LLMS.txt toggle, then Save changes. The feature is in the free version too. With the interface in another language the menus may appear translated.
There are two cases where it will not start. It is missing on WordPress multisite, and the Yoast page says so in one line: “Please note that llms.txt is not available for multisite.” If you see the warning that the file could not be generated, Yoast points to the write permissions on the server. The other frequent cause is an llms.txt already uploaded to the root.
| Tool | How to switch it on | What it writes in the file |
|---|---|---|
| Yoast SEO | Settings, Site Features, LLMS.txt toggle. | Five recently updated items per type, five categories or tags. |
| Yoast, manual selection | Customize llms.txt file, Manual page selection. | The pages you choose. |
| Rank Math | LLMS Txt module from the Dashboard, then General Settings, Edit llms.txt. | Nothing until you choose post types and taxonomies; then up to 100 entries. |
| Rank Math, free text | Additional Content field. | The text and links you write by hand. |
| All in One SEO | Listed among the generators on llmstxt.org. | Check its own documentation. |
| Hand-written file | Plugin feature off, file uploaded to the root. | The text you write yourself. |
What Yoast puts in the llms.txt file
By default Yoast adds the five most recently updated items of each content type, with cornerstone content first, and the five categories or tags with the most content attached. The file is regenerated once a week by a scheduled action. Posts only count if they were published in the last twelve months.
The criterion is the date, not importance. The page updated yesterday may be the privacy policy or a blog post, and the page explaining what you sell stays out if nobody has touched it. For pages Yoast lets you choose by hand, with Customize llms.txt file and Manual page selection: use it.
The Yoast technical specification also explains a few oddities. The file starts with a UTF-8 BOM, which the proposal allows and a filter can remove. Special Markdown characters in your text are escaped with a backslash, so an asterisk in the site tagline comes out as \*. And if another plugin serves llms.txt dynamically, the address returns the Yoast file.
Rank Math and the rest: the llms.txt generator for WordPress
Rank Math has an LLMS Txt module that starts empty: until you choose post types and taxonomies, the file lists nothing. You activate it from the Rank Math Dashboard and set it up in General Settings, under Edit llms.txt.
Each entry gets a title, an address and a short description, up to 100 entries with the default setting. The documentation puts it plainly: “Posts that are set to noindex will be excluded from the llms.txt file.” The Additional Content field takes text and links written by hand, and the company summary belongs there.
In the WordPress plugin directory, on 10 November 2026, a search for “llms.txt” returned 728 results. Yoast SEO reports more than 10 million active installations, All in One SEO more than 2 million, the dedicated Website LLMs.txt plugin more than 50,000. Turning up in that search does not mean a plugin generates the file: for general SEO plugins, read their own page.
How to create an llms.txt file in WordPress by hand
Write a plain text file called llms.txt, save it in UTF-8 and upload it to the root folder of the site with your host's file manager or over FTP, after switching off the plugin feature. It is usually the folder that also holds wp-config.php.
Yoast itself describes this procedure: disable the feature, create the file in the root, follow llmstxt.org. A file uploaded by hand stays put, because Yoast does not overwrite an llms.txt it finds on the server. The cost is maintenance: the file no longer changes on its own and has to be reread whenever the site changes.
The middle way is to keep the plugin and write only the top part by hand. The summary goes in a blockquote after the title and answers four questions: who you are, what you do, for whom, where. The full format, line by line, is in the guide to llms.txt and in the glossary entry on llms.txt.
# Studio Esempio
The name, as it appears in the site footer.
> Studio Esempio designs irrigation systems for farms in Apulia and Basilicata, with site surveys and maintenance, since 2009.
Who you are, what you do, for whom and where, in one sentence.
Quotes on request from the Contact page. Based in Matera, VAT number in the site footer.
What an agent needs to know to point an enquiry in the right direction.
How to add llms.txt in Shopify: it is already there
On Shopify you install nothing: the platform generates and manages an /agents.md file for every store, and /llms.txt mirrors its content automatically. The developer documentation says so in one sentence: “Shopify manages an agents.md file by default for every store.”
On 10 November 2026 the llms.txt of Allbirds, a Shopify store, returned status 200 as text/markdown in UTF-8. It opened with instructions for agents, the Shop skill and the UCP commerce protocol. By default, then, the file tells an agent how to browse and buy, and says little about the history of the brand or why to choose it.
The file lives only on the primary domain, with no language or Markets prefix, and has no translated versions. A store in Italian and English has just one, so you have to decide the language of the summary. Yoast SEO for Shopify also has an llms.txt option, under Advanced; its page does not say how it coexists with the managed file, so after switching it on, open /llms.txt and see which one answers.
Shopify agents.md vs llms.txt: what is the difference
agents.md is the main document for agents visiting the store; llms.txt and llms-full.txt are two alternate addresses that show the same text by default. In agents.md Shopify puts the UCP discovery address and the MCP endpoint, read-only paths for products, collections and search, the published policies and guidance for shopping agents.
Keep it apart from the AGENTS.md file in the theme root: that one is for coding assistants working on the theme code and never appears on the storefront. When a request comes in, Shopify looks for a template in the theme in this order and uses the first one it finds.
| Address | Templates looked up, in order | If the theme has none |
|---|---|---|
| /agents.md | agents.md.liquid | The file generated by Shopify |
| /llms.txt | llms.txt.liquid, then agents.md.liquid | The same text as agents.md |
| /llms-full.txt | llms-full.txt.liquid, then agents.md.liquid | The same text as agents.md |
How to customise llms.txt in Shopify
To change all three addresses together, add an agents.md.liquid template to the theme; to detach /llms.txt alone, add llms.txt.liquid, which Shopify advises against unless you have advanced needs. The documentation is blunt: “In most cases, don’t add a separate llms.txt.liquid template.”
The path is the same for both files. From the admin go to Online Store, Themes; on the theme open the three-dot menu and choose Edit code. In the left sidebar, right-click the Templates folder, choose New File and type the name, agents.md.liquid. With the admin in another language the labels appear translated.
The template accepts Markdown and Liquid, in a restricted context: only the request and agents objects are available. Global objects such as shop, collections and pages render blank, so the company description, location and contact details have to be written in by hand. Shopify also warns that adding the template makes you responsible for keeping it current.
Keep the lines the agents object fills in by itself, because shopping agents rely on them, and add the summary above. Below is an example for a made-up store.
# {{ agents.store_name }}
The store name, taken from the agents object: it stays right even if you change it.
> Ceramiche Esempio makes handmade tiles in Apulia and ships across Italy and the European Union.
The summary, written by hand: the managed file has none.
## Commerce Protocol (UCP)
- Discovery: {{ agents.ucp_discovery_url }}
- MCP endpoint: {{ agents.mcp_endpoint_url }}
The lines for shopping agents, filled in by Shopify. Leave them in.
## Read-only browsing
- All products: /collections/all
- Sitemap: {{ agents.sitemap_url }}
Where an agent reads products and pages without buying.
Prices in {{ agents.currency }}.
The main currency of the store, again from the agents object.
llms.txt checker: how to check that the file works
The most reliable check is to open yoursite.com/llms.txt and read the response: status 200, type text/plain or text/markdown, an H1 heading on the first line, links that open real pages. From a terminal, curl -I followed by the address shows the status code and the content-type on a line each.
No official validator published by llmstxt.org turned up. The check backed by a browser maker is the Lighthouse audit, described in the guide to llms.txt: it flags an error if the server fails to deliver the file, and shows not applicable if the file is missing.
| What you see | What it means | What you do |
|---|---|---|
| 200 and # Name on the first line | The file arrives and follows the format. | Reread the content |
| 404 | The file is not there. | Switch on the plugin or upload it |
| 403 o 500 | The file exists but does not arrive: Lighthouse flags it. | Permissions and firewall |
| Garbled accented letters | Wrong encoding. | Serve it in UTF-8 |
| Privacy policy and old posts | The Yoast default setting. | Manual page selection |
| Empty file on Rank Math | Module on but not configured. | Choose post types and taxonomies |
| Backslashes in the text | Yoast escapes Markdown characters. | Fix the source text |
| Only buying instructions | The Shopify managed file. | Add agents.md.liquid |
Then the content, which no tool checks. Every link must open a page returning 200, the summary must say what the site says, and the name and VAT number must match the footer. On Itria's site the same check covers the contact addresses as well, as the lab on the email address AI assistants cannot see explains.
The file alone did not get me found. On 7 August llms.txt and structured data were already in place, and ChatGPT, asked who had founded itria.io, replied that it could not find me.
The pages did. In August the site had 24 impressions. From 11 October to 7 November 2026 it appeared 13,803 times in Google and Bing results, and 3,818 times in Google and Microsoft AI answers. In between came more than a hundred pages, with sources and files to download.
I keep the llms.txt anyway. It costs little, I write it by hand, and it gives an agent the name, location and case studies without making it piece the company together from scattered pages.
llms.txt, llms-full.txt and robots.txt: what each one does
llms.txt introduces the site to an agent, llms-full.txt puts the full text in a single file, robots.txt tells crawlers where they may go. On Shopify llms-full.txt mirrors agents.md just as llms.txt does. On WordPress Yoast and Rank Math generate llms.txt, and for the extended version there are dedicated plugins such as LLMs.txt and LLMs-Full.txt Generator, with more than 4,000 active installations.
Neither llms file grants or removes permissions for crawlers: that job stays with robots.txt, with the names of the AI crawlers explained on the page about robots.txt and AI crawlers and in the AI crawler glossary.
The file will not get you into assistant answers by itself. Google writes that its Search ignores it, and assistant providers do not say they use it to pick sources: the quotations are in the guide to llms.txt. What comes first is letting the crawlers in, the index and pages with verifiable facts, as the pages on how to show up in ChatGPT, in Claude and in Perplexity explain.
Nothing changes between Italy, the European Union, the United Kingdom and the United States: the file is voluntary, and the plugins and platforms are the same. To see whether the work pays off you need the right reports, collected on the page about how to measure GEO. How a company builds its presence in search engines and assistants, files included, is covered on the page about presence in search engines and AI assistants.
Questions and answers
How do you add llms.txt in WordPress?
In Yoast SEO go to Settings, Site Features, and under AI tools switch on the LLMS.txt toggle, then Save changes. In Rank Math activate the LLMS Txt module from the Dashboard and choose the content in General Settings. Without a plugin, upload a plain text file called llms.txt, saved in UTF-8, to the root folder of the site.
Does Shopify already have an llms.txt file?
Yes. Shopify generates and manages an /agents.md file for every store, and /llms.txt mirrors its content automatically. No app is needed. The managed file tells an agent how to browse and buy in the store, and says little about who the company is.
What does Yoast put in the llms.txt file?
According to its technical specification, the five most recently updated items of each content type, with cornerstone content first, and the five categories or tags with the most content. Posts only count if published in the last twelve months. The file is regenerated once a week; pages can be picked by hand with Manual page selection.
How do you check that llms.txt works?
Open the site address followed by /llms.txt. The file is in order if it returns status 200, arrives as text/plain or text/markdown in UTF-8, starts with an H1 heading and has links that open real pages. Lighthouse, the Chrome tool, flags an error if the server fails to deliver it.
What is the difference between agents.md and llms.txt on Shopify?
agents.md is the main document for agents: the commerce protocol, the MCP endpoint, read-only addresses for products and collections, the store policies. llms.txt and llms-full.txt are alternate addresses that show the same text by default. An agents.md.liquid template changes all three at once.
Notes on sources
- Yoast, How to enable llms.txt in Yoast SEO, updated 20 April 2026, and the llms.txt functional specification: path, multisite, content included, weekly update, BOM, escaped characters, conflicts with other plugins. Vendor documentation, read on 10 November 2026.
- Yoast, llms.txt in Yoast SEO for Shopify: the path under Advanced. Read on 10 November 2026.
- Rank Math, LLMS Txt, updated 23 September 2025: activation, empty file until configured, 100-entry limit, noindex exclusion, Additional Content. Vendor documentation, read on 10 November 2026.
- WordPress.org, search for “llms.txt” in the plugin directory, public API data read on 10 November 2026: 728 results; active installations are rounded bands reported by wordpress.org.
- Shopify, llms.txt.liquid and agents.md.liquid, theme documentation: managed file, template lookup order, restricted Liquid context, no version per language or Markets, admin path. Read on 10 November 2026.
- The file allbirds.com/llms.txt, opened on 10 November 2026: status, type and first lines are those of that day.
- llmstxt.org, The /llms.txt file, version 2; Chrome for Developers, Lighthouse llms.txt audit; Google Search Central, Optimizing your website for generative AI features on Google Search. Read on 10 November 2026; the details are in the guide to llms.txt.
- The count of 28 sites out of 143 comes from the post of 7 September 2026, the line about AI from the post of 21 September 2026; the site figures from Search Console, Bing Webmaster Tools and the Google and Microsoft AI reports, window 11 October to 7 November 2026.
The plugin writes the list of pages. The summary that makes buyers choose the company is written by someone who knows it. Positioning is built starting from the market.
Mattia Esposito, who wrote this guide, also works with Itria on positioning: in-depth market analysis to find where competitors are exposed and take that ground. He did it on his own site first. In August, asked who had founded itria.io, ChatGPT couldn’t find him. From 11 October to 7 November 2026 itria.io pages appeared 13,803 times in Google and Bing results and 3,818 times in AI answers: Google’s AI Overviews and AI Mode, and Microsoft Copilot.