Config
enabled
- Type:
boolean - Default:
true
Conditionally toggle the module.
debug
- Type:
boolean - Default:
false
Enables debug logs.
redirectToCanonicalSiteUrl
- Type:
boolean - Default:
false
When enabled, it will redirect any request to the canonical domain (site url) using a 301 redirect on non-dev environments.
E.g if the site url is 'www.example.com' and the user visits 'example.com', they will be redirected to 'www.example.com'.
This is useful for SEO as it prevents duplicate content and consolidates page rank.
automaticDefaults
- Type:
boolean - Default:
true
Will set up a number of defaults for meta tags and Schema.org, if the modules and config are available.
fallbackTitle
- Type:
boolean - Default:
true
Will ensure a title is always set by providing a fallback title based on the casing the last slug segment.
metaDataFiles
- Type:
boolean - Default:
true
Should the files in the public directory be used to infer tags such as favicon, apple-touch-icon, and open graph images.
automaticOgAndTwitterTags
- Type:
boolean - Default:
true
Should head data be inferred from the current input to fill in the gaps.
For example:
- If you supply a title, this will automatically add an og:title.
- If you provide an og:image, it will automatically add a twitter:image.
treeShakeUseSeoMeta
- Type:
boolean - Default:
true
Attempts to treeshake the
extendRouteRules
- Type:
boolean - Default:
true
Adds
fixRequiredAbsoluteMetaTagsLinks
- Type:
boolean - Default:
true
Tries to convert relative image paths to absolute paths in meta tags.
extendNuxtConfigAppHeadSeoMeta
- Type:
boolean - Default:
true
Extends
extendNuxtConfigAppHeadTypes
- Type:
boolean - Default:
true
Augments the head schema with
setupNuxtConfigAppHeadWithMoreDefaults
- Type:
boolean - Default:
true