How to Add llms.txt to WordPress (Three Ways, No Coding)

This guide is for UK small business owners who run their own WordPress site and want to add an llms.txt file without hiring a developer. By the end you will have the file live at the right address and know how to check it is working. Most people can do this in under an hour.

Do you actually need llms.txt on your WordPress site?

You don't need it, but it is a cheap, low-risk extra once the basics of your site are in good shape.

An llms.txt file is a short plain-text summary of your site in Markdown. It sits at example.com/llms.txt and points AI tools to your most useful pages. The proposal is described at llmstxt.org. Be realistic about it: there is no clear public confirmation that the big AI search tools depend on it, and the picture may change. If you want the background first, read What Is llms.txt, and Should Your Small Site Add One?

If your pages are slow, thin or blocked from crawlers, fix those first. An llms.txt file won't make up for a weak site.

Step 1: Write the file before you touch WordPress

Write your llms.txt in a plain text editor first, so the content is right before you decide how to publish it.

Keep it short. A small business usually needs a title, a one-line summary and a handful of links to your key pages. Here is a minimal example for a made-up plumber in Leeds:

# Example Plumbing Leeds

> Emergency and planned plumbing for homes in Leeds and nearby villages. Gas Safe registered.

## Services

- [Boiler repairs](https://example.com/boiler-repairs/): Same-week repairs for most makes
- [Bathroom fitting](https://example.com/bathrooms/): Full refits and small jobs

## About

- [Prices and call-out area](https://example.com/prices/): What we charge and where we go
- [Contact](https://example.com/contact/): Phone, email and opening hours

For a fuller template you can copy, see llms.txt Example for a Small Business.

Which way of adding it suits your WordPress site?

Pick the first option that's available to you: your SEO plugin's setting, then a small dedicated plugin, then a manual upload through your host.

  1. Your existing SEO plugin. Some of the popular WordPress SEO plugins now include an llms.txt option. Look in the plugin's settings or check its own documentation. If it's there, this is usually the easiest route, because you don't need anything new.
  2. A dedicated llms.txt plugin. The WordPress plugin directory has small plugins that create the file for you. Before you install one, check when it was last updated, how many sites use it and whether it works with your version of WordPress. Every plugin you add is one more thing to keep up to date.
  3. A manual upload. You put the file you wrote into the main folder of your site using your host's file manager or an SFTP program. This gives you full control and adds no plugin.

If your site is on WordPress.com rather than self-hosted WordPress, your options depend on your plan. Lower plans may not let you install plugins or reach your site's files. Check WordPress.com's help pages for your plan before you spend time on this.

How do you upload llms.txt by hand?

Upload the file to the same folder that holds your wp-config.php file, which is your site's root folder.

  1. Log in to your hosting control panel (not your WordPress dashboard).
  2. Open the File Manager. On many UK hosts this is under a Files or Website section.
  3. Find your site's root folder. It's often called public_html, www or htdocs. You'll know you're in the right place when you can see wp-config.php, wp-content and wp-admin.
  4. Upload your llms.txt file there.
  5. Don't move, rename or edit anything else in that folder.

Don't use the WordPress Media Library for this. It saves files inside wp-content/uploads under a date folder, so the file ends up at the wrong address and tools looking for example.com/llms.txt won't find it.

If you upload a file by hand and also switch on a plugin's llms.txt option, the server will normally show your uploaded file and the plugin's version gets ignored. Use one method, not both.

How do you check it is working?

Type yoursite.co.uk/llms.txt into a browser in a private window. You should see your plain text, not a WordPress page or an error.

For a fuller test, including how to check what the server sends back, follow llms.txt Checker: How to Test Yours Is Reachable and Valid.

How do you keep it up to date?

Update llms.txt whenever you add, remove or rename an important page.

A plugin that builds the file automatically may keep up with new pages on its own, but it can also list pages you'd rather leave out, such as tag archives or old offers. Read what it produces at least once. If you wrote the file by hand, add it to the same list as your other regular site checks, so a renamed services page doesn't leave a broken link sitting in it for months.

Common mistakes

Frequently asked questions

Will llms.txt slow down my WordPress site?

No. It's a small text file that only loads when someone asks for that exact address, so your normal pages aren't affected.

Does llms.txt replace robots.txt?

No. robots.txt tells crawlers what they may and may not visit, while llms.txt is an optional summary of your useful pages. You still control crawler access through robots.txt, as explained in robots.txt for AI.

Can I break my site by uploading a file to the root folder?

Adding a new file called llms.txt won't break anything. The risk comes from editing or deleting the files that are already there, so leave everything else alone.

Is there an official WordPress feature for llms.txt?

Not in WordPress itself, as far as we know at the time of writing. For now it comes from plugins or a manual upload, and that may change.

This week, write your llms.txt in a plain text editor with five to ten links to your most important pages. Then look in your current SEO plugin's settings for an llms.txt option. If there isn't one, upload the file through your host's file manager. Finish by opening yoursite.co.uk/llms.txt in a private window and clicking every link in it.

Next step: learn this with others

Last reviewed 2 November 2026. Back to the blog.