PolyCMS SEO Configuration Guide
PolyCMS v1.4.0 delivers a complete, native SEO and Generative Engine Optimization (GEO) stack inside Perfex CRM, combining site-wide SEO defaults, the bundled MTOptimize v1.4.0 on-page SEO plugin, dynamic XML sitemaps, and decoupled PolyStore e-commerce SEO controls for products, categories, variants, and transactional endpoints.
SEO Architecture
PolyCMS manages search optimization across three integrated layers so content teams and store managers never need third-party SEO proxy tools:
- Site-Wide Defaults: Configured globally in Blog > Settings > SEO for consistent title templates, fallback meta descriptions, and brand identity.
- On-Page & Storefront SEO Toolkit (MTOptimize v1.4.0): Bundled plugin stored in
modules/polycms/plugins/mtoptimizewith its own structured metadata table (tblpolycms_seo_meta). Through a decoupled, plugin-agnostic hook/filter architecture, MTOptimize v1.4.0 powers Blog Posts, Pages, Categories, Tags, and (when PolyStore is active) Store Products and Product Categories with real-time 0-100 Focus Keyword scoring, Google Search Preview, Open Graph, Twitter Cards, Schema.org JSON-LD, Custom Canonical URLs, and Robots directives. - E-Commerce SEO & GEO (PolyStore): Automated Dynamic SEO Variant URLs,
parentvs.selfcanonical mode selection, Schema.orgProductandAggregateOfferJSON-LD, chunked product and category XML sitemaps, and automaticnoindexprotection for dynamic checkout routes.
Site-Wide SEO Settings
Navigate to Blog > Settings > SEO to configure global defaults for all public blog and CMS routes:
| Setting | Description |
|---|---|
| Default Meta Title Pattern | Global template for document title tags (for example, {post_title} | {site_name}). |
| Default Meta Description | Fallback summary applied when a post, page, or archive does not define a custom meta description. |
| Site Name | Primary brand identifier output in title patterns, Open Graph metadata, and Schema.org structured data. |
MTOptimize v1.4.0 - Bundled On-Page SEO Toolkit
Activating the bundled MTOptimize v1.4.0 plugin (plugins/mtoptimize) injects a complete, tabbed SEO workspace directly into core CMS editors (Blog Posts, Pages, Categories, and Tags) as well as Store > Products (Tab 6: SEO & Visibility) (object_type = 'polystore_product') and Store > Categories (object_type = 'polystore_category') when PolyStore is active. All entity-level directives persist cleanly in tblpolycms_seo_meta without altering core Perfex CRM tables.
Live Google Search Preview & Smart Character Counters
- Real-Time SERP Snippet (
polycms_seo_box_before_fields+polycms_seo_preview_context): Renders a live desktop Google search snippet as you type, automatically resolving accurate route prefixes for core content (/blog/), PolyStore products (product/), and product categories (shop/category/):
PolyCMS Installation Guide - CMS for Perfex CRM
https://yourdomain.com/blog/installation-guide
Step-by-step guide to installing and configuring the PolyCMS
module in your Perfex CRM environment...
- Live Character Counters & Field Binding: Displays real-time counters (
0 / 60for Meta Title and0 / 160for Meta Description) with Good, Too short, and Too long status indicators. MTOptimize binds generically throughdata-seo-fieldattributes (meta_title,meta_description,title,slug,content,short_description), supports automatic Bootstrap tab (shown.bs.tab) re-evaluation, and auto-binds to TinyMCE editors so scores update immediately across multi-tab forms.
3-Tab Editor Panel (polycms_seo_box_content)
Every supported editor exposes three structured SEO tabs:
SEO Tab (Focus Keyword & 9-Check 0-100 Score Analyzer)
Enter a primary Focus Keyword to compute a live 0-100 SEO Score across 9 weighted checks:
- Focus Keyword is set
- Focus Keyword appears in the Meta Title
- Focus Keyword appears near the start of the Meta Title
- Focus Keyword appears in the Meta Description
- Focus Keyword appears in the URL/Slug
- Meta Title length falls within the optimal 50 to 60 character range
- Meta Description length falls within the optimal 120 to 160 character range
- Focus Keyword density in content falls between 0.5% and 2.5%
- Focus Keyword appears in the main title
Social Tab (Open Graph & Twitter Card Overrides)
Define per-post, per-page, per-product, or per-category OG Title, OG Description, OG Image URL (1200x630 recommended; supports absolute URLs cleanly without prepending a broken uploads/ prefix), and Twitter Card rendering (summary or summary_large_image). On PolyStore storefront routes, MTOptimize and PolyStore coordinate cleanly so og:type="product" is emitted exactly once (never duplicated) alongside product:price:amount and product:price:currency, while product category archives emit og:type="website".
Advanced Tab (Canonical URL & Robots Directives)
Configure a custom Canonical URL override for syndicated, paginated, or consolidated pages, and toggle No Index and No Follow checkboxes stored directly in tblpolycms_seo_meta.
Schema.org JSON-LD & Dynamic Default Title Formats
- Schema.org JSON-LD Structured Data: Automatically emits valid JSON-LD graphs (including
Article,WebPage, andBreadcrumbListmarkup for CMS entities, coordinating cleanly with PolyStore'sProduct/AggregateOfferJSON-LD) so traditional search engines and AI answer engines accurately parse page entities and authorship. - Dynamic Default SEO Title Formats (
Blog > Plugins > MTOptimize): Configure reusable title patterns for Posts, Pages, Categories, and Tags. When PolyStore is active, PolyStore automatically registers a dedicated PolyStore E-Commerce settings group viapolycms_seo_title_format_fieldsproviding Default Product Title Format (supporting{{title}},{{site_name}}, and the dynamic{{sku}}token) and Default Product Category Title Format.
MTOptimize Dashboard Widgets
MTOptimize v1.4.0 registers two native widgets on Blog > Dashboard:
- SEO Overview (
widget-mtoptimize-seo): Displays a site-wide 0-100 SEO Health Score ring, a Chart.js doughnut breakdown, missing Meta Title, Meta Description, and Focus Keyword counters, plus live XML Sitemap androbots.txtCrawl Status diagnostics. - Environment (
widget-mtoptimize-env): Surfaces active theme and plugin operational status at a glance.
Decoupled MTOptimize v1.4.0 & PolyStore Operating Modes
MTOptimize v1.4.0 and PolyStore integrate through 10 generic, plugin-agnostic PolyCMS SEO hooks ("Inject Inside Core & Plugin SEO Boxes") with zero hard coupling across all three operating modes:
| Operating Mode | Admin Editor & Settings Behavior | Frontend Metadata & Sitemap Output |
|---|---|---|
| Combined (MTOptimize ACTIVE + PolyStore ACTIVE) | Full 3-tab MTOptimize panel, Google Search Preview, and 0-100 scorer inject into Store > Products (Tab 6: SEO & Visibility) and Store > Categories; PolyStore E-Commerce title formats (with {{sku}}) appear in Blog > Plugins > MTOptimize. |
Unified <title>, meta description, single og:type="product" + product:price:amount/currency (and og:type="website" on categories), Product JSON-LD, custom canonicals, and automatic No Index exclusion from product/category sitemaps. |
| PolyStore Standalone (MTOptimize INACTIVE) | PolyStore detects the inactive toolkit via polycms_has_action('polycms_seo_box_content') and cleanly hides advanced SEO/Social/Advanced tabs while keeping core SEO fields accessible. |
Emits clean standalone <title>, meta description, canonical, og:type="product", product:price:amount/currency, and Product JSON-LD with zero PHP or UI errors. |
| MTOptimize Standalone (PolyStore INACTIVE) | Blog > Plugins > MTOptimize automatically shows only core Post, Page, Category, and Tag title formats. | Processes all core CMS entities, JSON-LD graphs, and Dashboard SEO widgets cleanly without commerce dependencies. |
Safe Persistence, Context Cache Reset & Zero Orphan Cleanup
- Non-SEO Save Protection (
polycms_seo_object_saved): MTOptimize guards metadata persistence withmtoptimize_has_seo_payload(), guaranteeing that programmatic non-SEO saves (such as Perfextblitemssynchronization or automated stock adjustments) never wipe existingtblpolycms_seo_metarows. - Clean Per-Request Context Reset (
polycms_seo_context_changed): Switching frontend entity context firespolycms_seo_context_changed(also invoked byPolystore_SEO::set_current_category($cat)on category archive routes) to reset per-request SEO caches accurately. - Zero Orphan Data (
polycms_seo_object_deleted&polycms_seo_object_type_purged): Deleting a product or category removes its SEO row immediately viapolycms_seo_object_deleted, and uninstalling/purging PolyStore firespolycms_seo_object_type_purgedforpolystore_productandpolystore_categoryto clear all storefront SEO rows cleanly.
PolyStore E-Commerce SEO & GEO
When the bundled PolyStore plugin is active, PolyCMS extends its SEO architecture across your entire Perfex CRM online storefront to maximize organic product discovery and AI citation readiness:
Dynamic SEO Variant URLs (Polystore_Variant_Urls)
Instead of hiding product variations behind non-indexable query parameters or client-side JavaScript state, Polystore_Variant_Urls generates clean, human-readable, crawlable URLs for active multi-attribute variations. For example, a Print-on-Demand hoodie in Forest Green and size XL resolves cleanly to:
/product/signature-essential-apparel-pullover-hoodie-color-forest-green-size-xl
Opening a Dynamic Variant URL pre-selects the matching attribute swatches, loads the variant-specific gallery image, displays exact variant pricing and stock availability, and updates page metadata automatically.
Canonical Mode: Parent vs. Self
In Store > Settings, store administrators control how search engines index variation URLs using two canonical modes:
| Canonical Mode | Generated rel="canonical" Target |
Recommended Use Case |
|---|---|---|
parent |
Points to the parent base product URL (/product/{base-slug}) |
Consolidates ranking signals when variants share nearly identical descriptions (for example, size-only variations) and prevents thin-content index bloat. |
self |
Points to the active Dynamic Variant URL itself | Ideal for high-intent long-tail searches where buyers search by specific color, material, model, or storage tier and each variant merits its own SERP landing page. |
Automatic Schema.org Product & AggregateOffer JSON-LD
Every published product page automatically outputs structured Schema.org JSON-LD markup. Simple products emit a complete Product with an Offer object (price, currency, SKU, availability, and image), while multi-attribute variable products emit Product with AggregateOffer (lowPrice, highPrice, offerCount, and currency) or exact variant-level offer metadata when viewed on a Dynamic Variant URL. This enables Google Product Rich Results and gives generative AI engines verified pricing and availability facts.
Dedicated Store XML Sitemaps, Automatic No Index Exclusion & Transactional noindex
- Store XML Sitemaps: PolyStore registers
/product-sitemap.xml(auto-chunked every 1,000 products with Google<image:image>tags and optional inclusion of active Dynamic Variant URLs) alongside/product-category-sitemap.xmldirectly inside/sitemap_index.xml. - Automatic Sitemap
No IndexExclusion (polycms_seo_excluded_object_ids): Checking No Index on any PolyStore Product or Product Category inside MTOptimize v1.4.0 automatically excludes that item from/product-sitemap.xml,/product-category-sitemap.xml,/sitemap_index.xmlchunk counts, and flat-mode XML Sitemap output. - Automatic Transactional
noindexProtection: Dynamic, session-dependent storefront endpoints including/cart,/checkout,/my-account, and/order-receivedautomatically outputnoindex, nofollowrobots headers so search crawlers focus crawl budget exclusively on revenue-generating catalog and content pages.
For a complete strategy walkthrough on ranking variable product catalogs and optimizing storefront entities for AI search, read our dedicated guide: PolyStore E-Commerce SEO, Variant URLs, Sitemaps & GEO in Perfex CRM.
XML Sitemap Integration
When the bundled XML Sitemap plugin is active, all indexable published posts, pages, categories, tags, and PolyStore product feeds are dynamically compiled into /sitemap_index.xml and /{prefix}/sitemap.xml, automatically honoring MTOptimize v1.4.0 No Index flags. Submit your master sitemap index in Google Search Console for rapid discovery and automatic recrawling.
SEO Best Practices in PolyCMS
- Keep Meta Titles within 50 to 60 characters and Meta Descriptions within 120 to 160 characters using MTOptimize v1.4.0's live character counters and Google Search Preview.
- Configure Default Product Title Format in Blog > Plugins > MTOptimize using
{{title}},{{sku}}, and{{site_name}}so large product catalogs launch with unique, keyword-rich titles by default. - Review the 9-check 0-100 SEO Score in Posts, Pages, Store Products (Tab 6), and Store Categories, and monitor site-wide gaps via the SEO Overview (
widget-mtoptimize-seo) dashboard widget. - Assign 1200x630 Open Graph images and select
summary_large_imageTwitter Cards to maximize social click-through rates. - Select
parentcanonical mode for size-only variants andselfcanonical mode only when color, model, or hardware configurations target distinct search intent. - Use MTOptimize's per-entity No Index checkbox for seasonal or test SKUs so they drop out of
/product-sitemap.xmlautomatically, and leave transactionalnoindexactive on/cart,/checkout,/my-account, and/order-received.
Related Documentation
- PolyStore E-Commerce SEO, Variant URLs, Sitemaps & GEO Guide - Deep dive into e-commerce SEO and AI discoverability in Perfex CRM.
- Plugin: XML Sitemap - Configure multi-sitemap indexing, product variant sitemaps, and developer hooks.
- Permalink Settings - Configure clean SEO-friendly URL structures.
- Managing Posts - Per-post editorial workflow and metadata configuration.
- Plugin Management - Activate MTOptimize v1.4.0, XML Sitemap, and PolyStore.
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.