recipes

FAQ

Creating a FAQ page on your site is a great way to help your users understand your website.

Creating a FAQ page on your site is a great way to help your users understand your website.

Providing Schema.org for these Questions and Answers can help improve your organic reach by allowing Google to optimise your faq pages search appearance.

Marking up FAQs

The defineQuestion function and SchemaOrgQuestion component are provided to create Question Schema whilst handling relations for you.

Note: When using a page with the path /faq, the page type will be automatically set for you.

Tips:

  • The answer may contain HTML content such as links and lists.
Composition API
useSchemaOrg([
  defineWebPage({
    '@type': 'FAQPage',
  }),
  defineQuestion({
    name: 'How long is a piece of string?',
    acceptedAnswer: 'The length of a piece of string is the number of characters in the string.',
  }),
  defineQuestion({
    name: 'How big is a giraffe?',
    acceptedAnswer: 'A giraffe is 12 feet tall',
  }),
])