Back to Main Site

E-Commerce SEO & GEO in Perfex CRM: PolyStore Variant URLs, Sitemaps & Schema

Last updated on Nov 23, 2026 6:25 AM 6:25 AM 5,557.75 ms

PolyCMS v1.4.0, PolyStore v1.0.0, MTOptimize v1.4.0, and the bundled XML Sitemap plugin operate together as a unified technical SEO and Generative Engine Optimization (GEO) architecture directly inside Perfex CRM. Storefronts gain semantic path-based Variant URLs through Polystore_Variant_Urls, configurable parent versus self canonical control, chunked /product-sitemap.xml and /product-category-sitemap.xml feeds with Google <image:image> tags and automatic No Index exclusion, automated Schema.org Product JSON-LD (Offer and AggregateOffer), native MTOptimize v1.4.0 SEO panels inside Store Products and Categories, strict crawl-budget hygiene (noindex, nofollow on transactional and private routes), and single-domain topical authority alongside MTOptimize-tuned blog guides.

Product discovery now spans both traditional search engines and generative AI platforms like ChatGPT, Perplexity, and Google AI Overviews. Because your blog guides, product catalog, and live Perfex CRM pricing share one authoritative origin backed by clean server-rendered HTML and structured JSON-LD, search bots and AI retrieval pipelines can verify and cite your SKUs accurately without sync drift.

Single-Origin Advantage: Uniting CRM, Blog & Storefront SEO

Splitting a business across a subdomain blog, a hosted external cart, and a separate CRM portal fractures link equity and frequently introduces pricing or inventory mismatches. Running PolyCMS and PolyStore natively inside Perfex CRM consolidates every ranking signal under one root domain:

  • Shared Internal Link Equity: MTOptimize-optimized buying guides pass direct contextual authority to /shop, category archives, and specific product or variant URLs.
  • Live Commercial Truth: Prices, currencies, SKUs, and stock states rendered in HTML and JSON-LD pull straight from Perfex Items and PolyStore variations.
  • Fast Server-Rendered Crawlability: Metadata, canonical tags, variant photos, and XML sitemaps render cleanly on the server without forcing bots through heavy client-side hydration frameworks.

Dynamic SEO Variant URL Engine (Polystore_Variant_Urls)

Query-string links like /product/hoodie?color=forest-green&size=xl dilute crawl signals and restrict high-intent variations from ranking for exact SKU searches. Polystore_Variant_Urls replaces them with configurable path-based URLs managed globally under Store > Settings beneath /product/.

Global Pattern & Smart Built-In Token Aliases

Setting the global pattern {slug}-{type}-color-{color}-size-{size} automatically resolves to semantic URLs such as /product/signature-essential-apparel-pullover-hoodie-color-forest-green-size-xl. PolyStore supports smart token aliases alongside any exact global attribute slug configured in Store > Attributes:

Token Matched Attribute Slugs Example Segment
{slug} Base parent product slug signature-essential-apparel
{type} apparel-type, product-type, or style pullover-hoodie
{color} color, colour, or finish forest-green or titanium
{size} size, shoe-size, or canvas-size xl or 24x36
{model} model or edition apex-pro-max
{storage} Exact custom global attribute slug 1tb or 512gb
{frame-style} Exact custom global attribute slug walnut-floating

Concrete URL Pattern Blueprints by Vertical

Print-on-Demand & Apparel:
{slug}-{type}-color-{color}-size-{size}
-> /product/signature-essential-apparel-pullover-hoodie-color-forest-green-size-xl

Consumer Electronics:
{slug}-{model}-{storage}-{color}
-> /product/apex-series-pro-max-1tb-titanium

Framed Art & Decor:
{slug}-{frame-style}-{size}
-> /product/coastal-horizon-print-walnut-floating-24x36

Per-Product Templates, PCRE Regex Overrides & Route Caching

Catalogs with mixed product lines can refine routing per item without disrupting store-wide defaults:

  • Per-Product variant_url_template Override: Assign a tailored token pattern to a specific flagship product while keeping standard lines on the global rule.
  • Custom PCRE Regex Override: Preserve exact legacy variant URL structures when migrating an established store into Perfex CRM, safeguarding historical backlinks without brittle redirect chains.
  • Cached Route Resolution: Compiled route lookups are cached in Polycms_Cache group polystore_url_routes with automatic invalidation whenever a product or variant is saved.
  • Dynamic Metadata & Image Swapping: Opening any variant URL automatically swaps the page <title>, meta description, and Open Graph og:image to the active variant label and dedicated variant photograph.

Canonical Control: parent vs self Indexing Strategy

