WebDigit LLMs Index Suite

外掛說明

WebDigit LLMs Index Suite makes your WordPress site GEO / AI-SEO ready by publishing compact, machine-readable indexes for AI agents.

Key features
Synchronized trio: llms.txt, llms-full.txt, llms.json
Image inventory: images.md (Markdown table) + images.jsonld (ImageObject)
Public URLs: /llms.txt (root) and /llms/* (virtual directory)
REST API with caching: GET /wp-json/wdlis/v1/index, GET /wp-json/wdlis/v1/images (ETag + 304)
Automation: cron every 6h + WP-CLI (wp llms-suite regenerate)
Controls: include post types, exclude URL patterns, image MIME filters, customizable license meta key
Security: Only published content is indexed (drafts, private posts excluded)
Developer hooks: wdlis_index_query_args, wdlis_index_entries, wdlis_images_query_args, …

Storage & exposure
– Files are written to /wp-content/uploads/llms/.
– Public exposure is clean: /llms.txt (root) and /llms/<file> served via rewrite rules (no write needed at web root).

Why this matters (GEO / AI-SEO)
Generative engines and AI copilots prefer clean, structured sources. This plugin publishes a compact text index plus a first-class image inventory to help LLMs discover and summarize your content reliably.

This plugin does not modify your existing robots.txt or sitemaps and does not call external APIs.

Developer Notes

Filters
/**
* Adjust the WP_Query for index entries.
*/
apply_filters( ‘wdlis_index_query_args’, array $args ): array;

/**
* Final pass on index entries before output.
* Each entry: [‘url’ => string, ‘title’ => string, ‘lastmod’ => string]
*/
apply_filters( ‘wdlis_index_entries’, array $entries ): array;

/**
* Adjust the WP_Query for image entries (attachments).
*/
apply_filters( ‘wdlis_images_query_args’, array $args ): array;

/**
* Decide if a URL/file should be included after pattern checks.
*/
apply_filters( ‘wdlis_index_url_should_include’, bool $include, string $url, int $post_id, string $matched_pattern ): bool;
apply_filters( ‘wdlis_images_should_include’, bool $include, string $filepath, int $attachment_id, string $matched_pattern ): bool;

REST

GET /wp-json/wdlis/v1/index JSON (with ETag headers)

GET /wp-json/wdlis/v1/images JSON-LD ItemList (with ETag headers)

Privacy

This plugin:

does not collect personal data,

does not transmit data to remote servers,

writes only static helper files to /wp-content/uploads/llms/.

Site owners are responsible for the accuracy of license metadata on images and for excluding private/PII content via settings.

安裝方式

  1. Upload the plugin folder to /wp-content/plugins/ (or clone it there).
  2. Activate LLMs.txt Suite from Plugins.
  3. Go to Settings LLMs.txt Suite and click Generate now.
  4. Verify public URLs:
    • https://example.com/llms.txt
    • https://example.com/llms/llms-full.txt
    • https://example.com/llms/llms.json
    • https://example.com/llms/images.md
    • https://example.com/llms/images.jsonld

常見問題集

Where are files stored?

In /wp-content/uploads/llms/. Public routes expose them at /llms.txt (root) and /llms/* (virtual directory).

Does this plugin change robots.txt or XML sitemaps?

No. It only reads public content and writes its own helper files. Your SEO stack remains unchanged.

How do I include or exclude content?

In Settings:
– Select post types to include.
– Add exclude URL patterns (one per line, e.g. /tag/, /author/).
– For images, pick MIME types and optionally exclude folders (e.g. /cache/, /tmp/).

What about image licenses?

Set the License meta key (default license). If present on an attachment, it will be surfaced in images.md and images.jsonld.

Can I trigger generation via CLI or schedule it?

Yes. Cron runs automatically every 6 hours. WP-CLI:
wp llms-suite regenerate [–only=index|images|all] [–force]

Does it work on Multisite?

Network install is supported; generation runs per site. (A network “super-index” is planned for a future version.)

Does it phone home or collect data?

No telemetry and no external requests. All processing happens locally.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈WebDigit LLMs Index Suite〉的開發相關工作。

參與者

將〈WebDigit LLMs Index Suite〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

0.1.0

MVP: llms.txt, llms-full.txt, llms.json, images.md, images.jsonld

Public URLs (/llms.txt, /llms/*), REST (ETag), cron (6h), WP-CLI

Options (include/exclude), developer hooks