Skip to main content
New Member
July 1, 2025
Question

sitemap configuration is not getting updated in EDS

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")
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

sarav_prakash
Community Advisor
Community Advisor
August 11, 2025

Couple redflags I notice, can you rename your index from `default` to something else.

Like `mysite-global`. Default index appears reserved word, dono if it hurts. 

Also for target, you have created query-index.json at root? Usually its under a folder from root like /us/en/query-index.json. 

 

Adobe has a tool to troubleshoot indices https://www.aem.live/developer/indexing#debugging-your-index-configuration

When you run hlx up with `--print-index`, it will print calculated index properties. Helps to confirm yaml syntax is correct. The exclude section looks correct. Try troubleshooting by giving exact path instead of wildcard. Like `

- '/spreadsheets/specificsheet'
Translate