PolyStore emits explicit <link rel="canonical"> tags according to your configured canonical mode so you balance authority consolidation against long-tail SKU capture:

Canonical Mode Canonical Target Ideal Catalog Use Case Sitemap Setting
parent Base product URL (/product/{slug}) Apparel sizes or minor colors sharing one core description Keep /product-sitemap.xml focused on base products
self Active variant URL (/product/{slug}-{model}-{storage}-{color}) High-search-volume commercial SKUs (such as "Apex Pro Max 1TB Titanium") with unique pricing and photos Enable Variant URLs inside /product-sitemap.xml
Default to parent mode for combinatorial size/color matrices to consolidate backlinks onto one strong URL, and switch to self mode when distinct hardware tiers or named editions carry independent keyword search volume.

Automated Product & Category XML Sitemaps

Polystore_SEO integrates with the bundled xml-sitemap plugin via PolyCMS v1.4.0 filter hooks (polycms_sitemap_index_entries and polycms_xml_sitemap_sub_sitemaps), registering commerce feeds automatically inside /sitemap_index.xml.

Sitemap Endpoint Included URLs Scaling & Media Support
/sitemap_index.xml Master index linking posts, pages, categories, tags, products, and product categories Auto-registers PolyStore feeds via v1.4.0 hooks
/product-sitemap.xml Public published products plus active Variant URLs when enabled Auto-chunked every 1,000 products (/product-sitemap-2.xml, etc.) with Google <image:image> tags for featured and gallery photos
/product-category-sitemap.xml All visible public storefront categories Updates dynamically when categories change visibility
Illustrative product image sitemap entry:
<url>
  <loc>https://yourdomain.com/product/apex-series-pro-max-1tb-titanium</loc>
  <lastmod>2026-11-23T13:00:00+00:00</lastmod>
  <image:image>
    <image:loc>https://yourdomain.com/uploads/polycms/apex-pro-max-titanium.jpg</image:loc>
  </image:image>
</url>

Draft, hidden, and clients_only entries are excluded automatically. In addition, when MTOptimize v1.4.0 is active, checking No Index on any Product (polystore_product) or Product Category (polystore_category) automatically removes it from /product-sitemap.xml, /product-category-sitemap.xml, /sitemap_index.xml chunk counts, and flat-mode XML Sitemap output via the polycms_seo_excluded_object_ids filter. Submit /sitemap_index.xml once in Google Search Console to keep editorial and chunked product feeds synced.

Automated Schema.org JSON-LD (Product, Offer & AggregateOffer)

Polystore_SEO outputs valid Schema.org JSON-LD automatically on public product pages so search engines and AI shopping agents parse structured commercial data reliably:

  • Simple Products & Active Variant URLs: Emits Product with a single Offer containing sku, price, priceCurrency, image, and availability (InStock, OutOfStock, or BackOrder).
  • Variable Parent Products: Emits Product with AggregateOffer containing lowPrice, highPrice, offerCount, priceCurrency, and availability across variations.

Simple product or active variant JSON-LD example:

{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Apex Pro Max - 1TB Titanium",
  "sku": "APX-PM-1TB-TI",
  "image": ["https://yourdomain.com/uploads/polycms/apex-pro-max-titanium.jpg"],
  "offers": {
    "@type": "Offer",
    "priceCurrency": "USD",
    "price": "1299.00",
    "availability": "https://schema.org/InStock",
    "url": "https://yourdomain.com/product/apex-series-pro-max-1tb-titanium"
  }
}

Multi-variant parent AggregateOffer example:

{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Signature Essential Apparel",
  "image": ["https://yourdomain.com/uploads/polycms/signature-apparel-main.jpg"],
  "offers": {
    "@type": "AggregateOffer",
    "priceCurrency": "USD",
    "lowPrice": "29.00",
    "highPrice": "68.00",
    "offerCount": 24,
    "availability": "https://schema.org/InStock"
  }
}

Crawl-Budget Hygiene & Indexation Safeguards

PolyStore prevents search bots from wasting crawl budget on empty session pages or exposing restricted B2B items:

Route or Visibility State Robots Meta Cache & Sitemap Behavior
/shop, /track-order index, follow Cacheable, public navigation
Public Products & Visible Categories index, follow Included in XML sitemaps
/cart, /checkout, /order-received, /my-account noindex, nofollow Dynamic cache bypass, excluded from sitemaps
clients_only and hidden Products noindex, nofollow Excluded from sitemaps and public catalog
Products / Categories marked No Index in MTOptimize v1.4.0 noindex (plus optional nofollow) Auto-excluded from /product-sitemap.xml, /product-category-sitemap.xml, /sitemap_index.xml chunk counts, and flat-mode sitemaps via polycms_seo_excluded_object_ids

