Nuxt SEO
Api

Nuxt Config

Configure the sitemap module.

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.

splash

  • Type: boolean
  • Default: true

When enabled, it will generate a splash message when Nuxt is started.

enabled

  • Type: boolean
  • Default: true

Whether Schema.org should be enabled or not.

debug

  • Type: boolean
  • Default: false

Enable to see debug logs.