Linux 软件免费装
Banner图

Markdown Mirror for WooCommerce

开发者 abdalsalaam
更新时间 2026年7月16日 20:34
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce markdown products ai agents machine readable

下载

1.0.0

详情介绍:

Markdown Mirror for WooCommerce serves a plain Markdown copy of each WooCommerce product page at the product URL plus a .md suffix. AI agents and crawlers that prefer token-light text get the same facts your product page shows, ordered so the decision-relevant data comes first: identifiers, specifications, price, availability, variants. Example: https://example.com/product/ceramic-dripper/ also serves https://example.com/product/ceramic-dripper.md. What each mirror contains Sections with no data are omitted, never padded. Every mirror sends a canonical Link header pointing at your HTML page and an X-Robots-Tag: noindex header, so the mirror never competes with your product page in search. Each product page also gets one rel="alternate" link tag so agents can discover the mirror. Taxonomy mirrors Product categories (including hierarchical paths like /product-category/clothing/shirts.md), brands, and tags get .md mirrors of their archive pages too, each behind its own toggle. Each term mirror carries the term name and description, subcategories with their own mirror links, and a paginated product list (100 per page at /page/2.md, /page/3.md, and so on, with previous/next links stated in the document; never silent truncation). Term mirrors follow archive visibility rules, so catalog-hidden products stay out, exactly as on the archive page itself. Because terms carry no honest modified date, term mirrors send no Last-Modified header and print no fabricated freshness date. You choose what mirrors carry Everything is on by default. In WooCommerce, Settings, Products, Markdown mirrors you can switch off any product mirror section (identifiers, classification, specifications, price, availability, variants, reviews, images, short description, full description) and any taxonomy mirror group. Sections with no data are always omitted automatically. What this plugin never does Requirements For developers

屏幕截图:

  • A product mirror served as text/markdown in the browser.
  • A category mirror with its paginated product list in the browser.

升级注意事项:

1.0.0 Initial release.

常见问题:

Where is my product's mirror?

Take the product page URL, remove the trailing slash, and add .md. The product page's HTML head also carries a link rel="alternate" type="text/markdown" tag pointing at it.

Does this plugin send my data anywhere?

No. It makes zero remote requests. Everything is generated inside your site and served from your site.

Will this improve my AI or search rankings?

Honestly: nobody can promise that, and this plugin does not. No shopping agent documents fetching product Markdown today. The mirror is cheap to serve and standards-shaped; treat it as groundwork.

Why does the mirror not show shipping or return details?

WooCommerce holds no single honest answer for shipping cost or return terms at product level, and this plugin never invents data. Developers can add sections from data their site actually holds via the mdmirwc_sections filter.

Does it work with Plain permalinks?

No. The .md URLs need pretty permalinks (Settings, Permalinks). Nearly all WooCommerce stores already use them.

Will it conflict with my SEO plugin?

No. The plugin emits no schema, changes no canonicals or titles, and adds exactly one link tag to product pages. If another active plugin also serves .md URLs, the Status row on the plugin's settings screen reports the conflict, names the other plugin, and explains why you should keep only one. The plugin adds no admin notices.

Are password-protected, draft, or hidden products mirrored?

Password-protected and unpublished products are never mirrored (their mirror URLs return 404). Catalog-hidden products still have public pages in WooCommerce, so they mirror; use the mdmirwc_is_mirrored filter to exclude specific products.

Where are the settings?

WooCommerce, Settings, Products, Markdown mirrors. There is also a Settings link right on the plugin's row in your plugins list. Everything is on by default; uncheck what you do not want. Brand options appear only when your store has the brands taxonomy.

Can I choose what the mirror contains?

Yes. Every product mirror section has its own checkbox (identifiers, classification, specifications, price, availability, variants, reviews, images, and the short and full descriptions), and each taxonomy group has its own toggle. Turning a section off only omits it; nothing can make a mirror say something your page does not.

How does pagination work on term mirrors?

Each term mirror lists up to 100 products per page and links the next page (.../your-category/page/2.md). Every page states "page N of M", so nothing is ever silently cut off. Pages past the last one return 404.

What happens when I uninstall?

Everything the plugin stored is removed: settings, cached mirrors, term cache versions, on every site of a multisite network. Nothing else is touched.

更新日志:

1.0.0