There are two important things within the metadata section: integrators and extractors.
Integrator allows you to define metadata in backend context. There are several pre-configured integrators, but it's also possible to add your own. It's possible to enable a dedicated SEO panel on documents and/or objects.
Enable the SEO panel on documents/objects:
seo:
meta_data_configuration:
meta_data_integrator:
documents:
enabled: true
objects:
enabled: true
data_classes:
- MyObjectClassThis will add an additional SEO tab on your documents and objects of type MyObjectClass.
If you want to render integrator as fieldset instead of tab (default), you need to change it like that:
seo:
meta_data_configuration:
meta_data_integrator:
integrator_rendering_type: 'fieldset'Read more about integrators and how to use them here.
Every extractor will extract structured data from a given object/document. Read more about integrators and how to use them here.
seo:
meta_data_configuration:
meta_data_provider:
auto_detect_documents: true
meta_data_integrator:
documents:
enabled: true
hide_pimcore_default_seo_panel: true
objects:
enabled: true
data_classes:
- MyObjectClass
enabled_integrator:
- integrator_name: title_description
- integrator_name: open_graph
integrator_config:
facebook_image_thumbnail: 'socialThumb'
- integrator_name: html_tag