Appearance
Plugin settings
The following options can be set by copying this file to your project's config
directory, and renaming it to seo-fields.php
.
pluginLabel
How the plugin is labelled in the CP's sidebar, defaults to SEO
titleSeperator
Defaults to -
robotsPerSite
Whether robots.txt should be set per site, defautls to false
sitemapPerSite
Whether sitemap settings should be set per site, defautls to false
fieldHandle
This is the handle your SEO Fields - field has, defaults to seo
but make sure to change this setting should your field be named differently.
notFoundLimit
The maximum number of "not found" or 404 items to track, defaults to 10000.
schemaOptions
Additional options to be listed in the Schema options per section. This take an array of :
- the class of the Schema object (base on spatie/schema-org)
- the label you want it be listed as
For example:
php
"schemaOptions" => [
get_class(\Spatie\SchemaOrg\Schema::recipe()) => 'Recipe'
],