I have not tried this but based on Claude I got this result:
Here are the steps to get a sitemap for a Salesforce Community Cloud site:
- 1.
From Setup, go to Feature Settings > Digital Experiences > All Sites
- 2.
Click 'Builder' next to your community site
- 3.
Click the gear icon (Settings) in the left sidebar
- 4.
- 5.
In the SEO settings panel, you can:
Enable the auto-generated XML sitemap
Find the URL path to your sitemap (typically ends in /s/sitemap.xml)
Set which pages should be included/excluded
Once enabled, you can access your sitemap at your community URL + /s/sitemap.xml (e.g., https://mycommunity.force.com/s/sitemap.xml)
Noe that the sitemap will only include publicly accessible pages. Private or login-required pages won't be listed.