AI search fix
How to add llms.txt on WordPress
To add llms.txt on WordPress, create a plain text file at the domain root (/llms.txt), include a clear site summary with links to key public pages, and confirm it returns HTTP 200. Then verify your robots.txt and security plugins are not blocking the AI crawlers you want to allow. WordPress can serve different robots behaviour through plugins and cache layers, so test the live output after every change. llms.txt supports orientation, but it does not guarantee mentions in AI answers or Google AI Overviews.
A common WordPress issue is publishing llms.txt correctly while Wordfence, Cloudflare, or plugin rules still challenge AI bot traffic. Validate access and content together. Re-check after plugin or theme updates to prevent regressions.
Add llms.txt on WordPress in five steps
- Create the file with H1, one-line summary, and markdown links to priority pages.
- Upload or route it so it resolves at https://yourdomain.com/llms.txt.
- Confirm public 200 response and no redirect loops.
- Review SEO/security plugins and edge firewall rules for AI bot blocks.
- Re-check after plugin or theme updates to prevent regressions.
You'll get an HTML report on /llms.txt, robots policy, and common WordPress AI-crawl blockers.
Run the diagnosticRelated questions
Updated
