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)
- Generate your llms.txt file using our free tool
- Download the file
- Log in to your hosting control panel (cPanel, Plesk, etc.)
- Open the File Manager and navigate to your WordPress root directory (usually
public_html) - Upload
llms.txt to the root — same folder as wp-config.php - Visit
yoursite.com/llms.txt to confirm it loads
Method 2: FTP Upload
- Generate and download your llms.txt file
- Open your FTP client (FileZilla, Cyberduck, or your host's file manager)
- Connect to your server using FTP credentials from your hosting provider
- Navigate to the WordPress root directory
- Drag
llms.txt into the root folder - 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:
- Install the "File Manager" plugin (or any file manager plugin) from the WordPress plugin repository
- Generate your llms.txt file with our tool
- Open the plugin's file manager and navigate to the root directory
- Create a new file named
llms.txt and paste your content - 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.