Technical for WordPress websites
Can I add an llms.txt file to a WordPress website?
The short answer
Yes. You can upload an llms.txt file to the site's root folder by FTP or your host's file manager, and at the time of writing several popular SEO plugins can generate one for you. No major AI company has confirmed that its assistants rely on llms.txt, though, so it is a low-priority task compared with making your pages clear and crawlable.
How to add llms.txt to WordPress
An llms.txt file is a plain text or Markdown file at yoursite.com/llms.txt that summarizes the site and lists its key pages. On WordPress there are two easy ways to add one:
- Upload a file. Write the file and upload it to the same folder as wp-config.php, using FTP, SFTP or your host's file manager. It will then be served at /llms.txt.
- Use a plugin. At the time of writing, some popular SEO plugins include an option to generate llms.txt automatically from your posts and pages, and there are standalone plugins that do the same. Check what the generated file contains before leaving it on.
If you use a CDN or caching plugin, clear the cache and open the file in a browser to check it is served correctly.
What it is likely to do
llms.txt is a proposed convention, not an adopted standard. There is no public confirmation from OpenAI, Google, Anthropic or Microsoft that their assistants use it when answering questions, and Google representatives have said publicly that Google Search doesn't use it. So adding it is unlikely, on current evidence, to change whether ChatGPT mentions your business. See whether ChatGPT reads llms.txt.
That could change. If an AI company announces support, the file is easy to add later.
What to do instead, or first
The things that do affect AI visibility for a WordPress site are more familiar:
- Pages that state clearly what you do, for whom and where relevant.
- Crawlers allowed in robots.txt and not blocked by plugins, firewalls or a CDN.
- Accurate, consistent information across your site, profiles and directories.
- Reviews, coverage on other sites and search rankings for the questions buyers ask.
If a plugin has already added one
There is usually little harm in keeping it, as long as it is accurate. Watch for old pages, drafts or thin tag archives being listed, and for anything you wouldn't want quoted. For more, see whether the llms.txt your SEO plugin generates is worth keeping and whether your website needs llms.txt.