LLMs.txt Generator

Blog

How to Add llms.txt to a WordPress Site, by Hand or With a Plugin

By Anthony Limpert ·

Author Source EEAT Authors · Anthony's Author Page

  1. A WordPress site gets llms.txt one of two ways. Upload a real file to the folder that holds wp-config.php, or let a plugin serve it.
  2. Of 485 working agency llms.txt files, 199 came from a WordPress SEO plugin's built in switch. 79% of those had the H1 out of place, listed tag or category pages, or ran past 2,000 words.
  3. Only 26% of the other 286 files had any of those three problems.
  4. A real file wins over a plugin's version on a standard Apache setup, so pick one source or the two will fight.
  5. After it's live, check for a trailing slash redirect, a stale cached copy and a robots.txt rule that blocks AI crawlers.

Most WordPress owners think flipping the llms.txt switch in their SEO plugin finishes the job. It doesn't always. The llms.txt proposal asks for the site name as an H1 at the top, then a short summary in a quote block, then lists of links with a note on each. Plenty of plugin output skips that order.

In October 2026, LLMs.txt Generator pulled /llms.txt from the top 1,000 marketing agencies in the US. 485 sent back a working plain text file. 199 of those were written by the llms.txt feature inside one of three big WordPress SEO plugins, each one marked by the plugin's own "Generated by" line. That gives a fair look at what the one click route really makes.

How 199 Plugin Made llms.txt Files Measure Up

The plugin files fell short in the same few ways, over and over. 70 of the 199 don't open with the H1. A "Generated by" note sits on line one instead, and in some files a sitemap link comes before the name too. Only 6 of the 286 other files made that mistake.

Archive pages were the bigger miss. 112 plugin files list tag or category pages, the thin archive pages WordPress builds on its own. Just 1 of the other 286 files did. A model reading your file doesn't need a long list of tag pages. It needs your services, your about page and your best guides.

Bar chart comparing 199 llms.txt files made by WordPress SEO plugins with 286 other files. H1 not on line one, 35% vs 2%. No summary line, 35% vs 21%. Lists tag or category pages, 56% vs under 1%. Over 2,000 words, 30% vs 24%. At least one H1, tag or size problem, 79% vs 26%.
Plugin made llms.txt files compared with every other working file in the agency check, October 2026.
Problem in the filePlugin made (199)All others (286)
H1 is not the first line706
No real summary line7060
Lists tag or category pages1121
Over 2,000 words6068
At least one H1, tag or size problem15873

Size cut both ways. One plugin kept files short, with a median near 170 words, but most of its links had no note at all. The other two wrote long files, with medians past 5,000 words, because they list every post. A file that size stops being a map and starts being a dump.

The usual advice says turn on the plugin feature and move on. The switch is fine as a start. Read the file it makes before you trust it, because 158 of 199 needed a fix.

Add llms.txt to WordPress by Hand in Five Steps

Uploading a real file gives you full control over every line. You don't need any code.

  1. Build the file. The free llms.txt generator reads your home page, the pages it links to and your sitemap, then writes a file in the right order. Add or cut lines until it lists only pages you'd want quoted.
  2. Save it as plain text named llms.txt, in UTF-8. Don't save it from a word processor, which can slip in smart quotes or formatting.
  3. Open your host's file manager, or connect with SFTP or FTP. Find the folder that holds wp-config.php. That's the top folder of the site.
  4. Upload llms.txt there. If your SEO plugin has its own llms.txt switch, turn it off first.
  5. Open yourdomain.com/llms.txt in a private window. You should see plain text with your H1 on line one, not a web page and not a 404.

Why does a real file beat the plugin? The standard WordPress rewrite rules for Apache only send a request to WordPress when no real file or folder matches it. So the server hands out your uploaded file before WordPress, or any plugin, ever runs.

The How to upload llms.txt section on LLMs.txt Generator, with four cards for WordPress, Shopify, Wix and Squarespace, and any other host. The WordPress card says to upload llms.txt to the folder with wp-config.php and turn off any SEO plugin version first.
The upload steps on the generator's home page cover WordPress and three other platforms.

Keep one thing in mind. A file you upload by hand doesn't change when your site does. Rebuild it when you add a service, a city page or a big guide, and upload the new copy over the old one.

Add llms.txt With a WordPress Plugin

A plugin keeps the file current without a trip to the file manager. The trade is control, so check what the plugin writes. A good one puts the H1 first, writes a real summary, skips tag and category archives, leaves out noindexed pages and lets you edit the file.

One new option landed in the WordPress.org directory on November 7, 2026. Clickflame Rank Any Site is at version 2.11.0 and needs WordPress 6.9 or newer and PHP 7.4 or newer. Its llms.txt comes from a Your Facts screen. Licenses with their lookup links, insurance, year founded, reviews, phone, address and service areas go in once. One click then makes an llms.txt file, LocalBusiness schema and a How To Check Us page from those same facts.

The Clickflame Rank Any Site listing in the WordPress.org plugin directory, showing a banner that lists titles and meta, schema, llms.txt, alt text and a free score, with version 2.11.0 and WordPress 6.9 or higher in the details panel.
The Rank Any Site listing in the WordPress.org plugin directory, November 2026.

Empty fields print nothing, so the file never claims a fact you didn't enter. Noindexed pages stay out of it. If you already built a file with the generator, the plugin's Connections screen takes your own llms.txt instead. The free checks also flag a robots.txt that blocks ChatGPT and tell you whether a page is listed in llms.txt.

