without the hype.
An llms.txt file is an optional, human-readable guide to selected website content. You can add it to your WordPress site root, but it is not a Google indexing requirement and cannot guarantee AI search visibility.
What an llms.txt file is — and what it is not
An llms.txt file is a proposed plain-text or Markdown-style convention for giving language-model systems a concise map of important website resources. It is commonly placed at the root of a domain as /llms.txt. The idea is to make documentation and other important pages easier to discover in a human-readable list.
It is important to separate the proposal from established search standards. llms.txt is not a Google Search ranking requirement, not a replacement for XML sitemaps, and not a permission system like robots.txt. Publishing it does not force an AI provider to fetch, obey, cite or recommend the content.
For a Kenyan business, a short, accurate file can still serve as a useful public index of important resources. The value is greatest when it is maintained and the linked pages are genuinely useful. A list of hundreds of thin pages adds little clarity.
Three files, three different jobs
robots.txt expresses crawler access rules; sitemap.xml lists URLs for discovery; llms.txt is a proposed human-readable index of selected resources. None guarantees indexing or AI citation.
Where the file should live on a WordPress website
The expected public address is https://yourdomain.co.ke/llms.txt. It must be reachable without login and should return an ordinary successful HTTP response with readable text. A file uploaded into the Media Library normally receives a path under /wp-content/uploads/ and does not automatically become the root-level /llms.txt.
If your hosting provides cPanel File Manager, the simplest method is to place the file in the document root for the correct domain, often public_html for the primary site. On a multisite, addon domain or custom deployment, the document root may differ. Verify the actual site configuration before uploading.
An alternative is a WordPress plugin or rewrite route that serves the file. This can be convenient for ongoing editing, but only one route should control /llms.txt. Duplicate handlers or caching rules can cause confusing results.
- Check that the address opens in a private browser window.
- Confirm the response is plain text rather than a theme-rendered HTML page.
- Use an absolute HTTPS URL for each important resource.
- Do not publish admin URLs, unpublished drafts or private documents.
A complete example for a Kenyan digital agency
Below is an illustrative example using real Afix Smart Web service URLs. It is deliberately selective: a good index highlights the pages that explain what the business does, rather than copying the entire sitemap into a giant list.
The title and description should match the actual business. Each link should point to a published page and be maintained when URLs change. The example does not make any claim that Google or another AI system will use it.
Example file content only. The links above are plain text inside a code sample, so they are not clickable. Replace the example.com URLs with your own real page URLs before saving your llms.txt file.
# Example Business Name
> Short, factual description of the business.
## Important pages
- [Website services](https://example.com/services/)
- [Contact](https://example.com/contact/)
How to create llms.txt manually with cPanel
First, prepare the content in a UTF-8 plain-text editor. Use Markdown headings, short descriptions and direct URLs. Avoid fancy Word document formatting, smart layout elements or hidden characters that can confuse parsers.
Next, open the correct document root in cPanel File Manager. Create a file named exactly llms.txt in lowercase, paste the text, save and visit the public URL. If you receive a 404, confirm the file is in the active domain root, not the root of a different hosted domain.
If a CDN is enabled, purge the relevant cache after editing. If you receive a 403, check file permissions and server security rules; do not weaken site-wide security merely to make the file accessible. A typical publicly readable text file uses standard file permissions appropriate to the hosting environment.
How to create llms.txt with a WordPress plugin
If you prefer a dashboard workflow, use a maintained plugin that explicitly supports serving a root-level llms.txt route. Check whether it writes a physical file or serves content dynamically. This distinction matters for backups, caching and conflicts.
Before activating the feature, inspect whether a file already exists. Some SEO plugins, hosting tools and custom snippets can compete for the same URL. After activation, test the public endpoint, check the returned content and confirm that editing the file in WordPress updates what visitors receive.
If your website has many service and location pages, use a curated index rather than indiscriminately exporting every URL. For example, the solutions overview can act as a hub, while the llms.txt file lists a small set of primary pages.
Should you create llms-full.txt as well?
Some websites publish a second file, often named llms-full.txt, containing expanded documentation or longer-form content. This is also a convention, not a universally supported standard. Its usefulness depends on whether the material is current, public, appropriately licensed and valuable to a system that chooses to fetch it.
A huge llms-full.txt assembled from hundreds of near-duplicate location pages can become stale quickly and may expose more text than necessary. If you create one, define which sections belong in it, how updates are generated and who reviews the content.
For most small Kenyan service businesses, a clean llms.txt file plus strong published pages is a more manageable first step. Keep your website structure and ordinary XML sitemap healthy regardless of whether you adopt this optional format.
| File | Typical purpose | Does it guarantee Google indexing? |
|---|---|---|
| robots.txt | Crawler access directives | No |
| sitemap.xml | Discovery of canonical URLs | No |
| llms.txt | Proposed curated content index | No |
| llms-full.txt | Optional expanded content compilation | No |
Validation checklist and common errors
A useful check starts in the browser and continues with an HTTP response inspection. Confirm the file returns a successful status, the text is readable, URLs are correct and all linked pages are public. If the file is generated dynamically, test it while logged out.
Watch for an accidental HTML document served under a .txt filename, duplicate copies on www and non-www hosts, links to staging domains, links to draft pages and stale descriptions after service changes. These errors do not create an automatic SEO penalty, but they undermine the file’s usefulness.
Also check that the file is not accidentally blocked by a site-wide authentication layer. A public resource index cannot help external consumers if it requires a WordPress administrator session.
- Open /llms.txt and inspect the first and last lines.
- Check every listed URL for a valid destination.
- Remove deleted, redirected or unpublished pages from the index.
- Keep the file concise and assign responsibility for quarterly review.
- Use website maintenance processes to prevent stale information.
Does llms.txt affect SEO, GEO or AI recommendations?
No credible universal guarantee exists. The file may help systems that intentionally support the convention, but it is not a substitute for technical SEO, useful content, credible citations or accurate business information. Be cautious of claims that a new llms.txt file alone will make a company appear in ChatGPT.
Google’s published guidance for AI features emphasizes established Search best practices and does not require special AI-only markup. Treat llms.txt as an optional documentation convenience and evaluate it against the time needed to maintain it.
If your pages are not indexed, diagnose the actual indexing status first. If your services are unclear, improve the pages themselves. If your business information is inconsistent, correct the primary sources. The file should summarize a healthy website, not conceal an unhealthy one.
How to maintain llms.txt as your site grows
Use a simple editorial rule: add a URL only when it represents a durable, high-value resource. Review the index when launching a new service, changing a canonical URL or retiring a page. If you use automatic generation, test that it excludes drafts, noindex pages and duplicate archives.
Keep the file aligned with your published services. For example, if your agency introduces custom integrations, add a concise entry for the relevant web application development page only after that page is accurate and publicly accessible.
The most important quality control is human review. An automatically generated index can be syntactically valid while still pointing to low-value or outdated material.
What to include when the website has dozens of service-area pages
Large WordPress websites often have separate service pages for Nairobi, Thika, Mombasa, Kisumu and other towns. A curated llms.txt index should not automatically list every geographical variation. First identify which pages contain substantially different information and which are supporting routes into the same core service.
One sensible structure is to include the primary service overview, a locations hub and a small number of major resources. A reader or automated consumer can then navigate from those hubs to the relevant city pages. This is easier to maintain than a flat list of hundreds of URLs, especially when slugs or service packages change.
If you need to document regional availability, make the statement precise. “We serve businesses across Kenya” is different from claiming a staffed branch in every county. An optional text index should never introduce claims that the visible site does not support. The Afix service locations hub is an example of the kind of resource that can be linked once instead of duplicating every local page.
When the website publishes new articles frequently, define whether editorial posts belong in the index at all. An automated system that adds every new post may rapidly become a noisy feed. A manually reviewed index of evergreen guides can be more useful, especially for businesses with limited maintenance time.
How to troubleshoot a file that appears correct but serves the wrong content
Suppose you edit llms.txt in cPanel, save the file and then open the public address, only to see the old text. Check whether Cloudflare, the hosting cache or a WordPress routing plugin is serving a cached or virtual version. The filesystem copy and the public response are not always the same thing.
Use a private browsing session, inspect response headers if you have developer tools, and confirm the host and path. On shared hosting, an addon domain may have a different document root from the main domain. Editing public_html/llms.txt will not help if the site is actually served from a nested folder.
If the public endpoint returns a WordPress 404 template, a rewrite route may be intercepting the request. If it returns a 403, check permissions and server rules without disabling site-wide security protections. If it redirects, verify that the destination is intentional and that the file is still publicly readable.
Keep a copy of the previous version before changing routes or plugins. When the problem is caused by conflicting configuration, a disciplined WordPress maintenance workflow is safer than repeatedly installing new plugins that all claim to manage the same file.
Frequently asked questions
Where do I upload llms.txt in WordPress?
Upload or serve it at the domain root so it is accessible as https://yourdomain.co.ke/llms.txt. The WordPress Media Library normally does not put files at that root URL.
Is llms.txt required for Google AI Overviews?
No. Google does not list llms.txt as a special requirement for AI Overviews. Follow its normal Search guidance first.
Does llms.txt replace robots.txt or sitemap.xml?
No. They serve different purposes. robots.txt expresses crawler rules, XML sitemaps help discovery, and llms.txt is an optional proposed resource index.
Can I add llms.txt without a plugin?
Yes. A plain UTF-8 text file placed in the correct document root is often sufficient, provided the server serves it publicly.
Should I list every page in llms.txt?
Usually not. A curated set of useful, durable resources is easier to maintain than hundreds of thin or overlapping URLs.
What is the difference between llms.txt and llms-full.txt?
llms.txt is typically a concise Markdown-style index; llms-full.txt is an optional convention for expanded content. Neither has universal AI-system support.
Why does my llms.txt URL return 404?
The file may be in the wrong document root, a route may not be configured, or caching may still serve an old response. Verify the active domain path and test again.
