Linux 软件免费装
Banner图

One-V LLM Serve – Markdown for AI, llms.txt & AI Bot Analytics

开发者 onevteam
vslnk
更新时间 2026年11月25日 19:49
捐献地址: 去捐款
PHP版本: 8.0 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

markdown llm llms-txt ai-crawlers ai-agents

下载

1.0.2 1.1.0 1.1.1 1.1.2 1.2.0

详情介绍:

One-V LLM Serve gives AI agents and LLMs (ChatGPT, Claude, Perplexity, Gemini, Google AI Overviews) a clean Markdown copy of every public page on your WordPress site. It also keeps an llms.txt file up to date and shows you which AI bots actually read your content. No configuration, no account, and nothing is sent to outside services. https://example.com/about/ ← HTML page for humans https://example.com/about.md ← clean Markdown for AI AI systems and most RAG pipelines parse Markdown far more efficiently than HTML. When these systems encounter an HTML page, they must strip navigation, headers, footers, sidebars, scripts, and tracking pixels before they can read the actual content. This noise introduces errors, increases token cost, and leads to lower-quality outputs. The Markdown file contains a configurable YAML frontmatter block followed by the page title, headings in correct hierarchy, and the body text. Nothing else. Three tools in one plugin Works with your stack Core features Discoverability Operations Developer hooks How it works Each request to /about.md is captured by a WordPress rewrite rule and routed through the plugin's content generator. The generator runs the post through apply_filters( 'the_content', ... ) — the same pipeline WordPress uses on the front end — so Classic Editor, Gutenberg, and shortcodes all work without separate code paths. The rendered HTML is converted to Markdown via league/html-to-markdown, then cached in a WordPress transient. The cache is invalidated automatically on save_post, on ACF field/group changes, and whenever plugin settings are saved. A manual Clear cache button is also available on the settings page. Access methods There are three equivalent ways to request the Markdown version of a page: The .md URL is the recommended canonical form. ACF integration When Advanced Custom Fields is active, ACF field rendering is opt-in at two levels:
  1. Site defaults per post type — at Settings → One-V LLM Serve → ACF Defaults, tick fields that should be appended to every post of a given post type.
  2. Per-post override — the One-V LLM Serve metabox on each post editor lists every supported ACF field applicable to that post. Tick fields to replace the site defaults for that one post.
Supported ACF types: text, textarea, wysiwyg, url, email, link. Each selected field is rendered under a ## Field Label heading. Empty fields are skipped.

安装:

  1. Upload the one-v-llm-serve folder to /wp-content/plugins/, or install via Plugins → Add New → Upload Plugin.
  2. Activate the plugin through the Plugins screen in WordPress.
  3. Visit Settings → One-V LLM Serve to configure post types, frontmatter fields, and ACF defaults.
Rewrite rules are flushed automatically on activation. If .md URLs return 404 immediately after activation, go to Settings → Permalinks and click Save Changes.

屏幕截图:

  • **Auto-generated llms.txt:** your own summary, the home page first, and every page and post with its description and a link to its Markdown copy, rebuilt on every content change.
  • **AI bot analytics:** Markdown visits by AI bots, search bots, other bots and browsers over time, with filters by bot type, source, status and post type.
  • **Leaderboards:** the most active bots (GPTBot, ClaudeBot, PerplexityBot, ChatGPT-User…), the pages they read most, and the AI chat services and search engines that refer visitors.
  • **User-Agents:** every User-Agent seen, with its classification, and how much "browser" traffic is real people versus headless browsers, scripts and spoofers.
  • **Dashboard widget:** 30-day Markdown visits and the top bots on the WordPress dashboard.
  • **Settings:** Markdown, llms.txt, llms-full.txt and analytics switches, bot verification, frontmatter fields, and the name and summary your llms.txt opens with.

升级注意事项:

1.2.0 Markdown pages can now be cached by your host or CDN for up to 10 minutes. On Kinsta, keep the .md and .txt CDN exclusion. 1.1.2 Security release: password-protected and members-only content could reach the Markdown, /llms.txt or the shared cache, and robots.txt could re-open .md to bots you had blocked. Update recommended.

常见问题:

What is llms.txt, and what are the .md pages for?

