Silver Company
  • Home
  • Services
    • Mobile Apps Development
    • Website Development
    • Website support
    • AI Solutions & Automation
    • Design Services
  • Portfolio
  • Blog
  • Contacts
  • Русский
  • Eesti
23.11.2026 by Silver Company

How to add llms.txt to WordPress | Silver Company

How to add llms.txt to WordPress | Silver Company
23.11.2026 by Silver Company
Content hide
1 What llms.txt is
2 Which WordPress plugin should you use for llms.txt?
3 How to add llms.txt with Rank Math
4 How to add llms.txt with Yoast SEO
5 How to add llms.txt with All in One SEO
6 How to upload llms.txt manually in WordPress
7 Why /llms.txt may show old content or a redirect
8 How to check that llms.txt works
8.1 Silver Company llms.txt generator
9 Frequently asked questions

The simplest way to add llms.txt to WordPress is to enable it in the SEO plugin you already use: Rank Math, Yoast SEO or All in One SEO (AIOSEO). You can also write the file yourself and upload it to the site root with a file manager or FTP. Use only one method, then purge the cache and open /llms.txt: it should return HTTP 200 as plain text, not a redirect or a theme page.

Three ways to add llms.txt in WordPress: SEO plugin, manual upload, then check the live file
Use the SEO plugin you already run, or upload the file by hand. Then check the live URL and purge the cache.

What llms.txt is

llms.txt is a Markdown file at the root of a website that summarises the site and links to its key pages for AI assistants and agents. It was proposed on llmstxt.org and is optional; Google does not use it for Search or AI Overviews. For the file structure, the evidence and a five-step writing guide, see What is llms.txt and how to create one.

Which WordPress plugin should you use for llms.txt?

Use the SEO plugin you already run. Rank Math, Yoast SEO and AIOSEO can all generate llms.txt in their free versions, so you do not need a separate plugin. Running two generators at once is a common cause of conflicts: a physical file in the site root usually takes priority over a plugin that builds the file on request.

PluginWhere to enable itWhat you can control
Rank MathRank Math SEO → Dashboard → LLMS Txt module, then General Settings → Edit llms.txtPost types, taxonomies, a posts/terms limit (default 100) and additional content. The file stays empty until you configure it and save. Noindex posts are left out.
Yoast SEOYoast SEO → Settings → Site features → AI tools → llms.txtAutomatic selection or manual page selection. By default Yoast includes the 5 most recently updated posts, pages and custom post types (published in the last 12 months), with priority to cornerstone content. The file is written to the site root and updated weekly. The feature is not available on multisite.
AIOSEOAll in One SEO → Sitemaps → LLMs.txtTitle, description, post types, taxonomies, exclusions and an optional llms-full.txt file. AIOSEO's documentation (updated 14 August 2026) says the feature is enabled by default; check the tab and turn it off if you do not want the file.

The details above come from each plugin's official documentation, as checked on 23 November 2026. Menu labels can change between versions; if a screen looks different, update the plugin first.

How to add llms.txt with Rank Math

In Rank Math you turn on the LLMS Txt module, choose what to include, save, then preview the live file. This is the method we use on silver-comp.com.

  1. Go to Rank Math SEO → Dashboard and enable the LLMS Txt module. If you do not see it, update Rank Math and, if needed, switch the dashboard to Advanced Mode.
  2. Open the module's settings icon, or go to Rank Math SEO → General Settings → Edit llms.txt.
  3. Select the post types you want listed (for example Posts and Pages). Rank Math adds each item's title, URL and a short description from the intro text. Posts set to noindex are excluded.
  4. Add taxonomies only if category or tag archives are useful for an agent. Set the posts/terms limit (the default is 100) and, if you want, add extra lines in Additional Content: a short company summary or links the automatic list misses.
  5. Click Save Changes, then use the preview link at the top of the Edit llms.txt tab, or open https://yoursite.com/llms.txt.

On our site we selected the main post types, left taxonomies off, kept the default limit of 100 and added a short extra summary. After saving, the file did not appear correctly until we purged server cache and WP Rocket. Our live file is at silver-comp.com/llms.txt.

How to add llms.txt with Yoast SEO

Yoast SEO can generate llms.txt in the free plugin. You enable it under Site features, save, then optionally switch from automatic selection to a manual list of pages.

  1. Go to Yoast SEO → Settings → Site features.
  2. Under AI tools, find llms.txt and turn the toggle on (purple with a checkmark), then click Save changes.
  3. To choose pages yourself, open Customize llms.txt file, select Manual page selection, add the pages and save again.
  4. Open https://yoursite.com/llms.txt and read the file. Yoast writes a physical file in the site root and refreshes it weekly with a scheduled action.

If Yoast says the file could not be auto-generated, check that the web server can write to the site root and that no old llms.txt is already there: Yoast does not overwrite an existing file, so you must remove it first. The feature is not available on WordPress multisite. If you cannot find the setting, update Yoast SEO and confirm you have administrator rights.

How to add llms.txt with All in One SEO

In AIOSEO the llms.txt settings live under Sitemaps. According to AIOSEO's documentation, updated 14 August 2026, the feature is enabled by default, so start by checking whether a file is already being served.

  1. Go to All in One SEO → Sitemaps and open the LLMs.txt tab.
  2. Confirm the file is enabled, or disable it if you do not want it. Use Open llms.txt to view the live file.
  3. Set the title and description (they default to your site title and tagline), choose post types and taxonomies, and set a limit for URLs per post type or taxonomy. Exclude any posts, pages or terms that should not appear.
  4. Optionally enable llms-full.txt. After you save, wait for the file to finish generating before opening it; the button stays grayed out while it is being built. There is also an option to convert posts to Markdown.

