| 开发者 | abdalsalaam |
|---|---|
| 更新时间 | 2026年7月16日 20:34 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
.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
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
mdmirwc_is_mirrored - exclude products from mirroringmdmirwc_sections - add or reorder document sections (for example shipping data your site actually holds)mdmirwc_document - filter the final documentmdmirwc_cache_max_age - HTTP Cache-Control max-age (default 300 seconds)mdmirwc_cache_ttl - server-side cache TTL (default one hour; invalidation hooks keep mirrors correct regardless)mdmirwc_max_variants - variant lines cap (default 50, disclosed in output when applied)mdmirwc_conflicting_plugins - the known list of other .md-serving pluginsmdmirwc_term_is_mirrored - exclude term archives from mirroringmdmirwc_term_sections / mdmirwc_term_document - extend or filter term mirror documentsmdmirwc_term_page_size - products per term mirror page (default 100)mdmirwc_term_cache_max_age / mdmirwc_term_cache_ttl - term mirror cache controlsTake 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.
No. It makes zero remote requests. Everything is generated inside your site and served from your site.
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.
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.
No. The .md URLs need pretty permalinks (Settings, Permalinks). Nearly all WooCommerce stores already use them.
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.
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.
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.
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.
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.
Everything the plugin stored is removed: settings, cached mirrors, term cache versions, on every site of a multisite network. Nothing else is touched.