Skip to content
Log in

Manage the sitemap for your store

On this page

A sitemap is an XML file that lists your store’s important pages, products, and articles. It functions as a roadmap for search engines, allowing bots to efficiently crawl and index your site, enhancing discoverability.

StoreConnect auto-generates a sitemap file for your store and rebuilds it daily. To have a record included, make sure it meets the conditions below.

Your store’s sitemap is available at all times via your-store.com/sitemap.xml. If you are running multiple stores, each store has its own sitemap. Learn more about Sitemaps.

Before you start

Set the Domain field on the Store record. A store with no domain is skipped entirely when the sitemap is built, so no sitemap is generated for it.

Conditions for appearing in the sitemap

A record only reaches the sitemap if it meets the conditions for its type.

Record type Conditions
Page (s_c__Page__c) Publish the page on the site is checked, Hide Page from Navigation and Menus is not, and the page is not restricted to members only
Article (s_c__Article__c) Published is checked, Published On Date is in the past, and it is not restricted to members only
Article Category (s_c__Article_Category__c) It contains at least one article belonging to the same store
Product (Product2) Active is checked, and either its Available On date is in the past and the record is not deleted, or it is a master product whose Discontinue On date has passed. It must also be linked to a category in the store’s taxonomy through a Product Product Category record with Active checked
Product Category (s_c__Product_Category__c) Not hidden, and part of the store’s default taxonomy
Location Group (s_c__Location_Group__c) Active. Every location in an active location group is listed too

Your store’s home page is always the first entry.

Once a record meets its conditions, it appears in your /sitemap.xml the next time the sitemap is rebuilt, which happens daily.

Stealth mode

Stores with Stealth Mode enabled do not have a sitemap. The /sitemap.xml URL will return a 404.

Custom sitemap

If you need full control over your sitemap content, create a Page with sitemap.xml in its Path field and Publish the page on the site checked. When a visible page with that path exists, StoreConnect serves it instead of the auto-generated sitemap, so you can build the XML with Liquid. The page renders as raw, Liquid-processed content rather than themed HTML, which is the same mechanism behind llms.txt and any other file-extension path.

View your sitemap

Your sitemap lives at yourstore.com/sitemap.xml. To view the latest version and avoid viewing a cached copy, open your sitemap URL in a private/incognito browser.

The sitemap looks like this:

```xml

<?xml version=”1.0” encoding=”UTF-8”?>

https://shop.example.com/ 2026-09-01 daily 1.0 https://shop.example.com/hiking-socks 2026-08-22 daily 0.8 https://shop.example.com/products/merino-hiking-socks 2026-08-30 daily 0.5 https://shop.example.com/shipping-and-returns 2026-08-19 daily 0.9

```

Every entry gets changefreq of daily. The priority is set per record type, and you cannot change it from Salesforce:

Entry Priority
Home page 1.0
Page 0.9
Article 0.9
Product category 0.8
Article category 0.6
Product 0.5
Location group and location 0.5

Search engines treat priority as a weak hint at best, so a low number does not keep a page out of the index.

Was this article helpful?

Was this article helpful?