Get your WordPress ready for AI agents
RanksFactor IA publishes the files AI agents look for when they read a site: llms.txt, llms-full.txt and a Markdown version of every public page. Free, no account, and nothing leaves your server.
WordPress 6.2 or later · PHP 7.4 or later · Tested up to WordPress 7.1 · License GPLv2 or later
2fa38042bc24081924298735bdfb5dba7c63a988cf4b21b8c81f84ff936742f2What it publishes
/llms.txtIndex for agents
A curated Markdown index of your public content, following the llms.txt convention. You choose which post types go in.
/llms-full.txtAll content in one file
The Markdown body of those documents, one after another. Built in the background and cached in the uploads folder.
?md · .mdEvery page in Markdown
Any public page, post or archive can be read as Markdown with ?md or a .md suffix. When you turn it on, also with Accept: text/markdown.
/agents.mdInstructions for agents (optional)
Points agents at llms.txt and the Markdown URLs. Use the generated guide or write your own.
Install
It installs like any other plugin. No ranksfactor account needed.
- 1Download the ZIP from this page.
- 2In WordPress, go to Plugins → Add New → Upload Plugin, choose the ZIP and click Install Now.
- 3Activate RanksFactor IA. Pretty permalinks are recommended (Settings → Permalinks).
- 4Open RanksFactor IA in the menu and choose which post types belong in llms.txt.
Check
Open your llms.txt and append ?md to any public page. Both should come back as text, not HTML.
https://yoursite.com/llms.txt
https://yoursite.com/about/?mdIf a physical llms.txt already exists in the WordPress root, the web server serves that file instead of the plugin: move it aside. The plugin's Diagnostics tab reports this.
Google and privacy
The HTML page stays canonical
Generated files send noindex and a canonical link back to the HTML page. Markdown is not added to sitemaps and does not compete in Google.
Nothing leaves your server
It does not call any AI provider, does not track visitors and sends no data to ranksfactor or anyone else. Everything is built in your WordPress.
Public content only
Drafts, private and password-protected content and attachments are never included. You can exclude any post or term from the editor.
Respects your SEO plugin
If Yoast SEO, Rank Math, SEOPress, All in One SEO or The SEO Framework mark a page noindex, it is left out. So are products hidden from the WooCommerce catalog.
FAQ
Do I need a ranksfactor account?
No. The plugin runs entirely in your WordPress and does not connect to ranksfactor.
Does it conflict with Yoast, Rank Math or another llms.txt?
It can. Only one plugin should answer /llms.txt. Diagnostics names the SEO plugins it recognizes: turn off llms.txt here and keep Markdown, or turn off the other generator. The X-Generated-By: RanksFactor IA header identifies files produced here.
Why does llms-full.txt return 503 the first time?
It is built in batches by WP-Cron so a large site does not exhaust a single request. The first request schedules the job and returns 503 with Retry-After; later requests serve the cached file. If DISABLE_WP_CRON is set, use Rebuild in Diagnostics or wp ranksfactor-ia regenerate --full.
I use Nginx. Anything to change?
Requests for .txt files must reach WordPress (PHP). A location that serves unknown .txt files as static files bypasses the plugin.
Does it affect normal visitors?
No. Accept negotiation is off by default. When on, Markdown is returned only when the client prefers it over HTML, with Vary: Accept. ?md and .md are separate URLs.
Multilingual and multisite?
Yes. With WPML and Polylang, llms.txt follows the current language and each document carries its language in the front matter. On multisite, each site has its own settings and files.
Classic editor and page builders?
Yes. Block content is converted block by block; classic content, shortcodes and page builders can be rendered through the_content before the HTML is converted to Markdown.
Developers
WP-CLI commands and filters to adapt what gets published. The plugin's REST routes require manage_options (Markdown preview requires edit_post).
wp ranksfactor-ia status
wp ranksfactor-ia regenerate
wp ranksfactor-ia regenerate --full
wp ranksfactor-ia export <id>
wp ranksfactor-ia export --url=<permalink>
wp ranksfactor-ia flush-cacherfia_settingsrfia_can_expose_postrfia_is_noindexrfia_llms_txt_sectionsrfia_llms_txt_outputrfia_llms_full_documentrfia_markdown_frontmatterrfia_markdown_outputrfia_markdown_urlrfia_block_to_markdown_{block}rfia_full_batch_sizerfia_full_max_docsSee what AI sees on your site
AI Score gives you a 0–100 score of whether an agent can discover, read and use your site: run it before and after installing the plugin. And AI visibility shows whether ChatGPT, Gemini, Perplexity and Claude name you.