SEO Specific Fields in Documents
The SEO plugin installs a "SEO" compound field type into the Document Type Editor. There, it can be added to any document types you want. The compound consists of two fields:
- title allows you to override the "pageTitle" part of the title tag (see Component Parameter Definition).
- description allows you to override the value for the meta-description tag.
If the requested document contains the SEO compound (at the root level) and a value is specified for the title or description field, then the SEO plugin uses that value rather than trying to derive a value from the specified list of document properties.
Installing the SEO compound field
If the SEO plugin was installed in CMS 10.1 or later, the SEO compound field is installed by default. If you are upgrading your project from 10.0 or earlier, you will have to add an extra dependency to your CMS pom.xml manually:
<dependency> <groupId>org.onehippo.cms7</groupId> <artifactId>hippo-plugin-seo-support-repository</artifactId> </dependency>