Native Decoupled Integration: PolyStore SEO + MTOptimize v1.4.0

With MTOptimize v1.4.0 (plugins/mtoptimize), PolyCMS upgrades beyond blog-only optimization to a decoupled, plugin-agnostic SEO hook architecture (10 generic PolyCMS SEO hooks with zero hard coupling). When both plugins are active, MTOptimize v1.4.0 natively injects its full editorial SEO toolkit directly inside Store > Products (Tab 6: SEO & Visibility) (object_type = 'polystore_product') and Store > Categories (object_type = 'polystore_category'), alongside Blog Posts, Pages, Categories, and Tags:

  • Live Google Search Preview & Smart Counters (polycms_seo_box_before_fields + polycms_seo_preview_context): Renders a real-time SERP snippet displaying accurate product/ and shop/category/ slug prefixes with live 0 / 60 and 0 / 160 Good / Too short / Too long indicators via generic data-seo-field bindings (meta_title, meta_description, title, slug, content, short_description), automatic Bootstrap shown.bs.tab re-evaluation, and TinyMCE auto-binding.
  • 3-Tab Injected SEO Panel (polycms_seo_box_content): Organizes on-page storefront optimization into SEO Tab (Focus Keyword + live 0-100 SEO Score Analyzer across 9 weighted checks: Focus Keyword set, Keyword in Meta Title, Keyword near start of title, Keyword in Meta Description, Keyword in URL/Slug, Title length 50-60, Description length 120-160, Keyword density 0.5-2.5%, and Keyword in main title), Social Tab (per-product and per-category custom OG Title, OG Description, OG Image URL at 1200x630 supporting absolute URLs cleanly without broken uploads/ prefix, and Twitter Card summary / summary_large_image, coordinating cleanly with PolyStore for a single og:type="product" + product:price:amount/currency on products and og:type="website" on categories), and Advanced Tab (Custom Canonical URL override, No Index, and No Follow checkboxes persisted in tblpolycms_seo_meta).
  • Dynamic Title Formats with {{sku}} Token (polycms_seo_title_format_fields): Under Blog > Plugins > MTOptimize, PolyStore automatically registers a dedicated PolyStore E-Commerce settings group containing Default Product Title Format (supporting {{title}}, {{site_name}}, and the dynamic {{sku}} token) and Default Product Category Title Format.
  • Safe tblitems Sync Protection & Zero Orphan Cleanup: polycms_seo_object_saved enforces a payload guard (mtoptimize_has_seo_payload()) so programmatic non-SEO saves (such as Perfex tblitems sync or stock updates) never overwrite existing tblpolycms_seo_meta rows. Context changes invoke polycms_seo_context_changed (including Polystore_SEO::set_current_category($cat) on category archive routes) to reset per-request SEO cache, while polycms_seo_object_deleted and polycms_seo_object_type_purged (polystore_product, polystore_category) eliminate orphan rows on delete or plugin purge.
  • Full 3-Mode Standalone Fallback: If MTOptimize is inactive, PolyStore checks polycms_has_action('polycms_seo_box_content'), hides advanced tabs cleanly, and emits standalone <title>, meta description, canonical, og:type="product", product:price:amount/currency, and Product JSON-LD with zero errors. Conversely, if PolyStore is inactive, MTOptimize Settings automatically displays only core Post, Page, Category, and Tag title formats.

Combine product-level MTOptimize controls with editorial content in a single Hub-and-Spoke workflow:

  1. Publish MTOptimize Pillar Guides: Target informational and comparison keywords, verify snippet truncation in Google Search Preview, monitor site-wide gaps via the SEO Overview (widget-mtoptimize-seo) dashboard widget, and assign custom Open Graph cards.
  2. Bridge with Live Shortcodes: Embed [polystore_products] or [polystore_product] inside blog guides to connect editorial authority directly to live SKUs optimized in Tab 6.
  3. Launch MTBuilder Campaign Pages: Apply MTOptimize metadata to MTBuilder landing pages and link cleanly into core categories and self-canonical variant URLs.

Generative Engine Optimization (GEO) Playbook for AI Citations

