Hi All,
I'm trying to exclude certain pages from the sitemap in Edge Delivery Services by updating the helix-query.yaml file. However, the changes are not being reflected when I access query-index.json.
Even after publishing page, the last-modified date does update , but any structural changes—such as excluding paths or adding new properties—are not reflected in the output. Additionally, changes to the helix-sitemap.yaml file behave similarly and don’t seem to take effect.
Here's a sample of the change I made in helix-query.yaml
version: 1
indices:
default:
include:
- '/**'
exclude:
- '/**.json'
- '/configuration/**'
- '/nav'
- '/footer/**'
- '/metadata/**'
- '/index/vlp'
- '/fragments/**'
- '/style-guide/**'
- '/spreadsheets/**'
target: /query-index.json
properties:
lastModified:
select: none
value: parseTimestamp(headers["last-modified"], "ddd, DD MMM YYYY hh:mm:ss GMT")
title:
select: main h1:first-of-type
value: |
textContent(el)
robots:
select: head > meta[name="robots"]
value: attribute(el, "content")