All posts
Use caseNovember 27, 2026 14 min read

How to Create an llms.txt File for a WordPress Site

Create a WordPress llms.txt file, place it at the right URL, validate its contents, and keep it current as your site grows. Follow the practical workflow.

A laptop shows a wordpress llms.txt file with a green check, beside a mug and plant in soft light.

The short answer: create the file, publish it, and test its URL

Uploading a document to WordPress is not the same as making it available at /llms.txt. To create a WordPress llms.txt file, write a short Markdown guide to your site, publish it at that public URL, and check that the address returns the file itself—not a WordPress page, login screen, or error.

An llms.txt file is a curated reading guide for AI systems: it describes your site and points to useful pages. It is not a command that forces an AI assistant to read those pages, recommend your business, or cite you.

The llms.txt proposal allows the file at the site root or another path. For this walkthrough, use the root address, /llms.txt, so you have one clear destination to publish and test. That is a practical choice, not a claim that every other location is invalid.

Consider a service business whose WordPress site contains service descriptions, an enquiry page, and supporting articles. The job is not to export every URL. It is to provide a useful starting point without presenting outdated pages as current guidance.

The workflow has three distinct parts:

  • Create the guide. Identify the site, explain what it covers, and select the pages that best support that explanation.
  • Publish it publicly. Make the file available at the intended address without requiring a visitor to sign in.
  • Test the live result. Open the public URL and confirm that you receive readable file content, rather than trusting an upload confirmation.

Keep the scope modest. The proposal makes the site or project name in an H1 the only required section; usefulness comes from what you choose to explain and link, not from making the file long.

The cost question is mostly about work: preparing the guide, arranging publication, and checking it when important pages change. You do not need to start by buying software. If you later assess a tool, ask what it actually handles and what still needs your review.

For LaunchPist, the relevant distinction in AI visibility is between publishing a useful resource and proving an outcome. A working llms.txt URL proves that your guide is accessible. It does not, by itself, prove that an AI service has used it.

The scenario: a WordPress service business with changing pages

Consider a service firm running its website on WordPress. It has service pages, location pages, a contact page and a growing collection of articles answering prospective customers’ questions. The owner changes what the firm offers; someone updates the website; older articles remain online.

Now the firm wants a WordPress llms.txt file: a Markdown guide that gives AI systems a concise introduction to the site and links to useful source pages. The llms.txt proposal describes this format. Treat it as a guide to the website, not a replacement for the website’s actual content.

The problem is not a shortage of URLs. It is deciding which URLs still describe the business accurately.

A service changes, but its old description survives

Suppose the firm stops offering a standalone service and folds that work into a broader engagement. The main service page reflects the change, but an older article still describes the retired offer. Meanwhile, a location page points visitors toward an outdated enquiry route.

A directory of every published page would carry that confusion forward. A useful guide needs editorial judgment: which page should an assistant consult to understand the current offering, and which pages merely provide background?

Before touching files or WordPress settings, the owner and website editor work through a short content check:

  • Identify the current offer. Agree which live service pages accurately describe work the firm accepts.
  • Separate services from supporting material. Keep an explanatory article in its proper role rather than treating it as the definitive description of an engagement.
  • Check location claims. Confirm that selected location pages reflect where the firm currently works.
  • Resolve contradictions. Correct outdated public claims instead of expecting a separate guide to cancel them out.

This is preparation, not a publishing procedure. It establishes what the eventual file should represent.

The cost is ownership, not just setup

For this scenario, budget for editorial review and coordination with whoever manages WordPress. There is no useful universal price: the work depends on whether the source pages already agree and whether the owner can approve changes without a handoff.

The desired outcome is modest and concrete: a clear set of authoritative pages, an agreed description of the business and a named person responsible when those facts change. Questions about whether assistants will actually use that guide are separate; how AI assistants can read an llms.txt file is the relevant next question, not a reason to promise visibility gains.

Step 1: write a small, useful llms.txt file

Write your WordPress llms.txt file as a reading guide, not a second website. For a service business with changing pages, its job is to identify the business clearly and point readers toward the pages that explain its current services, coverage and enquiry process.

A person drafts a wordpress llms.txt file at a sunlit desk beside a mug and a small plant.

The llms.txt proposal specifies a Markdown document whose only required section is an H1 containing the project or site name. A blockquote summary and optional Markdown sections follow it. That gives you room to be useful without copying every page into the file.

Start with the pages you would send a prospective customer before a serious enquiry. Open those pages while you draft. Use their actual content rather than working from memory.

Build the file in this order:

  • Site name: Write the business’s published name as a Markdown H1, using the syntax # Your business name.
  • Short summary: Begin the next paragraph with >. Explain what the business does and where it operates, using facts already stated on the site.
  • Core pages: Add a section labelled ## Services. Include the main service overview and relevant individual service pages.
  • Practical details: Add a section for useful supporting pages, such as service areas, the enquiry process or published pricing information, where those pages exist.
  • Link descriptions: Give each link a short explanation of what the destination actually answers.

