Skip to content
  1. Extras
  2. SeoData
  3. Settings

Settings ​

System settings live in the seodata namespace: Settings → System Settings.

KeyPurpose
seodata.use_rteThe manager rich-text editor in the content template field
seodata.product_whereJSON filter of products during indexing, for example {"Data.discontinued":0}
seodata.index_chunkHow many categories one indexing step in the panel processes
seodata.keep_filled_on_emptyWith “component” priority, do not overwrite a resource field when the template returns an empty string
seodata.fallback_empty_resourceWith “resource” priority, use the template when the native field is empty
seodata.always_append_pageWhen ?page=N, append the page-number template to title, pagetitle, and description
seodata.include_zero_price_in_countInclude products with a zero price in {$count}
seodata.debugWrite [SeoData debug] lines to the error log
seodata.morpher_tokenToken for ws3.morpher.ru, used by the word-form generation buttons

A package update does not overwrite these values.

Debugging ​

If a rule does not apply on the site:

  1. Turn on seodata.debug.
  2. Clear the MODX cache.
  3. Open the page on the storefront.
  4. Open Reports → Error log.

SeoData lines start with [SeoData debug]:

LabelMeaning
plugin:OnLoadWebDocumentThe plugin ran on this page
resolve:personal / resolve:commonWhich rule was chosen
process:ruleH1, title, description, and content templates of that rule
process:outputThe text after Fenom and the data priority
plugin:applyFields were written into the resource
plugin:skip / process:no-ruleNo rule matched, the resource was not changed
placeholders:fieldsWhich custom fields were read
placeholders:wordsHow many word forms were loaded
resolve:wrong-classThe rule row was not loaded as a SeoData template. Update the package: the installer renames the old class_key column to resource_class

Saves from the panel are logged too: mgr:template-update with the active and resource_class fields.

Turn seodata.debug off after the check, otherwise the log grows on every page view.