[{"@context":"https:\/\/schema.org\/","@type":"BlogPosting","@id":"https:\/\/xn--adrimadiseo-beb.com\/uncategorized\/what-is-llms-txt-how-to-add-llms-txt-in-wordpress\/#BlogPosting","mainEntityOfPage":"https:\/\/xn--adrimadiseo-beb.com\/uncategorized\/what-is-llms-txt-how-to-add-llms-txt-in-wordpress\/","headline":"What Is llms.txt? How to Add llms.txt in WordPress","name":"What Is llms.txt? How to Add llms.txt in WordPress","description":"Last month, I noticed crawlers from companies like OpenAI and Google in my website analytics. My first reaction was concern: Was my content being scraped ... <a title=\"What Is llms.txt? How to Add llms.txt in WordPress\" class=\"read-more\" href=\"https:\/\/xn--adrimadiseo-beb.com\/uncategorized\/what-is-llms-txt-how-to-add-llms-txt-in-wordpress\/\" aria-label=\"M\u00e1s en What Is llms.txt? How to Add llms.txt in WordPress\">Leer m\u00e1s<\/a>","datePublished":"2025-07-25","dateModified":"2025-07-25","author":{"@type":"Person","@id":"https:\/\/xn--adrimadiseo-beb.com\/author\/mitzamitza-es\/#Person","name":"adrimadise\u00f1o","url":"https:\/\/xn--adrimadiseo-beb.com\/author\/mitzamitza-es\/","image":{"@type":"ImageObject","@id":"https:\/\/secure.gravatar.com\/avatar\/4f04015a3698191a873267b006e8e8789ce30b6ee841a5518a6033860d50fe16?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/4f04015a3698191a873267b006e8e8789ce30b6ee841a5518a6033860d50fe16?s=96&d=mm&r=g","height":96,"width":96}},"publisher":{"@type":"Organization","name":"adrimadise\u00f1o.com","logo":{"@type":"ImageObject","@id":"https:\/\/xn--adrimadiseo-beb.com\/wp-content\/uploads\/2022\/05\/cropped-logo_adrima.png","url":"https:\/\/xn--adrimadiseo-beb.com\/wp-content\/uploads\/2022\/05\/cropped-logo_adrima.png","width":450,"height":90}},"image":{"@type":"ImageObject","@id":"https:\/\/xn--adrimadiseo-beb.com\/wp-content\/uploads\/2025\/07\/how-to-add-llmstxt-in-wordpress-og-1.png","url":"https:\/\/xn--adrimadiseo-beb.com\/wp-content\/uploads\/2025\/07\/how-to-add-llmstxt-in-wordpress-og-1.png","height":1080,"width":1920},"url":"https:\/\/xn--adrimadiseo-beb.com\/uncategorized\/what-is-llms-txt-how-to-add-llms-txt-in-wordpress\/","about":["Uncategorized"],"wordCount":2349,"articleBody":"Last month, I noticed crawlers from companies like OpenAI and Google in my website analytics. My first reaction was concern: Was my content being scraped without my permission? I also worried that too many requests from AI or search crawlers might slow down my site for visitors.But then I started thinking: What if I could actually turn this into an opportunity? What if I could guide AI tools\u2014like ChatGPT\u2014to the content I want them to see?That\u2019s when I discovered something called llms.txt. It\u2019s a new file format designed to help large language models (LLMs) understand which pages on your site are most useful. This can improve how your content shows up in AI-generated answers and even help your site get mentioned as a source.In this guide, I\u2019ll show you how to create an llms.txt file using a plugin or a manual method. Whether you want more AI visibility or simply more control, this is a great way to start shaping how AI interacts with your content.What Is an llms.txt File and Why Do You Need One?An llms.txt\u00a0file is a new proposed standard that gives AI tools like ChatGPT or Claude a structured list of the website content you want them to use when generating answers.This file lets you point to your most helpful posts, tutorials, or landing pages\u2014content that\u2019s clear, trustworthy, and AI-friendly.Think of it like a welcome mat for AI. You\u2019re saying: \u201cIf you\u2019re going to use my site in your answers, here\u2019s what I recommend you look at first.\u201dThe file itself lives at the root of your site (like example.com\/llms.txt) and is written in plain Markdown. It can include links to your sitemap, cornerstone content, or anything else you\u2019d want cited.Including your sitemap ensures AI tools can find a complete index of your site\u2014even if they don\u2019t follow every link listed individually.This is part of a broader approach called Generative Engine Optimization (GEO). You might also hear it called AI content optimization or AI search visibility. The idea is to help AI models give better answers\u2014and increase the chances of your site being linked as a source.Just keep in mind that llms.txt is still an emerging format. Not all AI companies support it yet, but it\u2019s a smart step if you\u2019re looking to shape your content\u2019s role in AI search results.llms.txt vs. robots.txt: What\u2019s the Difference?You might be wondering how llms.txt compares to robots.txt, since both files deal with bots and visibility.The key difference is this:robots.txt tells crawlers what they\u2019re allowed to index and cache.llms.txt gives AI models a curated list of the content you want them to reference when generating AI-powered answers.Here\u2019s a side-by-side look:Featurerobots.txtllms.txtPurposeBlock search crawlers from accessing specific URLsHighlight your most helpful content for AI modelsHow it WorksUses User-agent and Disallow rulesUses a Markdown list of recommended linksEffect on AICan prevent AI models from accessing your site (if obeyed)May help AI models cite and summarize your best contentAdoptionWidely supported by search engines and some AI toolsStill emerging; support is limited and voluntaryFor a complete AI strategy, you can use both files at the same time. You can use llms.txt to welcome the AI bots you want, while using robots.txt to block the ones you don\u2019t.My guide will show you how to use both files to manage your AI content strategy. You can use the quick links below to jump to the method that best fits your strategy:Method 1: Create an llms.txt File Using AIOSEO (Recommended)The easiest way to create an llms.txt\u00a0file in WordPress is by using the All in One SEO plugin (AIOSEO). I recommend this method because it does all of the work for you. It automatically creates a helpful llms.txt file that guides AI crawlers to your content, and it keeps the file updated as you add new posts and pages.Step 1: Install and Activate AIOSEOFirst, you\u2019ll need to install and activate the AIOSEO plugin. For a full walkthrough, you can see our step-by-step guide on how to properly set up All in One SEO.The great news is that the llms.txt feature is enabled by default in all versions of AIOSEO, including the free version.However, since we\u2019re talking about taking full control of your content and SEO, it\u2019s worth mentioning a few powerful features you get if you upgrade to the AIOSEO Pro license. While you don\u2019t need these for llms.txt, they are incredibly helpful for growing your website traffic:Advanced Rich Snippets (Schema): The Pro version gives you more schema types, which helps you get those eye-catching rich results in Google (like reviews, recipes, or FAQs). Adding schema markup can also help your content appear in AI search. Redirection Manager: This tool makes it easy to redirect bots or users from certain pages, fix broken links, and track 404 errors. It gives you more control over how both visitors and crawlers navigate your site.So, while the llms.txt feature is free, upgrading gives you a much more powerful toolkit for managing and growing your website\u2019s presence.Step 2: Verify Your llms.txt FileBecause this feature is turned on by default, there\u2019s nothing you need to do to set it up. AIOSEO is already helping guide AI bots for you.You can see the settings by navigating to All in One SEO \u00bb General Settings and clicking the \u2018Advanced\u2019 tab. Here, the \u2018Generate an LLMs.txt file\u2019 toggle is on by default.When you click the \u2018Open LLMs.txt\u2019 button, you\u2019ll see that the file is a list of links to your content. This is exactly what you want for GEO. It\u2019s a clear signal to AI bots that you are welcoming them and have provided a helpful guide for them to follow.Just keep in mind that llms.txt is not an enforceable rule\u2014AI tools may or may not choose to follow it.Method 2: Create an llms.txt File ManuallyIf you prefer not to use a plugin, then you can still create a helpful llms.txt file manually. This approach involves creating a text file with a list of links to your most important content.Important:\u00a0Before you create a manual file, you need to make sure no other plugin is already generating one for you. If you are using AIOSEO for its other SEO features, you must first disable its default llms.txt file generator from the\u00a0All in One SEO \u00bb General Settings \u00bb Advanced\u00a0page.Step 1. Create a New Text FileFirst, you need to open a plain text editor on your computer (like Notepad on Windows or TextEdit on Mac). Create a new file and save it with the exact name llms.txt.Step 2. Add Your Content LinksNext, you need to add links to the content you want AI bots to see. The goal is to create a simple, clear map of your site using markdown headings and lists.While you can just list your most important URLs, a best practice is to organize them into sections. You should always include a link to your XML sitemap, as it\u2019s the most efficient way to show bots all of your public content.Then you can create separate sections to highlight your most important posts and pages.Here is a more structured template you can copy and paste into your llms.txt file. Just be sure to replace the example URLs with your own:# My Awesome Website## Sitemaps- [XML Sitemap](https:\/\/example.com\/sitemap.xml)## Key Pages- [About Us](https:\/\/example.com\/about-us\/)- [Contact Us](https:\/\/example.com\/contact\/)## Key Posts- [Important Guide](https:\/\/example.com\/important-guide\/)- [Key Article](https:\/\/example.com\/key-article\/)Step 3. Upload the File to Your WebsiteOnce you\u2019ve saved your file, you need to upload it to your website\u2019s root directory. This is usually named\u00a0public_html\u00a0or\u00a0www.You can do this using an FTP client or the File Manager in your WordPress hosting dashboard. Simply upload the\u00a0llms.txt\u00a0file from your computer into this folder.Step 4. Verify Your File Is LiveFinally, you can verify that your file is working correctly by visiting\u00a0yourdomain.com\/llms.txt\u00a0in your browser. You should see the list of links you just created.Bonus: How to Block AI Bots Using Your robots.txt FileWhile using llms.txt to guide AI bots is great for GEO, you may decide you want to block them instead. If your goal is to prevent AI companies from using your content for training, then the official method is to add rules to your robots.txt file.The robots.txt file is a powerful tool that gives instructions to web crawlers. For a complete overview, I recommend our full guide on how to optimize your WordPress robots.txt file.Important: Editing your robots.txt file can be risky. A small mistake could accidentally block important search engines like Google from seeing your site, which would damage your SEO. We recommend using a plugin like AIOSEO to do this safely.Method 1: Edit robots.txt Using the AIOSEO Plugin (Recommended)If you already use All in One SEO, this is the safest and easiest way to block AI bots. The plugin has a built-in robots.txt editor that prevents you from making mistakes. First, navigate to All in One SEO \u00bb Tools in your WordPress dashboard. From there, find and click on the \u2018Robots.txt Editor\u2019 tab.First, you need to click the toggle switch to enable custom robots.txt.Then you will see an editor where you can add your custom rules. To block a specific AI bot, you need to add a new rule by clicking the \u2018Add Rule\u2019 button. Then you can fill in the fields for the User-agent (the bot\u2019s name) and a Disallow rule.For example, to block OpenAI\u2019s bot, you would add:User-agent: GPTBotDisallow: \/You can add rules for as many bots as you like. I\u2019ve included a list of common AI crawlers at the end of this section. Once you\u2019re done, just click the \u2018Save Changes\u2019 button.Method 2: Edit robots.txt Manually via FTPIf you don\u2019t use a plugin, you can edit the file manually. This requires you to connect to your site\u2019s root directory using an FTP client or the File Manager in your hosting account.First, find your robots.txt file in your site\u2019s root folder and download it. Do not delete it.Next, open the file in a plain text editor. Add the blocking rules you want at the end of the file. For example, to block Google\u2019s AI crawler, you would add:User-agent: Google-ExtendedDisallow: \/After you save the file, upload it back to the same root directory, overwriting the old file.Common AI Bots to BlockHere is a list of common AI user agents you might want to block:GPTBot (OpenAI)Google-Extended (Google AI)anthropic-ai (Anthropic \/ Claude)CCBot (Common Crawl)You can add a separate block of rules for each one in your robots.txt file.FAQs About llms.txt and robots.txt in WordPressI often get questions about managing AI crawlers. Here are some of the most common ones.1. Will adding an llms.txt file affect my website\u2019s SEO?No, creating an llms.txt file won\u2019t affect your regular SEO rankings. Search engines like Google still rely on your robots.txt file and other SEO signals to decide what gets indexed and ranked.llms.txt is different. It\u2019s designed for AI tools, not search engines, and is used to support Generative Engine Optimization (GEO). While it may help AI models better understand and cite your content, it doesn\u2019t influence how your site appears in traditional search results.2. Will using an llms.txt file help me get more traffic from AI?No, using an llms.txt file isn\u2019t a guaranteed way to get more traffic from AI tools. It can help by pointing language models like ChatGPT to content you want them to see\u2014but there\u2019s no promise they\u2019ll use it or link back to your site.llms.txt is still new, and not all AI platforms support it. That said, it\u2019s a smart step if you want more control over how your content might be used in AI-generated answers.3. What is the difference between llms.txt and robots.txt?An llms.txt file acts like a guide for AI models, pointing them to the content you want them to see\u2014your most helpful posts, tutorials, or pages. It\u2019s meant to improve your GEO strategy by highlighting what\u2019s worth citing.In contrast, a robots.txt file is used to block search crawlers and AI tools from accessing specific parts of your site. You use llms.txt to say \u201clook here,\u201d and robots.txt to say \u201cdon\u2019t go there.\u201dFinal Thoughts on Managing Your Content\u2019s FutureThe world of AI and Generative Engine Optimization is changing fast. So, I recommend checking in on your strategy every few months.A bot you block today could be a major source of traffic tomorrow, so being ready to adapt is key. You can always switch from blocking to guiding (or vice-versa) as your business goals evolve.I hope this guide has helped you make an informed decision about the future of your content in the world of AI. If you found it useful, you might also like our other guides on growing and protecting your site:If you liked this article, then please subscribe to our\u00a0YouTube Channel\u00a0for WordPress video tutorials. You can also find us on\u00a0Twitter\u00a0and Facebook.                                                                                                                                                                                                                                                                                                                                                                        "},{"@context":"https:\/\/schema.org\/","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Uncategorized","item":"https:\/\/xn--adrimadiseo-beb.com\/uncategorized\/#breadcrumbitem"},{"@type":"ListItem","position":2,"name":"What Is llms.txt? How to Add llms.txt in WordPress","item":"https:\/\/xn--adrimadiseo-beb.com\/uncategorized\/what-is-llms-txt-how-to-add-llms-txt-in-wordpress\/#breadcrumbitem"}]}]