How to Add LLMs.txt to WordPress

Three ways to get your llms.txt file live on WordPress

Quick summary: Generate your llms.txt file with our tool, then upload it to your WordPress root directory so it is accessible at yoursite.com/llms.txt.

Method 1: Upload via File Manager (Easiest)

  1. Generate your llms.txt file using our free tool
  2. Download the file
  3. Log in to your hosting control panel (cPanel, Plesk, etc.)
  4. Open the File Manager and navigate to your WordPress root directory (usually public_html)
  5. Upload llms.txt to the root — same folder as wp-config.php
  6. Visit yoursite.com/llms.txt to confirm it loads

Method 2: FTP Upload

  1. Generate and download your llms.txt file
  2. Open your FTP client (FileZilla, Cyberduck, or your host's file manager)
  3. Connect to your server using FTP credentials from your hosting provider
  4. Navigate to the WordPress root directory
  5. Drag llms.txt into the root folder
  6. Verify the file is accessible at yoursite.com/llms.txt

Method 3: Using a Plugin

If you prefer not to handle files directly, you can use a simple plugin approach:

  1. Install the "File Manager" plugin (or any file manager plugin) from the WordPress plugin repository
  2. Generate your llms.txt file with our tool
  3. Open the plugin's file manager and navigate to the root directory
  4. Create a new file named llms.txt and paste your content
  5. Save and verify at yoursite.com/llms.txt

Troubleshooting

404 Error when visiting /llms.txt

Your server may not serve .txt files from the root. Check your .htaccess file or ask your host to enable plain text file serving.

WordPress redirects /llms.txt to a page

Add this to your .htaccess above the WordPress rules: RewriteRule ^llms\.txt$ - [L]

File uploads are blocked

Check your host's file permissions. The root directory should be writable. Contact your host if you cannot upload files.

Keep It Updated

Whenever you add new pages, change services, or restructure your site, regenerate your llms.txt file and re-upload it. We recommend reviewing it quarterly at minimum.

Ready to create your file?

Generate Your LLMs.txt