What does llms.txt do, and where should it live?
An llms.txt file is a human-readable guide that helps language models and other readers find important information on a website. It is generally proposed as a plain-text Markdown file at the root of a domain, such as https://example.com/llms.txt. It does not replace your website, sitemap, or robots.txt.
Think of it as a curated index, not a copy of your whole site. A business might use it to point to its product overview, documentation, policies, and support information. The file can explain what the business does and direct readers to pages that provide authoritative details.
Before creating one, review the broader llms.txt guide to decide whether the format fits your site. Then confirm you can publish a text file at the root of your preferred domain. If your site serves content from multiple domains or subdomains, decide which one is the canonical home for the information and link to the relevant pages there.
Which pages belong in an llms.txt file?
Include pages that explain your business clearly and are useful when read without extra context. Prioritize authoritative, current resources over a complete inventory of URLs. The file should make it easier to find dependable information, not send readers through a maze of overlapping pages.
A practical selection checklist:
- Start with a short description of the business and what the website covers.
- Add canonical pages for products, services, documentation, and support.
- Include policies or reference material when they clarify important terms.
- Prefer stable public URLs over temporary campaign pages or gated content.
- Remove duplicate destinations and pages that are outdated or under review.
For each candidate, ask: Would this page help someone understand the business or answer a real question? Is the information public and approved for broad access? Does the page itself provide enough context to be useful? If a page is only valuable alongside another page, link to the more complete source or briefly explain the relationship. For a site with substantial technical documentation, organize links around the way users actually navigate it rather than mirroring every category in the sitemap.
How should you structure the file?
Use simple Markdown that a person can scan quickly. Start with a heading naming the site or organization, add a short description, and group links under descriptive headings. Each link should have a clear label and point directly to the intended public page.
For example:
# Example Business
Example Business provides tools and documentation for [brief subject].
## Getting started
- Product overview: `/product`
- Getting started guide: `/docs/start`
## Policies and support
- Privacy policy: `/privacy`
- Contact support: `/support`
Keep wording factual and aligned with the linked pages. Avoid claims that the site cannot substantiate, promotional repetition, and links to private or restricted material. Use one canonical URL for each destination, including the correct HTTPS version where available. The format is intentionally lightweight: a clear introduction and well-labeled links are more useful than a long, unstructured URL dump. For related technical planning, see technical AEO support.
How to add an llms.txt file to WordPress
On WordPress, the goal is to make the file publicly available at the root URL of your site, not merely to create a page with that title. The right publishing method depends on your hosting setup and the access your team has to site files.
A straightforward workflow is:
- Draft and save the file as plain text named
llms.txt. - Upload it to the web root used by the public site, often the directory containing WordPress files such as
wp-config.phpandwp-content. - Open
https://yourdomain.com/llms.txtin a browser and confirm the file is served there. - Check that the server returns readable text rather than a WordPress error page, redirect loop, or download of an unrelated file.
If you do not have file access, ask your host or developer which method they support for serving a root-level text file. A plugin or rewrite rule may be an option in some setups, but check the resulting URL rather than assuming that a successful save means the file is publicly reachable. Avoid editing core WordPress files: updates can overwrite changes and make maintenance harder. If the site needs broader technical work, website development can help address the publishing setup.
How do you validate and maintain llms.txt?
Validation means confirming that the published file is accessible, readable, and consistent with the pages it recommends. A file can exist in a repository or hosting dashboard and still be missing from the live domain, so always test the public URL after deployment.
Run these checks before considering the work complete:
- Open the root-level URL in a private browser window or an HTTP client without a logged-in session.
- Confirm the response displays the expected plain-text content and does not require authentication.
- Follow every link and check for errors, redirects to unexpected destinations, or outdated pages.
- Compare the file’s descriptions with the current wording on the linked pages.
- Check that the final version contains no draft notes, private URLs, or accidental credentials.
Assign an owner for updates. Revisit the links when navigation, product information, documentation, or policies change, and include the file in the normal website release checklist. A concise file is easier to review and keep accurate. Teams publishing often can store it alongside other maintained site content and ask a reviewer to verify it before release. For content that supports AI answers more broadly, consider how AI-answer content complements technical discoverability.
What llms.txt cannot control
Publishing llms.txt gives your site a clear, public index, but it cannot instruct every AI system to use that index. Adoption and interpretation are controlled by each platform, and a file alone does not ensure crawling, inclusion in a response, or a particular citation. It also does not replace access controls, robots.txt directives, a sitemap, or accurate pages on your site.
Keep the purpose modest: improve the clarity of your public information architecture and make selected sources easier to find. Do not put confidential, unpublished, or personal information in the file; anything served publicly should be treated as public. Continue maintaining the underlying pages, because an index cannot make incomplete or conflicting source material reliable.
A useful next step is to review the site’s technical signals and content together. CoinMarketingCap can help assess whether llms.txt is appropriate, choose source pages, prepare a clean file, and check its live implementation. If you are still deciding whether the format is worthwhile, start with llms.txt: what it is and whether you need it, then review the wider AI search visibility services.
Frequently asked questions
How long does it take to implement llms.txt?
For a small site with clear, current pages and access to the web root, drafting and publishing can be a short task. The time grows when teams need to agree on source pages, resolve duplicate or outdated content, or arrange hosting access. Allow time to test the public URL and every link after publication.
Is llms.txt required for a business website?
No. It is an optional convention, not a required website file. Consider adding it when a concise index would help people and AI tools navigate important public resources. If your site is small and already easy to understand, improving the source pages may be more useful than creating another file.
Can I add llms.txt through a WordPress page editor?
A regular WordPress page may have a different URL, theme layout, or generated markup from the root-level plain-text file this guide describes. Check what the public /llms.txt URL actually serves. If you cannot upload to the site root, ask your host or developer for a supported way to publish a plain-text file at that address.
Will publishing llms.txt make AI systems cite my website?
No. Platforms decide whether and how they discover, interpret, and cite the file, so publication cannot ensure crawling or a citation. What you can verify is the delivery of an accessible file with accurate descriptions and working links. Treat llms.txt as a useful index, not a ranking control or citation guarantee.
Tell us about your project
Answer four quick questions and a manager will send you a plan, timing and a price range within the hour. Everything stays confidential.
Loading the form…