Short answer: the quickest way to add llms.txt to WordPress is Yoast SEO. Go to Yoast SEO, Settings, Site features, find LLMS.txt under AI tools, switch it on and save. Then open https://yourdomain.com/llms.txt in a private window to confirm it loads. If you do not use Yoast, a dedicated llms.txt plugin or a hand-written file uploaded to your site root works too. Keep expectations modest: llms.txt helps AI tools read a summary of your site, but it does not by itself get you recommended.
What is llms.txt?
llms.txt is a proposed standard: a Markdown file at the root of a site that tells large language models what the site is and which pages matter most. It is a short title, one or two lines about you, and a list of links with a sentence each. Think of it as a sitemap written for a reader instead of a crawler.
No major AI company has said that it uses llms.txt to rank or cite sites. Some AI tools and agents do read it when they visit. It costs a few minutes, so it is worth having, but it is not the main lever.
Option 1: Yoast SEO
Per Yoast's help center:
- In the WordPress dashboard, go to Yoast SEO, then Settings, then Site features.
- Under AI tools, open LLMS.txt and turn the switch on.
- Optionally, under Customize llms.txt file, choose Manual page selection and pick the pages to list.
- Save changes.
If you cannot find the option, update Yoast to the latest version and check that your user has the right role. Yoast notes that the feature is not available on multisite, and that if the file "couldn't be auto-generated" you should check your server's file permissions.
Option 2: another plugin
All in One SEO and several standalone plugins also generate llms.txt. Pick one, not two: two plugins writing the same file will overwrite each other. After you install it, open the file in a browser and check that the pages it lists are the ones a buyer needs, not tag archives or test pages.
Option 3: write it by hand
A hand-written file gives you full control. A simple version for a local business looks like this:
# Harbor Dental Clinic > Family dental clinic in Haifa. Checkups, cleaning, implants and emergency care. Open Sunday to Thursday. ## Main pages - [Services and prices](https://example.com/services): what we treat and what it costs - [Book an appointment](https://example.com/book): online booking and phone number - [About the team](https://example.com/about): our dentists and their training
Save it as llms.txt and upload it with your host's file manager or SFTP to the folder that contains wp-config.php. Update it when you add or remove a main page.
How do I check it works?
- Open https://yourdomain.com/llms.txt in a private window. You should see the text, not a 404 page or your theme.
- If you use a caching plugin or a CDN, clear the cache after any change.
- Check robots.txt at https://yourdomain.com/robots.txt. If it blocks AI crawlers, a perfect llms.txt will not help. OpenAI's docs say sites that block OAI-SearchBot are not shown in ChatGPT search answers.
What matters more than llms.txt
If the goal is to be named when someone asks ChatGPT for a business like yours, start with the basics in our guide to getting a WordPress site mentioned by ChatGPT: let the search crawlers in, say in plain text what you do, where and for whom, add business schema, and answer the questions buyers ask on your own pages.
Where Persqo helps
You can do all of this yourself. If you want it done and checked:
- The Persqo plugin for WordPress writes llms.txt for you as a one-click fix, with a preview first and Undo, from your real pages. It can also add business schema and an FAQ block built from the questions AI was asked.
- A Persqo GEO scan asks AI engines the questions your buyers ask and shows whether they mention you. The first scan is a one-time $5.
Start with the free check to see what a visitor and a crawler see today.
Sources
- How to enable llms.txt with Yoast SEO, Yoast help center, checked November 6, 2026
- The llms.txt proposal, llmstxt.org, checked November 6, 2026
- Overview of OpenAI crawlers, OpenAI docs, checked November 6, 2026
- Missing llms.txt option, WordPress.org support forum, checked November 6, 2026
Last updated: November 6, 2026.
Questions people ask
Does Yoast SEO create llms.txt?
Yes. Yoast's help center says you turn it on under Yoast SEO, Settings, Site features, AI tools, LLMS.txt, then save. You can pick the pages it lists by hand. Yoast says the feature is not available on multisite.
Will llms.txt make ChatGPT recommend my site?
Not on its own. It is a short, readable summary for AI tools, and no major AI company has said it ranks sites by it. Being crawlable, saying clearly what you do, and being mentioned elsewhere matter more. Treat llms.txt as cheap housekeeping.
Where does the llms.txt file go?
At the root of your domain, so it loads at https://yourdomain.com/llms.txt. A file inside a subfolder such as /blog/llms.txt is not where tools look for it.
Can I add llms.txt without a plugin?
Yes. Write a plain text file in Markdown, name it llms.txt and upload it to the folder that holds wp-config.php, using your host's file manager or SFTP. Update it by hand when your main pages change.