What Is llms.txt? How to Create One for Your WordPress Website

HomeWhat Is llms.txt? How to Create One for Your WordPress Website

Illustration of an llms.txt document connected to a WordPress website on a laptop

What Is llms.txt? How to Create One for Your WordPress Website

llms.txt is a simple Markdown file that summarises your website for AI tools. This guide explains what it does, what it does not, and how to add one to WordPress.

llms.txt — Zigma Solutions

llms.txt is a small text file that has become one of the most talked-about topics in AI search. Website owners want to know: what is it, does it actually help, and how do you add one? This guide answers all three in plain English.

What is llms.txt?

llms.txt is a proposed standard for a Markdown file placed at the root of your website — for example https://example.com/llms.txt. It gives large language models (LLMs) a clean, human-readable summary of your site and links to your most important pages, without the menus, scripts and clutter of normal web pages.

The idea was proposed in September 2024 by Jeremy Howard, co-founder of Answer.AI, as a way to help AI tools understand websites more efficiently.

How is it different from robots.txt and sitemap.xml?

FilePurposeAudience
robots.txtTells crawlers what they may or may not accessSearch and AI crawlers
sitemap.xmlLists every URL you want indexedSearch engines
llms.txtSummarises your site and highlights the key pages in MarkdownAI models and AI tools

llms.txt does not replace either file — it sits alongside them.

llms.txt: robots.txt vs sitemap.xml vs llms.txt

Does llms.txt improve AI visibility?

Be realistic here. llms.txt is still a proposal, and the major AI companies have not committed to using it when deciding what to show in answers. Google has said publicly that it does not use llms.txt for search ranking.

So why add one? Because it is quick, free and low-risk. Some AI tools, coding assistants and agents do read it when they visit a site, and it forces you to define clearly what your business does and which pages matter most — an exercise that also improves your AEO and GEO work. Think of it as a tidy, optional extra, not a ranking shortcut.

What goes inside an llms.txt file?

The format is simple Markdown:

  • An H1 title with your business or site name
  • A short blockquote summary describing what you do
  • Optional paragraphs with key facts
  • H2 sections listing important links, each with a one-line description
  • An optional “Optional” section for secondary pages

Example llms.txt for a service business

# Zigma Solutions

> Sri Lankan web development and search agency providing WordPress security and maintenance, SEO, AEO and GEO for businesses in the UK, Australia, the USA and Canada.

## Services
- [AEO & GEO Services](https://zigmazol.com/services/aeo-geo-services/): Get cited and recommended by ChatGPT, Gemini and Perplexity
- [WordPress Malware Removal](https://zigmazol.com/services/wordpress-malware-removal/): Hacked site cleanup and security hardening
- [SEO & Digital Marketing](https://zigmazol.com/services/seo-digital-marketing/): Technical, local and content SEO

## Company
- [About](https://zigmazol.com/about-us/): Who we are and how we work
- [Contact](https://zigmazol.com/contact-us/): Request a free website or AI visibility audit
llms.txt: What Goes Inside

How to add llms.txt to WordPress

Option 1: Rank Math (easiest)

  1. In your WordPress dashboard, go to Rank Math SEO → Dashboard → Modules and enable the LLMS Txt module.
  2. Open Rank Math SEO → General Settings → LLMS Txt.
  3. Choose which post types and taxonomies to include — typically pages, services and your best blog posts. Exclude thin pages such as cart, checkout and tag archives.
  4. Add a clear business description in the extra content field.
  5. Save, then visit yourdomain.com/llms.txt to check the output.

Option 2: Upload a file manually

  1. Create a plain text file named llms.txt using the format above.
  2. Upload it to your site’s root folder (usually public_html) with your hosting file manager or SFTP.
  3. Open yourdomain.com/llms.txt in a browser to confirm it loads.

Controlling AI Crawlers With robots.txt

If your goal is to control which AI companies can access your content, robots.txt is the tool that actually enforces rules for well-behaved crawlers. Common AI user agents include GPTBot and OAI-SearchBot from OpenAI, Google-Extended for Gemini training, PerplexityBot and ClaudeBot. Blocking a search-focused crawler can stop your pages appearing as sources in that assistant, so most businesses that want AI visibility should allow them.

A sensible approach for a service business is to allow AI search crawlers, keep your sitemap up to date, and make sure your security firewall is not blocking legitimate bots by mistake. Check your server logs or security plugin every few months to confirm that the crawlers you want are reaching your site and receiving normal 200 responses rather than errors or challenges.

Best practices

  • Keep it short and focused on your most valuable pages — quality over quantity.
  • Write descriptions for humans, not keyword lists.
  • Use the same business description as your website and Google Business Profile.
  • Leave out pages that are noindexed, thin or outdated.
  • Review it whenever you add or remove a major service.
llms.txt: Add It in Rank Math

The bottom line

llms.txt will not get you into ChatGPT on its own. What makes AI tools recommend a business is clear content, structured data, consistent facts and a trusted reputation — see our guide on how to rank in ChatGPT. But as a five-minute task that supports a well-organised site, it is worth doing.

llms.txt Quick Summary

The file sits at the root of your domain next to robots.txt. A good one lists your key pages with one-line descriptions, and it takes only minutes to set up in WordPress.

You can read the original llms.txt proposal at llmstxt.org and Rank Math’s llms.txt documentation.

Frequently Asked Questions

Is llms.txt required for SEO?

No. It is optional and does not affect Google rankings, but it can help some AI tools understand your site.

Where do I put llms.txt?

Place it in the root folder of your website so it loads at yourdomain.com/llms.txt.

Does Rank Math create llms.txt automatically?

Yes. Rank Math can generate the file from your chosen post types once its LLMS Txt module is enabled.

Want to know what AI tools say about your business today? Our team runs a free mini AI visibility check — we test the real questions your customers ask and show you where you stand. Request your free AI check or learn more about our AEO & GEO services.

Leave A Reply Now

Send Us A Message

Your email address will not be published. Required fields are marked *

read more latest blog

//
Our customer support team is here to answer your questions. Ask us anything!
👋 Hi, how can I help?