To maximize citations across ChatGPT, Perplexity, and Google AI Overviews, pair PolyStore's technical markup with five content-engineering practices:

  1. Open with Entity-Rich BLUF Summaries: Start every category page, buying guide, and product overview with a factual lead stating product type, configurations, pricing model, and use case.
  2. Match Specification Tables to JSON-LD: Ensure dimensions, capacities, SKU codes, and stock statements in visible Markdown tables align exactly with emitted Product, Offer, and AggregateOffer JSON-LD.
  3. Expose High-Intent SKUs via self Canonical Variant URLs: Dedicated variant paths with swapped <title>, variant og:image, and single-Offer JSON-LD give AI engines unambiguous URLs to cite for configuration-specific queries.
  4. Add Direct Pre-Purchase FAQ Blocks: Write concise 2-to-4 sentence Q&As answering compatibility, B2B quote availability, fulfillment timelines, and variant differences.
  5. Keep Inventory & Route Caches Fresh: Because PolyStore pulls live Perfex CRM pricing and flushes polystore_url_routes on save, repeated AI crawls always observe current commercial accuracy.

Technical SEO & GEO Pre-Launch Audit Checklist

Before announcing a new Perfex CRM storefront or migrating an existing catalog into PolyStore, run through these six verification steps:

  1. Validate Variant URL Resolution: Open representative variant links across your primary attribute combinations and confirm HTTP 200 responses, swapped <title> tags, accurate meta descriptions, single og:type="product" tags, and variant-specific og:image tags in page source.
  2. Audit Canonical Directives: Inspect <link rel="canonical"> on both parent products and variant paths to verify they match your chosen parent or self indexing strategy (or any custom Tab 6 Canonical URL override) without contradictory signals.
  3. Verify XML Sitemap Feeds & No Index Exclusion: Load /sitemap_index.xml, /product-sitemap.xml, and /product-category-sitemap.xml directly in a browser, confirm <image:image> elements resolve to live media URLs, and verify zero hidden, clients_only, or MTOptimize No Index items appear.
  4. Test Schema.org JSON-LD: Run one simple product, one active variant URL, and one variable parent page through Google's Rich Results Test to verify valid Product, Offer, and AggregateOffer syntax, priceCurrency, sku, and availability.
  5. Confirm Transactional noindex Rules: Check page source on /cart, /checkout, /order-received, and /my-account to confirm noindex, nofollow is active and page cache headers are bypassed.
  6. Audit MTOptimize v1.4.0 Coverage & Blog Hubs: Review the SEO Overview (widget-mtoptimize-seo) dashboard widget and verify that Store Products (Tab 6), Store Categories, and top-traffic blog articles in tblpolycms_seo_meta have clean titles, descriptions, and internal links pointing to canonical storefront URLs.

Frequently Asked Questions (FAQ)

Should I choose parent or self canonical mode for Variant URLs?

Select parent when variations only change size or minor colors so backlinks consolidate onto the base product URL. Select self when specific variations have standalone search demand, distinct pricing, and unique photos (such as hardware storage tiers) and should rank independently.

How does /product-sitemap.xml scale beyond 1,000 products?

Polystore_SEO automatically chunks /product-sitemap.xml at 1,000 products per file (/product-sitemap-2.xml, /product-sitemap-3.xml, and so on) and registers all chunks inside /sitemap_index.xml via polycms_sitemap_index_entries and polycms_xml_sitemap_sub_sitemaps, complete with <image:image> tags and automatic No Index exclusion via polycms_seo_excluded_object_ids.

Are clients_only B2B products and checkout URLs protected from search indexing?

Yes. PolyStore automatically outputs noindex, nofollow on /cart, /checkout, /order-received, /my-account, and all clients_only or hidden products, while excluding them completely from public XML sitemaps. Any product or category marked No Index inside MTOptimize v1.4.0 is also excluded automatically.

Can PolyStore preserve legacy variant URLs during a store migration?

Yes. Alongside global token templates and per-product variant_url_template overrides, Polystore_Variant_Urls supports optional custom PCRE regex overrides per product so migrated stores preserve historical variant paths and rankings.

How do MTOptimize v1.4.0 and PolyStore SEO work together?

Through 10 decoupled PolyCMS SEO hooks, MTOptimize v1.4.0 injects its Google Search Preview, 9-check 0-100 Focus Keyword analyzer, Social OG/Twitter overrides, Custom Canonical, and No Index/No Follow directly into Store > Products (Tab 6: SEO & Visibility) and Store > Categories, registers PolyStore E-Commerce title formats (with {{sku}}) in MTOptimize Settings, excludes No Index catalog items from XML sitemaps automatically, and preserves SEO rows during programmatic tblitems syncs while keeping full standalone fallback if MTOptimize is deactivated.

Related Documentation

Launch Your CMS for Perfex CRM — Lifetime Access for Just $19
Create blogs, pages, themes, plugins, and manage everything from one powerful unified admin panel.

Early Adopter Advantage

Current pricing reflects the module’s present feature set. As additional plugins, themes, multilingual capabilities, builders (MTBuilder), and ecosystem integrations are released, pricing may be adjusted. Early customers secure today’s price while benefiting from future updates.