aicrawlable

How to add llms.txt to WordPress

WordPress doesn't ship an llms.txt feature, but the file is just static text that has to live at your site root (https://yoursite.com/llms.txt). Here are the three reliable ways to put it there — pick the one that matches your hosting.

First, generate the file. Paste your WordPress URL and get a spec-compliant llms.txt built from your real pages — free, no signup.

Generate my llms.txt →

Method 1 — Host file manager (easiest)

  1. Open your host's control panel (cPanel, Plesk, SiteGround, Hostinger, etc.) and launch the File Manager.
  2. Go to the WordPress root — usually public_html/ (the folder containing wp-config.php).
  3. Upload your llms.txt file there.
  4. Visit yoursite.com/llms.txt to confirm it loads.

Method 2 — FTP / SFTP

Connect with FileZilla or Cyberduck using the SFTP credentials from your host, navigate to the site root (the directory with wp-config.php), and drag llms.txt into it. Same result as the file manager, handy if you already deploy this way.

Method 3 — Plugin (no server access)

On managed hosts (WordPress.com Business, some WP Engine plans) you may not have file access. A dedicated "llms.txt" plugin can serve the file virtually at the root. Paste in the content you generated, save, and it answers requests to /llms.txt without touching the filesystem. Trade-off: the plugin must stay active, and you re-paste content yourself when it changes.

Common mistakes

Skip the hand-writing — generate llms.txt and llms-full.txt from your WordPress URL, edit, then upload.

Try the free llms.txt generator →

Related: How to create llms.txt · llms.txt for Shopify · llms.txt examples · vs robots.txt