llms.txt is a proposed standard (llmstxt.org): a plain-text index at the site root that tells AI tools which pages matter and where to find a clean version of each. The plugin builds it from your published content and links every entry to that page's Markdown copy at the .md URL. AI agents that fetch the Markdown get the content without menus, scripts and ads.

Will this get my site cited by ChatGPT, Claude or Perplexity?

No plugin can guarantee that. AI services decide for themselves what to crawl and cite. What the plugin does is make your content easy and cheap for them to read, and its analytics show you which AI bots actually fetch it and which AI services refer visitors to your Markdown.

Does it conflict with the llms.txt from Yoast SEO, Rank Math or All in One SEO?

Keep one llms.txt generator switched on. With Generate llms.txt off, this plugin doesn't answer /llms.txt at all, so the other plugin's file works, and the .md pages keep working. Some plugins write a real llms.txt file to the site root; the web server then serves that file before WordPress runs. In disk mode the plugin never overwrites an llms.txt it did not write: the settings page reports the conflict instead.

How do I check that it works?

Open any published page with .md added to its address (/about/ → /about.md), and open /llms.txt on your site. The View .md link in the post list and in the editor opens a post's Markdown directly. Visits by AI bots appear under One-V LLM Serve → Analytics.

Is it free? Does it send data anywhere?

Yes, it's free, with no account, upsell or external service. Markdown, /llms.txt and analytics are generated and stored on your own server. The one exception is opt-in: Verify bot identity asks DNS whether a visitor claiming to be a known crawler really comes from that crawler's network.

Does activating the plugin change my existing pages?

No. The plugin only responds to .md URLs, /llms.txt, and the ?format=markdown query parameter. All existing HTML URLs are unaffected.

Will the .md URLs hurt my SEO?

No. .md responses carry X-Robots-Tag: googlebot: noindex, follow, with the same line for Bingbot, Yandex, Baidu, Applebot and other search engines, so they keep the Markdown out of their results and the HTML page stays the only entry. AI crawlers find no rule addressed to them and read the Markdown. The Link: rel="alternate"; type="text/markdown" header on each HTML page advertises the Markdown to AI tools.

Does it work with password-protected posts?

No. Password-protected and private posts return 404 on the .md URL. Only published posts are served.

What Markdown flavour is used?

