Adding an llms.txt file to your WordPress site is one of the simplest ways to help AI tools understand what your website is truly about. Instead of leaving language models to guess which pages matter most, you can guide them toward your most important content. What used to require custom development can now be handled directly inside popular SEO plugins. In this guide, you will learn how to enable and configure llms.txt using both Yoast SEO and Rank Math, step by step.
What Is LLMs.txt and Why It Matters for Your WordPress Site
llms.txt is a small text file placed at the root of your domain, such as yoursite.com/llms.txt. Its role is to give AI systems a curated map of your most valuable pages in a clean, easy to read format. Search engines crawl your site on a schedule, but AI tools often access content in a more limited and selective way, which means they can overlook key pages without direction.
For WordPress site owners, this becomes especially helpful if you publish frequently, manage a large archive, or have important landing pages buried deep in your navigation. By generating llms.txt through your SEO plugin, you create a focused list of URLs that AI systems can use as a trusted reference point.
Here is a mock example:
# Title
> Optional description goes here
Optional details go here
## Section name
- [Link title](https://link_url): Optional link details
## Optional
- [Link title](https://link_url)
Before You Start
Before enabling llms.txt, make sure the following are in place:
- Your WordPress site is running the latest version of Yoast SEO or Rank Math
- You have administrator or editor level permissions
- Your site is not restricted by server rules that block file generation
If you are using WordPress multisite, some llms.txt features may be limited depending on the plugin.

How to Enable LLMs.txt in Yoast SEO
Yoast SEO includes a built in feature that can automatically generate and manage your llms.txt file.
Step 1: Open Yoast Settings
Log in to your WordPress dashboard. In the left sidebar, click Yoast SEO, then go to Settings.
Step 2: Go to Site Features
Inside Settings, open the Site Features section. This area contains optional tools and enhancements provided by Yoast.
Step 3: Turn On LLMS.txt
Scroll to the AI tools section and find the LLMS.txt option. Switch the toggle to the on position. The visual state of the toggle will change to show it is active.
Step 4: Save Changes
Scroll down and click Save changes. Your site will now generate an llms.txt file using Yoast’s default configuration.
How to Customize LLMs.txt in Yoast SEO
After enabling the feature, you can choose exactly which pages appear in your llms.txt file.
Step 1: Return to the LLMs.txt Settings
Go to Yoast SEO → Settings → Site Features, then open the LLMS.txt settings again under AI tools.
Step 2: Open the Customization Option
Select the option that allows you to customize your llms.txt file instead of relying only on automatic selections.
Step 3: Switch to Manual Page Selection
Choose Manual page selection so you can hand pick the pages that best represent your site. This is ideal for cornerstone articles, product pages, and key service pages.
Step 4: Add Your Selected Pages
Use the interface to search for and add the pages you want included. Focus on content that is up to date, authoritative, and aligned with how you want your brand to be understood by AI systems.
Step 5: Save Changes
Click Save changes again to update your llms.txt file.

How to Enable LLMs.txt in Rank Math
Rank Math offers a dedicated module for llms.txt, giving you more granular control over what gets included.
Step 1: Open the Rank Math Dashboard
In your WordPress admin area, go to Rank Math SEO → Dashboard. This page lists all available modules.
Step 2: Enable the LLMs.txt Module
Scroll until you find the LLMs Txt module. Turn it on using the toggle. If you do not see it, update Rank Math to the latest version.
Step 3: Open the LLMS.txt Settings
After enabling the module, click the settings icon for LLMS Txt or go to Rank Math SEO → General Settings → Edit llms.txt.
Step 4: Select Post Types
Choose which post types should be included, such as Posts or Pages. Rank Math will list each item’s title, URL, and a short description. Content set to noindex will be excluded automatically.
Step 5: Select Taxonomies
You can also include taxonomies like Categories or Tags. This helps AI systems understand how your content is grouped and structured.
Step 6: Set a Content Limit
Decide how many posts or terms should be listed in the file. The default is often enough, but you can lower or increase this number depending on your site size and priorities.
Step 7: Add Additional Content
Use the additional content field to manually insert important links or short notes that help explain your site. Add each entry on its own line for clarity.
Step 8: Save Changes
Click Save Changes to generate your updated llms.txt file.
How to Preview Your LLMs.txt File
After saving your settings in either plugin, visit yourdomain.com/llms.txt in a browser. Review the listed URLs and make sure they reflect your most important and current content.
If something looks incorrect or outdated, return to the plugin settings and refine your selections.
Common Issues and Quick Fixes
If you cannot find the llms.txt option, update your SEO plugin to the latest version. Also confirm that your user role has permission to manage SEO settings.
If the file fails to generate, check your server file permissions or caching setup. In some cases, temporarily disabling and re enabling the feature can trigger a fresh file build.
Making LLMs.txt Part of Your Content Strategy
An llms.txt file works best when paired with strong, well structured content. Review the pages included in your file regularly and update them as your priorities shift. As AI driven discovery becomes more common, guiding models toward your best material can improve how your brand is represented in AI generated answers. Platforms like Helm help teams consistently produce and optimize the kind of high quality pages you would want featured in llms.txt.
A Small File With a Big Role
Setting up llms.txt on WordPress takes only a few minutes, but it gives you meaningful influence over how AI systems interpret your site. With Yoast or Rank Math, you can manage this file without touching code and update it whenever your content focus changes. Treat it as a living asset and it will continue supporting your visibility as search and AI evolve.
Get free resources, access to new features, tips & tricks, and special offers by joining the Helm Newsletter.
No Spam. Sent Weekly.










.webp)





