For each entry, use this Markdown pattern, replacing both placeholders:

- Page title: What this page explains.

A useful description says “Explains the areas covered and location-specific service details.” A weak one says “Discover our outstanding solutions.” The former helps someone choose a page; the latter adds nothing.

Use the preferred public URL for each page, without campaign-tracking parameters. Leave out WordPress admin screens, internal search results, duplicate archives and expired offers. If a service page is being rewritten, describe what it says today—not what you intend to publish.

Save the draft as a plain-text file named llms.txt, preferably using UTF-8 encoding. You can write it in a plain-text editor; this drafting step does not require buying a plugin.

Keep the finished draft short enough to check against the source pages. It should contain a clear identity, a factual summary and a curated set of useful links—not instructions claiming that AI systems must recommend the business. The file describes your site; it does not control another system’s answers.

Step 2: publish it at the right WordPress URL

Publish your WordPress llms.txt file at /llms.txt on your public website whenever you control that location. For the service business in this walkthrough, that gives the file a straightforward address on the same domain as its service, booking and contact pages.

The site root means the top level of your public website’s address—not necessarily the folder where WordPress is installed. The llms.txt proposal permits the file at the site root or another path, so root placement is a practical default, not a requirement of the proposal.

Upload the file through your hosting account

If you have hosting access, publish the file directly rather than creating a WordPress page:

  • Open your host’s file manager or connect through SFTP. Find the document root assigned to the public domain. Your hosting dashboard or host’s support team can identify it; do not assume that the first folder you see serves your website.
  • Upload the prepared llms.txt file into that directory. Keep the filename exactly as written. Check that your editor has not added another extension, leaving you with llms.txt.txt.
  • Leave unrelated files alone. Adding this file does not require replacing WordPress core files or editing the site’s routing configuration.

For a conventional root installation, WordPress’s own files sit in the web root, as described in the WordPress installation documentation. If WordPress lives in a subdirectory but the public site opens at the domain root, ask your host which directory serves /llms.txt; the WordPress installation folder alone does not settle that question.

If you only have WordPress dashboard access

Creating a normal page titled “llms.txt” is not the same as publishing the text file. A page can include your theme’s navigation, layout and other HTML.

Instead, ask your developer or host to place the file, or choose a plugin that explicitly serves a plain-text response at /llms.txt. Before installing one, establish whether it actually publishes that address or merely generates text for you to copy. A Media Library upload also does not, by itself, put the file at the site root.

Direct upload needs no additional plugin purchase, though your hosting plan and any developer help still have their own costs. The publishing outcome is simple: one chosen public path serving the prepared file, without adding an unnecessary page to the service business’s navigation.

Step 3: validate the live file and fix delivery problems

Validate the file your server delivers, not just the copy you saved. For the WordPress service business in this walkthrough, the test is straightforward: can an unauthenticated visitor retrieve the current guide and follow its links to the correct service pages?

Validation here means checking delivery, readable content and working destinations. It does not mean proving that an AI assistant will read the file or recommend the business.

Check the public response

Open /llms.txt on your domain in a private browser window while signed out of WordPress. You should see the Markdown text—not your homepage, a login screen, a security challenge or a styled error page.

For a closer check, run these commands, replacing YOUR_DOMAIN with your actual hostname:

curl -I https://YOUR_DOMAIN/llms.txt
curl -L https://YOUR_DOMAIN/llms.txt

The first inspects response headers; the second fetches the body while following redirects. Check that the final response succeeds and contains the file you expected. A successful HTTP status alone is not enough: a WordPress fallback page can load successfully while delivering the wrong content.

Fix the failure you actually see

Work through the symptom rather than changing several settings at once:

  • Not found: confirm that the published filename and requested path match. Check whether WordPress rewrite rules intercept the request.
  • Homepage or HTML instead of Markdown: inspect redirects, fallback routing and any plugin generating the response.
  • Login or security challenge: review password protection, firewall rules and bot challenges for this path. Keep the exception narrow rather than disabling site-wide protection.
  • Old content: purge the relevant WordPress, hosting and CDN caches, then fetch the public file again.
  • Garbled characters: save and serve the text as UTF-8. W3C’s internationalization guidance recommends UTF-8 for new formats and protocols (source).

These checks use a browser and command-line requests; they do not require buying a validator. Fixing hosting or security rules may still need help from whoever manages the site.

Check the contents and destinations

Confirm that the delivered file retains the site-name H1 required by the llms.txt proposal. Then open every listed link while signed out.

For the service business, that means checking that each service link reaches its intended public page—not an old URL, draft preview or unrelated replacement. After any correction, repeat the public fetch.

A clean result establishes that your WordPress llms.txt file is publicly retrievable and useful to navigate. It does not establish crawler access to every linked page, or guarantee inclusion in AI answers.

Step 4: choose manual upkeep or ongoing automation

