---
title: "Generate An LLMs.txt File For AI Search"
url: https://nexterwp.com/docs/llms-txt/
date: 2026-07-17
modified: 2026-07-23
author: "Aditya Sharma"
description: "AI assistants like ChatGPT, Perplexity, and Google's AI answers increasingly send traffic and shape how your brand is described. An LLMs.txt file is a clean, curated map of your most..."
word_count: 430
---

# Generate An LLMs.txt File For AI Search

## Key Takeaways

- Nexter SEO publishes an LLMs.txt file at /LLMs.txt when Enable LLMs.txt generation is turned on and Save is clicked.
- LLMs.txt includes controls for Posts Per Type Limit, Terms Per Taxonomy Limit, Cache Duration (hours), Freshness Window (months), Included Post Types, and Included Taxonomies.
- Respect Noindex excludes any content marked noindex from the LLMs.txt file, and Include Homepage adds the homepage as a top-level entry.

AI assistants like ChatGPT, Perplexity, and Google's AI answers increasingly send traffic and shape how your brand is described. An `LLMs.txt` file is a clean, curated map of your most important content that these models can read. Nexter SEO generates and maintains this file for you.

Nexter → Content SEO → Technical → LLMs.txt.

 

## How To Generate An LLMs.txt File?

- Open **Technical** in the left-hand nav and click **LLMs.txt**.

- Turn on **Enable LLMs.txt generation**. The status badge shows **Active** and your file goes live at `/LLMs.txt`.

- Set the limits and window so the file lists your best, freshest content.

- Choose which post types and taxonomies to include.

- Click **Save**.

![Nexter SEO LLMs.txt screen showing the enable toggle, limits, and included content options](https://nexterwp.com/wp-content/uploads/2026/07/nseo-13-llms-txt.gif)

- **Enable LLMs.txt generation** — the master switch. When on, Nexter SEO publishes your file at **`/LLMs.txt`**.

- **Include Homepage** — adds your homepage to the file as a top-level entry.

- **Respect Noindex** — when on, any content marked noindex is excluded from the file, so you never expose pages you have deliberately kept out of search.

- **Posts Per Type Limit** — how many items to list per post type (default 20). Keep it focused; this file is a highlights reel, not a full sitemap.

- **Terms Per Taxonomy Limit** — how many terms to list per taxonomy (default 20).

- **Cache Duration (hours)** — how long the generated file is cached before it rebuilds (default 24).

- **Freshness Window (months)** — restrict entries to content published or updated within this many months. Leave at 0 for no time limit.

- **Included Post Types** — expand to choose which post types appear in the file.

- **Included Taxonomies** — Category, Tag, and Format checkboxes.

 

#### Good To Know

- Think of `LLMs.txt` as the answer-engine equivalent of your sitemap: sitemaps are for search crawlers, `LLMs.txt` is for AI models. Keeping it tight and current gives AI a clean, authoritative source to cite.

- Turn on **Respect Noindex** if you use noindex anywhere, so private or thin pages never leak into the AI-facing file.

- After a big content push, the file rebuilds on its own once the cache duration elapses; lower the cache duration temporarily if you need it sooner.

 

#### Troubleshooting

- **`/LLMs.txt` shows nothing or 404s.** Confirm **Enable LLMs.txt generation** is on and Save was clicked, then reload the URL after the cache duration.

- **A page I expected is missing.** Check the per-type limit, the freshness window, and whether the page is noindexed while **Respect Noindex** is on.

**Related:** [XML Sitemaps](/docs/xml-sitemaps/) · [Robots Instructions](/docs/robots-instructions/) · [Structured Data (Schema) Overview](/docs/structured-data-schema-overview/)

 

[Explore Nexter Extension](https://nexterwp.com/nexter-extension/)

 

This is how you can generate an LLMs.txt file for AI search with Nexter SEO.

## Frequently Asked Questions

**Q: Why is my /LLMs.txt file showing a 404 or blank page?**
A: That usually means the file was never published. In Nexter SEO, the master switch is Enable LLMs.txt generation, and the file only goes live at /LLMs.txt after you turn it on and click Save. If it still looks wrong, wait for the cache duration to expire and reload the URL. The page also notes that the status badge should show Active when generation is working.

**Q: How do I keep private or noindexed pages out of an llms.txt WordPress file?**
A: Use Respect Noindex. When that setting is on, any content marked noindex is excluded from the LLMs.txt file, which matters if you have thin pages, private content, or anything you deliberately kept out of search. Nexter SEO treats the file like an AI-facing highlights reel, so excluding noindexed content helps avoid leaking pages you do not want models to read.

**Q: What should I include in an llms.txt WordPress file for AI search?**
A: Keep it focused on your best and freshest content. Nexter SEO lets you set Posts Per Type Limit, Terms Per Taxonomy Limit, and a Freshness Window so the file stays curated instead of turning into a full sitemap. The page also says Include Homepage can add your homepage as a top-level entry, which makes sense when you want a clear starting point for AI systems.

**Q: Does llms.txt replace XML sitemaps or robots instructions in WordPress?**
A: No. The page frames LLMs.txt as the answer-engine equivalent of your sitemap, while sitemaps are for search crawlers. That means it serves a different audience: AI models like ChatGPT, Perplexity, and Google’s AI answers. For related site control, Nexter also points to [XML Sitemaps](/docs/xml-sitemaps/) and [Robots Instructions](/docs/robots-instructions/).

**Q: What’s the best way to decide which post types and taxonomies go into llms.txt?**
A: Start narrow and only include what helps AI cite your strongest content. Nexter SEO gives you Included Post Types plus Included Taxonomies for Category, Tag, and Format, so you can shape the file around what actually matters. The page’s advice is to keep it tight and current because LLMs.txt works best as a clean source of highlights, not a dump of everything on the site.

**Q: Why does my page disappear from llms.txt after I publish or update it?**
A: The Freshness Window and per-type limits are usually the reason. Nexter SEO can restrict entries to content published or updated within a set number of months, and Posts Per Type Limit defaults to 20. If a page still seems missing, the troubleshooting section says to check those limits plus whether Respect Noindex is excluding it while enabled.
