docs
  1. SCAYLE Resource Center
  2. Sitemap
  3. Sitemap Add-On
  4. Sitemap Extension

Sitemap Extension

Configure CMS pages

The add-on provides the option to extend a sitemap beyond product and category pages and list content pages from an external CMS in the sitemap file. Currently, integrations with Storyblok and Contentful are supported.

Provide API credentials

  1. Navigate to Add-Ons > Sitemap Add-On > Sitemap Extension.
  2. In the CMS Integration, select a CMS provider.
    1. For Storyblok: Enter CMS API URL and CMS Token.
    2. For Contentful: Enter CMS API URL, CMS Token, Space ID and Environment ID.
  3. Click SAVE.

Select CMS content for sitemap

After connecting to a CMS, you can determine which content pages should be listed in the CMS sitemap files.

  1. Go to Add-Ons > Sitemap Add-On > Sitemap Extension.
  2. CMS Source: Browse though the connected CMS account and select contend to be included to the sitemap.
  3. Sitemap Path: Enter path parameters in order to define the content pages URL pattern, i.e. {slug}
  4. Shop: Define if the content should be included to all shops or a particular shop country.
  5. Add row and repeat the steps until all relevant content for sitemap generation is included.
  6. Click SAVE.\

Example:

The content pages from the CMS are included in the sitemap:

  • All content pages fetched from the path: /content/global in the CMS
  • All brand pages fetched from the path: /content/brandpages/ in the CMS
  • A campaign page that was created for the kingsday fetched from the path:
    /nl-nl/campaigns/kingsday

Content pages and brand pages are included in all country shops' sitemaps. The campaign page for the kingsday will only appear in the NL shop’s sitemap.

Exclude content pages

As entire folders can be included into the sitemap, the Sitemap Add-on allows to determine which single content pages should be excluded from the CMS sitemap files.

  1. Go to Add-Ons > Sitemap Add-On > Sitemap Extension.
  2. In the Exclude criteria for content, enter:
    1. Slug: Content or entire subfolders previously selected folders.
    2. Tag: Enter tags.
    3. ID: Enter the Id of content peaces/pages in the CMS.
  3. Click SAVE.

Example

The content pages from the CMS are excluded from the sitemap:

  • A newsletter in the footer within the folder: footer/newsletter
  • A test campaign with the slug: promotions/test-campaign
  • All content with the tag: unpublished
  • Content pieces/pages with the following ids: 123, 124, 312

exclusion rules for content pages