Contact Now

Name
Edit Template

Contact Now

Name
Edit Template

What is llms.txt and How to Add it in WordPress (Simple Guide)

Recently, I noticed something interesting in my website analytics: crawlers from companies like OpenAI and Google were visiting my site.

At first, I was worried—

  • Is my content being scraped without permission?
  • Will too many AI bot visits slow down my site?

But then I discovered a new opportunity: llms.txt.

This simple file can guide AI tools (like ChatGPT, Claude, or Gemini) to the content you want them to read and potentially cite. It’s like rolling out a welcome mat for AI while pointing them to your best pages.

In this guide, we’ll cover:

  • What is llms.txt?
  • How it’s different from robots.txt
  • How to add it in WordPress (plugin & manual method)
  • How to block AI bots if you want

🔍 What is an llms.txt File?

The llms.txt file is a new format designed for Large Language Models (LLMs). It tells AI crawlers which parts of your site are most relevant, trustworthy, and worth using in AI-generated answers.

Think of it as a content guide for AI. For example:

“If you’re going to use my site in answers, start with these pages.”

The file usually lives at:

LLM txt file

It can include:

  • A link to your XML sitemap
  • Your most important articles, guides, or pages
  • Any content you want AI to notice first

This is part of Generative Engine Optimization (GEO) — helping AI models present your site better in their responses.

🤔 llms.txt vs robots.txt: What’s the Difference?

Both files deal with bots, but they serve different purposes:

Featurerobots.txtllms.txt
PurposeBlocks crawlers from certain pagesGuides AI to your best pages
FormatUser-agent & Disallow rulesMarkdown list of links
Effect on AICan block AI from accessing your siteHelps AI know what to reference
AdoptionWidely supported by search enginesNew & still evolving

💡 Tip: You can use both. Let robots.txt block unwanted bots, and let llms.txt guide the bots you welcome.

🛠 How to Add llms.txt in WordPress

You can create llms.txt in two ways:

  • Method 1: Using a plugin (Easy)
  • Method 2: Manually uploading the file

Method 1: Using AIOSEO Plugin (Recommended)

The All in One SEO (AIOSEO) plugin now supports llms.txt by default.

Steps:

  1. Install and activate AIOSEO.
  2. Go to All in One SEO → General Settings → Advanced Tab.
  3. Make sure the toggle “Generate LLMs.txt file” is turned ON.
  4. Click “Open LLMs.txt” to view your file.

✅ Done! Your site now has an AI-friendly llms.txt automatically updated as you publish new content.

Method 2: Creating llms.txt Manually

If you don’t want to use a plugin, you can create the file yourself.

Steps:

  1. Open Notepad (Windows) or TextEdit (Mac).
  2. Create a file named llms.txt.
  3. Add your content links. Example:
Creating llms.txt Manually

Upload the file to your site’s root directory (public_html) via FTP or File Manager.

Check by visiting https://yoursite.com/llms.txt.

🚫 Bonus: Blocking AI Bots (Using robots.txt)

If you don’t want certain AI bots to use your content:

  • Open AIOSEO → Tools → Robots.txt Editor
  • Add rules like:
Bonus Blocking AI Bots (Using robots.txt)

You can add more bots (Claude, CCBot, etc.) as needed.

❓ FAQs

1. Does llms.txt affect SEO rankings?
No. It’s for AI models, not Google Search rankings.

2. Will llms.txt bring more AI traffic?
Not guaranteed. But it increases your chances of AI citing your site.

3. Can I use llms.txt and robots.txt together?
Yes! llms.txt guides bots you want, robots.txt blocks the ones you don’t.

🎯 Final Thoughts

AI and Generative Engine Optimization are still evolving.
Adding llms.txt today is like early SEO—it positions you ahead of others.

You can:

  • Guide AI (llms.txt)
  • Block unwanted bots (robots.txt)
  • Review your strategy every few months

👉 Whether you welcome AI bots or block them, at least you’re in control.

Leave a Reply

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

Download Brochure Now

Most Recent Posts

Category

Contact Now!

Name

    FSIDM is India’s most practical digital marketing institute focused on full-stack training — from SEO, PPC, and SMM to freelancing, startup support, and AI-powered tools — all guided by industry experts.

    Quick Links

    © 2025 Powered by USSOL DIGIGROWTH (OPC) PRIVATE LIMITED & Partner with Unity Sangam