llms-full.txt is a companion file with fuller page text. Most business sites only need the short llms.txt index. Review whichever file you enable, the same as with the other plugins.

How to upload llms.txt manually in WordPress

If you are not using an SEO plugin, or you want a fully curated file, write llms.txt in Markdown and upload it to the WordPress root: the same folder as wp-config.php and wp-content, not the media library or wp-content/uploads.

  1. Create a UTF-8 text file named exactly llms.txt (not llms.txt.txt or LLMS.TXT). Follow the block order on llmstxt.org: an H1 with the site name, a short summary, then lists of key pages with notes.
  2. Upload it with your host's file manager or with FTP/SFTP.
  3. Disable any plugin llms.txt feature first. A physical file in the root usually wins over a dynamically generated one, and Yoast will refuse to auto-generate if a file is already there.
  4. Open the live URL and, when pages change, edit the file by hand and upload it again.

If you want a draft before you upload anything, use our free llms.txt generator and checker. Read and edit the draft, then place the finished file in the site root.

Why /llms.txt may show old content or a redirect

A cache layer often keeps serving an old response, a 404 or a redirect after you enable the file. Purge the hosting server cache and your WordPress cache plugin, then check the URL again.

On silver-comp.com we use server cache and WP Rocket together. After we enabled Rank Math's LLMS Txt module and saved the settings, the new file was visible only after both caches were purged. In our case the file was sent with a Cache-Control max-age of 30 days, so a stale response can last if you do not clear the cache. After the purge, silver-comp.com/llms.txt returned HTTP 200 and Content-Type: text/plain, with no redirect.

A noindex robots tag on the file is normal. Our file is served with x-robots-tag: noindex, nofollow. That tells search engines not to index the file itself; it is not a sign that the setup failed.

How to check that llms.txt works

The check takes a few minutes: the URL must stay /llms.txt, the body must be the text you expect, and the links must work.

Checklist of six checks after adding llms.txt: status 200, plain text, no redirect, cache purge, links and notes, one source
Six checks after you add llms.txt in WordPress. A noindex tag on the file is normal.
  • Open https://yoursite.com/llms.txt. The status should be HTTP 200, not 404.
  • The browser should show plain text, not a themed page. The Content-Type is often text/plain.
  • The URL must not redirect to the homepage or another path. A redirect means the file is not being served.
  • If you still see an old body or a redirect, purge the host cache and WP Rocket (or another cache plugin) and try again in a private window.
  • Click the links in the file. Notes should match what those pages actually say. Remove thank-you, login or other utility pages if a plugin added them.
  • Keep only one source: one plugin or one manual file.

The llmstxt.org spec also suggests a simple test: give an AI assistant only your llms.txt and ask questions about the business. If the answers are off, rewrite the notes.

Silver Company llms.txt generator

Not sure what the draft should contain, or want to validate a file before you upload it? Use our free llms.txt generator and checker. It does not replace a review of the live /llms.txt URL on your site.

Frequently asked questions

How do I add llms.txt to WordPress?

Enable llms.txt in Rank Math, Yoast SEO or AIOSEO, or upload a UTF-8 file named llms.txt to the WordPress root (the folder that contains wp-config.php). Use only one method, purge the cache and check that /llms.txt returns HTTP 200 as plain text, without a redirect.

Does Yoast SEO free include llms.txt?

Yes. Yoast's documentation says the feature is included for free. You turn it on under Yoast SEO → Settings → Site features → AI tools. It is not available on multisite.

How often does Yoast update llms.txt?

Weekly, through a scheduled action, according to Yoast's functional specification. After important content changes, open the file and check it; do not wait a week if a listed page has been removed.

Can I use two llms.txt plugins at the same time?

It is better not to. A physical file in the site root usually wins over a dynamically generated one, and Yoast will not overwrite an existing llms.txt. Pick one plugin or a manual file and disable the others.

Does llms.txt help SEO?

Not for Google. Google's documentation says no special AI text files are needed for AI Overviews or AI Mode. The file may help AI agents that choose to read it. The format and the evidence are covered in What is llms.txt and how to create one.

Why is Rank Math's llms.txt empty?

Rank Math's knowledge base says the file is empty until you configure it. Select post types, save changes, then preview the URL. If it is still empty or outdated, purge the server cache and your cache plugin.

Previous articleWhat is llms.txt and how to create one | Silver Companycover en 7vga7udw8oeo9rkwehn8apiopw71j0wlbe

About our Blog

Our articles are unique, all the information provided is verified by us personally!

Recent Posts

How to add llms.txt to WordPress | Silver Company23.11.2026
What is llms.txt and how to create one | Silver Company23.11.2026
Is Your Website Outdated? 7 Signs You Can Check | Silver Company13.11.2026

Categories

  • AI
  • Mobile Apps
  • News
  • Websites

Silver Company

We take care of you, solve any challenges and open new opportunities.

Menu

Home
Mobile Apps Development
Website Development
Design Services
Portfolio
Blog
Contacts

MORE

Free Website Analysis
Free llms.txt generator
Cookie Policy
Privacy Policy

Contact information

+37258041433
info@silver-comp.comsilver-comp.com
09:00 - 21:00
Tallinn, Estonia
Dublin, Ireland
Top Mobile App Development Company on GoodFirms
© 2014-2025 Silver Company
We value your privacy
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent. Cookie Policy
Cookie SettingsReject All

Accept All
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
SAVE & ACCEPT