Add llms.txt to WordPress Without a Plugin

AI assistants now answer questions by reading websites and pointing readers to sources. Site owners have started asking whether a simple text file can help those tools understand a site faster. That file is llms.txt, a proposed Markdown file in your website root that lists your most important pages with short notes.
You do not need another plugin to try it. Write the file in a plain text editor, upload it with your hosting file manager, and check the result in your browser. This guide covers what the file can do, what it cannot do, and how to avoid conflicts with your SEO plugin.
What is llms.txt and why are site owners adding it?
An llms.txt file is a plain text summary of your website written in Markdown. It gives your site name, a short description of what the site covers, and a curated list of links to key pages. Each link can carry a one line note that explains what the page contains.
A full website holds menus, sidebars, cookie notices, and scripts around the actual content. This file removes that noise and presents the essentials in a format language models handle well. Think of it as a contents page written for machines, placed where a machine would look for it.
People add it because the cost is tiny. One small text file, no database changes, and no extra plugin to maintain. If tools start reading it, your best pages are easy to find.
Is llms.txt an official standard that guarantees AI visibility?
No, and this point matters. llms.txt is a proposal from the web community, described at llmstxt.org. It is not an official standard, and no major search engine or AI provider has promised to read it, rank with it, or cite sites because of it. Anyone selling it as a guaranteed ranking trick is overstating the case.
Treat the file as a low cost experiment. It may help some tools understand your site structure, or it may be ignored for a long time. It does not replace useful content, clear headings, fast pages, and a healthy sitemap. Add it because it is cheap and tidy, not because it promises traffic. Never stuff it with keyword lists or weak pages just to fill space.
What belongs inside an llms.txt file?
The proposed format is deliberately small. Only one part is required, and everything else is optional, which keeps the file easy to write and maintain.
Which part of the file is required?
The only required element is a single H1 heading with the name of your site. In Markdown, an H1 is a line starting with one hash symbol, a space, and your site name. After that, you may add a blockquote summary in one or two sentences. A blockquote line starts with the greater than symbol. A few short detail paragraphs are also allowed.
How should the link sections be written?
Links go under H2 section headings, which start with two hash symbols. Under each heading, write a Markdown list where every line holds a link label, the full URL, and a short note after a colon. Group links by theme, and add a section titled Optional for secondary links such as legal pages.
# Example Site
> Example Site publishes beginner friendly WordPress and hosting guides for small website owners.
## Main Guides
- [Web Hosting Guide](https://example.com/web-hosting/): How to choose hosting and compare plans.
- [WordPress Basics](https://example.com/wordpress-basics/): Core concepts in plain language.
## Key Pages
- [About](https://example.com/about/): Who runs the site and what it covers.
- [Contact](https://example.com/contact/): How to reach the site owner.
## Optional
- [Privacy Policy](https://example.com/privacy-policy/): How visitor data is handled.
Keep notes factual and brief. Describe what the page does, such as what it teaches or what problem it solves, rather than repeating the title.
Which pages should you list first?
Choose five to fifteen canonical pages that represent your site at its best: your homepage, about page, main pillar guides, pricing or services page, and strongest tutorials.
- Start with the homepage and the page that explains who you are.
- Add pillar guides that other posts link to again and again.
- Add clear value pages such as pricing, services, or a flagship comparison.
- Skip thin pages, tag archives, login pages, and noindexed content.
- Use the exact canonical URL for every page.
How do you create llms.txt without a plugin?
Use a plain text editor such as Notepad, TextEdit in plain text mode, or any code editor. Avoid word processors, because they add hidden formatting that can corrupt the file.
- Start a new blank document in your text editor.
- Write the H1 site name, then the blockquote summary.
- Add H2 sections and list your pages with one line notes.
- Save with the exact name llms.txt in lowercase letters.
- Choose UTF-8 encoding when you save.
Before uploading, take a full backup of your site and test the file content on a staging copy if your host provides one. Read the file once more for spelling, working URLs, and honest descriptions.
How do you upload llms.txt to the correct folder?
The file must sit in the public root of your website, the same folder that holds wp-config.php. On most shared hosts that folder is called public_html. Upload through your hosting file manager or through SFTP with a client such as FileZilla.
If WordPress lives in a subfolder, the public root is still the folder your domain points to. The test is simple: the file must answer at yoursite.com/llms.txt. Our web hosting guide explains how hosting folders and domains fit together.
How do you check that llms.txt loads correctly?
Open yoursite.com/llms.txt in a private browser window. You should see plain Markdown text on a white page, with no redirect and no theme header or footer around it.
- Plain text with your H1 and links means the upload worked.
- A themed 404 page means the file is missing or in the wrong folder.
- A redirect to your homepage means a rule or plugin is intercepting the request.
- Old content after an edit usually means a cache layer is serving a stored copy.
While checking root level files, confirm your crawler rules too. Our guide on how to edit robots.txt in WordPress without a plugin uses the same upload and verify routine.
Could your SEO plugin already generate llms.txt?
Possibly. Yoast SEO, Rank Math, and AIOSEO have added llms.txt features that generate the file for you. If your plugin already serves a generated version, a physical file can create a conflict where two systems answer the same URL.
Use one method only. Check your SEO plugin settings before uploading. If the plugin feature is on and you prefer your hand written file, turn the plugin feature off first. A physical file usually wins over a generated one, but verify the live URL after every change. Our Rank Math vs Yoast comparison covers how the major SEO plugins differ.
How is llms.txt different from robots.txt and an XML sitemap?
These files sit side by side in your root folder, but each has a different job. Confusing them leads to mistakes, such as expecting llms.txt to control crawler access.
- robots.txt gives crawlers access rules for which paths bots may request.
- An XML sitemap lists indexable URLs so search engines can discover them.
- llms.txt summarises your site and highlights key pages in Markdown for AI tools.
None replaces the others. Keep robots.txt accurate, keep your sitemap submitted, and treat llms.txt as an extra summary layer. A quick look inside Google Search Console confirms your sitemap and coverage reports still look healthy.
What is llms-full.txt and do you need it?
The proposal also mentions an optional companion file called llms-full.txt. Instead of linking to pages, it can hold the full text of key content in one Markdown document. That suits documentation sites with stable reference material. Most blogs do not need it, because a full text file grows stale quickly and adds maintenance work. Start with the short file and keep it accurate.
How often should you update llms.txt?
Update the file whenever a listed page changes in a meaningful way. A renamed guide, a moved URL, a new flagship post, or a removed service should trigger a quick edit. Broken or redirected URLs make the whole file look neglected.
- Review the file once a quarter with your other site housekeeping.
- Replace any URL that now redirects with its final destination.
- Remove pages that became thin, outdated, or noindexed.
- Add new pillar pages only when they earn a place in the short list.
What should you check when llms.txt shows a 404 or HTML?
Most problems come from a short list of causes. Work through them in order before changing anything else.
- A 404 means the file sits in the wrong folder. Confirm it lives beside wp-config.php in the public root, not inside a WordPress subfolder.
- HTML such as your theme header means WordPress or a plugin is handling the request. Check your SEO plugin setting and permalink rules.
- A name like llms.txt.txt or LLMS.txt will never match. Rename it to exact lowercase llms.txt.
- Stale content points to caching. Clear your caching plugin, host cache, and CDN cache, then reload in a private window.
If the plain text version loads correctly, you are done. There is nothing to submit and nowhere to register the file.
Frequently Asked Questions
Does llms.txt improve my Google rankings?
There is no evidence that llms.txt affects Google rankings, and Google has not adopted it as a ranking input. Add it as a tidy summary for AI tools, and keep ranking work focused on content quality, internal links, and technical health.
Can I keep my SEO plugin llms.txt and my own file together?
No. Pick one method, either the plugin generated version or your hand written file, then verify the live URL shows the version you chose. Running both invites confusion about which content tools actually receive.
How many links should llms.txt contain?
Five to fifteen strong pages suit most sites. The file works best as a short map of your most valuable content, so resist copying your whole sitemap into it.
Will llms.txt hurt my site if AI tools ignore it?
No. A small static text file adds no meaningful load and changes no pages. The only real risk is neglect, so review it when key pages change, or remove it if you stop maintaining it.
Last updated: December 2026.