A WordPress llms.txt file needs an owner, not just a launch date. Manual upkeep means someone edits it when relevant pages change; automated maintenance means software handles defined updates, with a person responsible for its selection rules and exceptions.

For the service business in this walkthrough, the decision turns on publishing habits. If the same person manages service pages and the file, manual upkeep may be enough. If several people change services, locations and supporting articles independently, automation becomes worth evaluating.

Keep it manual when changes are easy to track

Suppose you replace an old service page and revise the description of another. Make the llms.txt review part of that same publishing task, rather than leaving it for a separate housekeeping session.

Use a short change checklist:

  • New priority page: decide whether it belongs in the guide. Publishing a page does not automatically make it useful enough to include.
  • Changed service: check whether the existing description still matches what the business offers.
  • Replaced or retired page: update or remove its entry instead of preserving an outdated recommendation.
  • Changed ownership: name the person who now maintains the file.

The cost is staff attention: reviewing the change, editing the entry and keeping the task from falling between people. Manual upkeep works best when that responsibility is explicit. “Marketing will handle it” is not an owner.

Buy automation for a defined maintenance job

Automated llms.txt maintenance should reduce repeated work without turning the file into an unfiltered page inventory. The llms.txt proposal allows optional Markdown sections; you can preserve a deliberately organised guide rather than treating every published URL as equally important.

When evaluating software, ask the vendor to demonstrate your actual change sequence: add a service page, revise another, then retire the old one. Check:

  • Selection controls: can you include chosen pages and exclude irrelevant archives or campaign pages?
  • Description handling: does an update preserve your wording, replace it, or offer a review step?
  • Change handling: what happens when a page becomes a draft, moves or disappears?
  • Recovery: can you inspect changes and restore the previous version?

Compare the subscription cost with setup time, review work and exception handling—not editing time alone. Software that needs constant correction has moved the chore, not removed it.

Choose manual upkeep if the publishing owner can reliably maintain a small, curated guide. Choose automation when coordinating changes has become the recurring burden, but keep a named person accountable for what the file includes.

The finished result: a public guide that stays aligned with your site

A finished WordPress llms.txt file is a concise public guide to your website’s important content. “Aligned” means its descriptions and links still match what your business actually offers—not what the site offered before its last redesign.

For the service business in this walkthrough, the result should be straightforward: a reader can identify the business, find its main service pages, and locate the supporting information needed to understand those services. The file points to the website; it does not become a second, competing version of it.

What alignment looks like after a service changes

Suppose the business retires a service and replaces its old page with a new offering. The useful outcome is not merely that the file remains online. Its description should stop presenting the retired service as available, and its selected links should reflect the replacement where appropriate.

Treat that as a content acceptance check rather than another publishing task:

  • The description matches the business today. It does not preserve an outdated service list or claim a wider service area than the website does.
  • Each selected link earns its place. It leads to a relevant page, not simply a working address left over from an earlier version of the site.
  • The destination supports the description. A link labelled as service information should not land on a generic contact page.
  • Public means public. The file contains no internal notes, unpublished offers, customer details, or private operating instructions.

Keep detailed terms and changing service information on their relevant pages. Repeating them in the guide creates another place for contradictions to develop.

What the result does—and does not—buy you

The llms.txt proposal describes a Markdown format for presenting site information. Publishing that guide does not establish that an AI assistant will fetch it, use it, cite your business, or recommend you. File availability and AI visibility are different outcomes.

The practical cost is the effort required to keep the guide accurate alongside the website. A smaller, well-chosen guide limits that burden; an exhaustive duplicate of your navigation creates more material to review without necessarily adding useful context.

Judge the finished artifact by something you can inspect: whether an unfamiliar reader can use it to find the right current pages without being misled. If the website and guide disagree, fix the disagreement rather than adding more explanation. A useful public guide makes the business easier to understand without asking anyone to trust an outdated summary.

FAQ

Do I need a WordPress plugin to create an llms.txt file?

No. You can create the file in a text editor and publish it through your hosting file manager or SFTP. If your host restricts file access, ask which supported method can serve it at your chosen URL.

Where should I put llms.txt if WordPress is installed in a subfolder?

First decide which site the file describes and which public URL should serve it. The proposal permits root and subpath locations, so map the chosen URL to the correct hosting directory rather than assuming the WordPress installation folder is the domain root.

How can I check whether my llms.txt file works?

Visit its public URL while logged out and confirm it returns readable Markdown rather than an error or HTML page. Check the HTTP response, required site-name H1, and linked pages. Those checks confirm delivery and structure, not adoption by AI assistants.

Can LaunchPist keep my llms.txt file updated?

LaunchPist describes keeping llms.txt current as part of its SEO and GEO automation. Before connecting your WordPress site, confirm how it will publish the maintained file at your preferred URL and avoid conflicts with an existing file or generator.

Will adding llms.txt get my site recommended by ChatGPT?

The file alone cannot guarantee a recommendation or citation. Treat it as a guide to useful public content, not a replacement for accessible pages, sound technical SEO, or content that answers buyers' questions.