Skip to main content

Guides

Guides are an area of the site that uses part dynamic data from Contentful, and part static data from JSON files and HTML files.

Dynamic Data

This is the same as being used in most areas of the site - a GraphQL request in getStaticProps or getServerSideProps.

Static Data

Static Rendered Pages

Redirects

For all pages that require a redirect and fall under the "Guides" remit shall be handled via Bulk Redirects. These include

  1. Index page
  2. Single Guide pages

Bulk redirects allow for a more explicit list instead of using wildcards, and allow for CSV upload.

A list can be downloaded using this repo.

Two properties have been created in CloudFlare

  1. Bulk Redirect -> CMS Guides
  2. List - cms_guides_redirect (lists are found in Manage Account > Configurations > Lists)