It runs beside the SEO plugin you already have. Its listing says the title, description, robots and canonical you set are passed into that plugin's own tags instead of being printed twice. Paid Rank Any Site plans start at $5 for the first month and add llms-full.txt along with fixes written into your page source.

To install it, go to Plugins, then Add New, and search for Rank Any Site. Activate it, open Rank Any Site in the admin menu and click Check My Site Free.

Fix the Slash, Cache and Robots.txt Problems

Most llms.txt trouble on WordPress shows up after the file is live. Run these checks the day you add it.

Start with the trailing slash. When a plugin builds llms.txt on the fly, WordPress can redirect /llms.txt to /llms.txt/ before the plugin answers. One WordPress.org support thread traced it to the canonical redirect and fixed it with a redirect_canonical filter in that plugin's version 1.0.8. If you see the slash, update the plugin or upload a real file. The file should load at /llms.txt with no redirect.

Next, look for two files fighting. If you uploaded a file and also left a plugin switch on, the real file usually wins and the plugin's settings seem to do nothing. Pick one. Turn off the plugin feature or delete the upload.

Then rule out a stale cached copy. Page cache plugins and host caches can keep serving the old file after you change it. Clear the cache, then open the file in a private window to see what a crawler gets.

Last, read robots.txt. An llms.txt file doesn't help if robots.txt keeps AI crawlers out. WordPress builds a virtual robots.txt through its do_robots function, and plugins can add lines to it. OpenAI's crawler guide says sites that block OAI-SearchBot won't be shown in ChatGPT search answers. Google's guide to AI features says robots.txt rules for Googlebot are the control for its AI answers, and that no AI text file is needed to show up there.

That last point keeps the file in proportion. llms.txt is a map. The pages it points to still have to load, be crawlable and say something worth quoting.

Check Your WordPress llms.txt the Way a Crawler Would

Give the live file a two minute review. Each check below takes seconds.

CheckPass
Open /llms.txt in a private windowPlain text, no theme, no 404
First line# Your Business Name
Second blockA one or two sentence summary on a line that starts with the greater than sign
LinksServices, about, contact and best guides, each with a short note
Archive pagesNo tag, category or date archives
LengthUnder 2,000 words
Address barEnds in /llms.txt with no slash added
robots.txtNo Disallow rule for OAI-SearchBot, Googlebot or the other AI search crawlers you want

A short file that passes looks like this. Swap the brackets for your own details.

# [Business Name]

> [What you do, where, and for whom, in one or two sentences.]

## Services

- [Service One](https://[yoursite]/service-one/): [what it is and where]
- [Service Two](https://[yoursite]/service-two/): [what it is and where]

## About

- [About Us](https://[yoursite]/about/): [who runs it and since when]
- [Contact](https://[yoursite]/contact/): [phone, hours and area served]

## Optional

- [Blog](https://[yoursite]/blog/): [guides on the questions customers ask]

Want to name the people behind the work too? The guide to credentials in llms.txt shows a short who and proof block that fits under the summary. If you don't have a file yet, the upload steps walk through WordPress and every other host.

Things Customers Ask First

Where does llms.txt go on a WordPress site?
In the top folder of your site, the same folder that holds wp-config.php. Then it loads at yourdomain.com/llms.txt. If WordPress lives in a subfolder but runs from the main domain, put the file where your home page is served from, not inside the WordPress folder.
Can I add llms.txt to WordPress without a plugin?
Yes. Save the file as plain text named llms.txt and upload it with your host's file manager, SFTP or FTP. On a standard Apache setup a real file is sent as is, before WordPress runs. No plugin and no code are needed.
Why does my llms.txt redirect to llms.txt with a slash on the end?
WordPress adds a trailing slash to some URLs it builds itself. When a plugin makes llms.txt on the fly, that redirect can kick in first. Update the plugin, or upload a real file instead. The file should load at /llms.txt with a 200 status and no redirect.
Will llms.txt get my WordPress site into ChatGPT or Google AI answers?
Not by itself. Google says no AI text file is needed for AI Overviews or AI Mode. What matters more is that crawlers can reach your pages. The file is a short map that points AI tools to your best pages.
Should I have llms.txt and llms-full.txt on WordPress?
Start with llms.txt. It is the index. llms-full.txt holds the full text of your key pages in one file, which only some tools read. Add it once the main file is clean.
Does an SEO plugin's llms.txt switch conflict with a file I upload?
It can. On most hosts the real file wins and the plugin's version never shows, so the plugin setting looks broken. Pick one source. Either turn off the plugin's llms.txt feature or delete the uploaded file.

Keep LLMs.txt Generator in your Google results

Research Notes

  1. llmstxt.org, The /llms.txt file proposal (accessed November 2026)
  2. WordPress Developer Resources, Apache HTTPD and .htaccess (Basic WP rewrite rules) (accessed November 2026)
  3. WordPress Developer Resources, do_robots() function reference (accessed November 2026)
  4. WordPress.org support forum, llms.txt redirects to llms.txt/ and llms-full.txt redirects to llms-full.txt/ (accessed November 2026)
  5. WordPress.org Plugin Directory, Clickflame Rank Any Site (accessed November 2026)
  6. OpenAI, Overview of OpenAI crawlers (accessed November 2026)
  7. Google Search Central, AI features and your website (accessed November 2026)
  8. LLMs.txt Generator, llms.txt check of the top 1,000 US marketing agencies (485 working files) (accessed October 2026)

LLMs.txt Generator is a free tool from Rank Any Site, made by Supercanic LLC. Build your llms.txt file from your own pages in about 30 seconds.

Who Runs This Site

Where to Find Supercanic LLC

1685 S State St Suite D, San Jacinto, CA 92583