CommonMark-compatible Markdown via league/html-to-markdown. ATX-style headings (#), inline links ([text](url)), and fenced code blocks.

Where is the Markdown cached?

In WordPress transients (database by default, or your object cache). Entries are invalidated when the post is saved, when ACF fields or settings change, or when you click Clear cache — a long safety-net expiry also lets any orphaned entry clear itself on object-cache setups.

The .md URL returns 404 after activation.

Go to Settings → Permalinks and click Save Changes to flush rewrite rules.

Can I disable Markdown for specific posts?

Yes. Two ways:

  1. Check Exclude from Markdown in the One-V LLM Serve metabox on the post editor.
  2. Return '' from an ovls_markdown filter callback.

Does it work with page builders like Elementor or Divi?

Yes. Any builder that hooks into the_content is supported (Elementor, Divi, WPBakery, Beaver Builder). For builders that bypass the_content, the plugin falls back to fetching the rendered frontend HTML and extracting the main content area.

Is it compatible with caching plugins?

Yes. Markdown is stored in WordPress transients. Object caches (Redis, Memcached) work transparently — and Clear cache correctly invalidates them, not just the database. Full-page caching plugins (WP Rocket, LiteSpeed Cache, W3 Total Cache, Breeze, WP-Optimize and others) are told not to store .md responses or /llms.txt. Host and CDN caches may keep a .md response for up to 10 minutes (see the next question).

The .md URLs return 403 Forbidden

A security plugin or server rule is denying every URL that ends in .md, before WordPress sees the request. Common causes are Defender's "Prevent Information Disclosure" tweak and similar hardening rules on Apache (a FilesMatch block listing md in .htaccess), or a custom nginx rule. Remove md from that rule, or add an exception for it. The plugin's .md URLs are virtual: no real Markdown files are exposed on disk. Until then, ?format=markdown on the page's regular URL serves the same Markdown.

Does it work with WPML, Polylang, TranslatePress or Weglot?

WPML and Polylang are fully supported: each translation gets its own .md URL in its own language, /llms.txt lists every translation, and the frontmatter carries the right lang. TranslatePress and Weglot translate the page HTML as it is sent to the browser. The Markdown is built from the content itself, so it is always in the site's original language, and no translated .md URLs are provided. Weglot's translated addresses (/fr/about.md) are not supported.

/llms.txt returns 404 on WPEngine / Kinsta / managed nginx hosts

Some managed WordPress hosts configure their nginx to serve static file extensions (.txt, .xml, …) directly from disk without passing the request to WordPress. When the file is generated dynamically by a plugin, that produces a 404 because nothing exists on disk. Fix: enable Settings → One-V LLM Serve → Write llms.txt to disk. The plugin then maintains a real /llms.txt file at the site root, regenerating it on every post save, ACF change, or settings update. The file starts with a "Generated by One-V LLM Serve" marker line; the plugin refuses to overwrite a /llms.txt it did not create. On plugin deletion the managed file is removed via uninstall.php.

Does disk-mode work on WordPress installed in a subdirectory or on multisite?

Not currently. The disk-mode writer assumes WordPress is installed at the site root (ABSPATH is the public root). Subdirectory installs (/wp/) and multisite are not supported by disk-mode yet — for those, the dynamic rewrite-rule path is still available on hosts where nginx forwards .txt requests to PHP (most hosts other than WPEngine/Kinsta).

Can my host or CDN cache the .md pages?

Yes, for 10 minutes. A .md response is the same for every visitor and every bot, and is sent with Cache-Control: public, max-age=0, s-maxage=600, so host caches (WP Engine and others) and CDNs may keep it that long. This takes load off PHP: a crawler reading many pages no longer hits the host's rate limit for uncached requests. Edits and unpublished pages reach the cached copy within those 10 minutes. Responses that not everyone would get stay private: for visitors with a login or shop cookie, for a crawler or address let through a maintenance mode, and on sites set to discourage search engines (most staging sites). Two things to watch:

  • Cloudflare "Cache Everything" with an Edge TTL. A page rule or cache rule that sets its own Edge Cache TTL overrides the 10 minutes, and edits stay invisible to AI crawlers for that long. Set the rule to respect the origin's headers, or exclude *.md from it.
  • Kinsta. Kinsta's CDN keeps .md and .txt files for up to a year. Open MyKinsta → Sites → your site → Caching → CDN → Exclude files from CDN and add the extensions .md and .txt (an exclusion of the path /llms.txt does not take effect). The plugin's settings page shows these steps and checks the result for you.
Analytics counts only the requests that reach WordPress, so with a cache in front the numbers are approximate.

Which pages does llms.txt list, and in what order?

Every published post, page and custom post type you enabled, except posts marked Exclude from Markdown, posts hidden from search in your SEO plugin, and the privacy policy page (and WooCommerce's terms page). The home page and the blog page come first, then pages with a menu order, then the rest by title. On WPML and Polylang sites each language gets its own sections after the default language. Each entry shows the post's excerpt, or its meta description from Yoast SEO, Rank Math, SEOPress or All in One SEO. Developers can reorder or drop entries with the ovls_llms_txt_posts and ovls_llms_txt_exclude filters.

What is llms-full.txt?

An optional second file, switched on at One-V LLM Serve → Settings → llms.txt. It holds the full Markdown of every page listed in /llms.txt, for tools that read a whole site in one request. It is rebuilt in the background a minute after content changes, capped at 5 MB, and served at /llms-full.txt. With Write llms.txt to disk on, it is written to the site root as well. On sites where WP-Cron doesn't run, build it with wp ovls llms-full.

What does the AI bot analytics feature collect?

For each .md request the plugin stores: the timestamp, the User-Agent string (deduplicated via a small dictionary table — one row per unique UA), the referrer hostname only (path and query string are stripped), the requested post or term and its post type / taxonomy, the post language, and the HTTP response code (200 or 304). Never stored: IP addresses, cookies, session identifiers, geolocation, full referrer URLs with query strings, or any user-account data. Counts visits exclusively to .md URLs — the regular HTML pages are not tracked. With Verify bot identity on, a request claiming to be a crawler with published DNS names (Googlebot, Bingbot, Applebot, Amazonbot, YandexBot and others) is checked the way Google and Bing document it: the address must resolve to the operator's domain and back. Only the verdict is stored with the event; the address is not. Detailed per-hit events are kept for the number of days you choose in Settings (default: 365). Older events can optionally be rolled up into a daily aggregate table for long-term trend charts — the aggregate keeps only daily counts by bot, client kind, language, referrer type, response code and post type, with no per-UA or per-post detail. Daily WP-cron ovls_events_cleanup enforces the retention. Analytics is enabled by default and can be turned off at One-V LLM Serve → Settings. All stored data can be wiped at One-V LLM Serve → Analytics → Reset analytics. Uninstalling the plugin drops the three analytics tables (ovls_events, ovls_ua_dict, ovls_events_archive) completely.

Why doesn't my analytics show every AI bot that visits?

The plugin classifies crawlers by their User-Agent header. Almost all major AI companies (OpenAI, Anthropic, Perplexity, Google, Apple, Amazon, Meta, ByteDance, Cohere, Mistral, Common Crawl, …) honestly self-identify because they have publicly committed to respecting robots.txt. Those are detected accurately. However, some traffic is invisible to User-Agent-based detection:

  • Stealth crawlers that spoof a regular browser User-Agent (some training-data brokers, certain less-ethical scrapers).
  • Agentic browsers like OpenAI Operator or Claude/Claude-Browse running an actual headless Chrome — technically indistinguishable from a human visit at the header level.
  • AI assistants that ingest a page through an integrated third-party fetcher (e.g. a python-requests script) — these show up under "Other bot" rather than the underlying model.
For these the plugin records what it can — they will appear in the "Other bot" bucket or the "Browser" bucket with a sub-classification that flags the request as a Playwright-class headed agent, a script agent, or a UA-shape spoofer rather than a real user. The plugin's bot signature list is updated each release as new identifiers are publicly documented.

How do you tell a real human from a scraper that imitates a browser User-Agent?

By looking at request headers that real browsers emit automatically and bare HTTP clients usually don't. Specifically:

  • Sec-Fetch-User: ?1 — present only when the navigation was triggered by user activation (link click, address-bar Enter, tap-out from an AI app to the system browser). Programmatic navigation in Playwright/Puppeteer doesn't set it.
  • Sec-CH-UA brand list — a real downstream browser (Chrome, Edge, Brave, Opera, Vivaldi, Yandex, Samsung Internet, Arc, DuckDuckGo) announces its brand here. The open-source Chromium build that Playwright runs by default does not — it identifies as bare "Chromium". Detectable difference.
  • Sec-Fetch-Site — sent by every modern browser since Safari 16.4 (March 2023). Absence indicates the request didn't come from a browser engine at all.
  • User-Agent shape — Chrome ≥ 110 must report Chrome/X.0.0.0 (User-Agent Reduction); a UA claiming Chrome/133.0.6943.141 with non-zero minor digits is impossible for a real browser and flags the request as a copy-pasted scraper UA.
Combined, these four signals split the "Browser" bucket into verified user, headed agent (real Chromium under automation), script agent (curl/httpx/requests imitating a UA), and spoofer (impossible UA shape). None of this requires JavaScript or cookies — it's all server-side inspection of the HTTP request the client already sent. A motivated scraper can manually set these headers to bypass detection. The classifier doesn't claim to catch every bot ever — it catches default-configuration tools, which is the vast majority.

Is the analytics feature GDPR-compliant?

The events store no personal data — no IP addresses, no user identifiers, no cookies, no full referrer URLs (the path and query string are stripped before storage, so utm parameters or any PII that might be encoded in a URL never reach the database). User-Agent strings, Fetch Metadata Request Headers (Sec-Fetch-Site, Sec-Fetch-User), and User-Agent Client Hints (Sec-CH-UA) are technical request-level metadata used to classify automated crawlers and tell browser-class clients apart from script-class clients — they carry strictly less information than the User-Agent and don't, on their own or in combination, identify a person. The plugin relies on legitimate-interest (Art. 6(1)(f)) as the lawful basis — server-side bot analytics is widely accepted as a legitimate interest, and the suggested privacy text at Tools → Privacy discloses precisely what is collected so it can be copied into your site policy. If your jurisdiction requires explicit user disclosure for any server-side analytics, you can turn the feature off at One-V LLM Serve → Settings.

更新日志:

1.2.0 1.1.2 Security and reliability release. Update recommended. 1.1.1 1.1.0 Major feature release: AI-traffic analytics and stronger crawler-facing HTTP semantics. Highlights: 1.0.2 1.0.1 1.0.0