↑↓ selectEnter openEsc close

    1. Elbuz

    How to set up your store's sitemap

    4 min readUpdated

    The store's sitemap builds itself: category, product, brand and page addresses at /sitemap.xml. Search engines read it and find new products without waiting for links to them.

    When you need this:

    • The store has just launched — the sitemap address in Google Search Console shows Google the whole catalog.
    • New products every day — the sitemap is rebuilt within an hour of a catalog export.
    • Discounted, archived, no-photo products — leave them out so search engines don't waste time on them.
    • The store has several languages — the sitemap lists every page's language versions.

    Where to start: copy the sitemap address and add it to Google.

    What the sitemap can do

    How to add the sitemap to Google

    The “Sitemap” module is a system module: it always works and can't be turned off. You don't have to set anything up either — the default values suit most stores.

    1. Open the “Sitemap” card in the “SEO & URLs” section of the “Store settings” window.
    2. Copy the sitemap address: it's in the screen header and on the right, in “Sitemap address for Google Search Console:”.
    3. In Google Search Console, open your site → “Sitemaps”, paste the address and submit it. Do the same in Bing Webmaster Tools.
    Sitemap screen: header with the sitemap address, section anchors, build settings and the Google Search Console address on the right
    1Sitemap address
    2Rebuild frequency
    3Split into several files
    4Address for Google Search Console
    1. The sitemap address; the icon next to it copies it.
    2. How long the store keeps a built sitemap before rebuilding it; 24 hours is recommended.
    3. A large catalog is split into several files, each within the limit.
    4. The address to submit in Google Search Console and Bing Webmaster Tools.

    You don't need to add the sitemap to robots.txt: the store adds a Sitemap: line with its address there itself. If “Hide the store from search engines” is on, robots.txt has no such line.

    How to hide the store from search engines before launch

    While the store is being filled, you can hide it from Google and other search engines. Where: “Store settings” → “Store” → the “Store theme” card → the “Search engines” block → the “Hide the store from search engines” switch.

    • On every page the store tells search engines not to add it to search and not to follow its links (noindex, nofollow).
    • The Sitemap: line disappears from robots.txt, so search engines won't find the sitemap.
    • Customers see the site as usual: the switch affects only search engines.

    While the switch is on, the theme screen shows “Hidden from search”. “Still to set up” shows “The store is hidden from search engines — turn this off before launch”.

    Before launch, turn the switch off and click “Save” — otherwise the site won't appear in search. Pages already in search don't drop out right after you turn it on, but over a few weeks.

    What goes into the sitemap

    PagesWhich ones
    Home page, categories, information pagesEnabled ones
    BrandsThose with at least one product that goes into the sitemap
    ProductsEnabled ones with an availability date not in the future
    BlogEnabled categories and published articles without “noindex”, if the store has a blog
    Filter SEO pagesEnabled ones without “Do not index (noindex)”

    When the store has two or more languages, every address comes with all its language versions. The search engine shows each person the page in their language. Nothing to turn on.

    A large catalog is split into several files if “Split the sitemap into several files” is on. “Addresses per file” sets how many addresses go into each file, from 100 to 50,000; 10,000 by default. Google reads up to 50,000 addresses from one file.

    How often the sitemap updates

    The store builds the sitemap in advance and keeps it as ready files, so a search engine doesn't wait while a large catalog is being processed. How long the files live is set by “How often to rebuild the sitemap” in the “How the sitemap is built” block.

    • Every hour the store checks whether the files are fresh. Fresh — it does nothing. Outdated — it rebuilds the whole sitemap.
    • A catalog export from Elbuz resets the ready sitemap: within an hour it's rebuilt with the new products.
    • After “Save”, the store deletes the old sitemap within a few minutes. Then the first search engine request or the next hourly check builds it with the new settings. The files are kept for the “How often to rebuild the sitemap” period.
    How often to rebuild the sitemapWhat you get
    24 Hours (recommended)The sitemap is built once a day and after every catalog export
    1, 6 or 12 hoursMore often, but more work for the site
    1 WeekRarely; new products still get in after an export
    On every request (don’t store)The sitemap is built every time a crawler asks for it. A “Sitemap cache is off…” warning appears on the right: on a large catalog this loads the site

    How to keep unwanted pages out of the sitemap

    The “What stays out of the sitemap” block removes pages that aren't worth showing to search engines.

    The block of what stays out of the sitemap, with the Images block above it
    1Products without images
    2Zero-price products
    3Exclude categories
    4Add product photos
    1. Products without a main photo are left out of the sitemap.
    2. Products with a zero price are left out of the sitemap.
    3. Selected categories and products that sit only in them are left out.
    4. The main product photo goes into the sitemap for image search.
    FieldWhat it removes
    Exclude products without imagesProducts without a main photo — unfinished product cards
    Exclude zero price productsProducts with a base price of 0 — “price on request” and drafts. Set a price, and the product returns to the sitemap at the next update
    Exclude categoriesThe selected categories and products that are only in them

    “Exclude categories” removes only the selected categories: select their subcategories separately. A product that is also in another, non-excluded category stays in the sitemap.

    The sitemap only suggests addresses to the search engine. A page missing from the sitemap doesn't drop out of search by itself if links lead to it.

    Product photos in the sitemap

    The “Images” block: “Add product photos” adds each product's main photo to the sitemap — this helps products show up in image search. On by default.

    To keep products without photos out of the sitemap, also turn on “Exclude products without images” in the “What stays out of the sitemap” block.

    Scenarios

    Electronics: remove discounted and archived items

    Put these products in the “Discounted” and “Archived models” categories, select both in “Exclude categories” and save. The sitemap keeps the products that are on sale.

    Made-to-order appliances without a price

    Turn on “Exclude zero price products”. Washing machines priced at 0 don't get into the sitemap, and as soon as a price appears, the product returns by itself.

    Clothing and furniture: image search

    Leave “Add product photos” on, and in the “What stays out of the sitemap” block turn on “Exclude products without images”. Product photos go into the sitemap, empty product cards don't.

    A new store

    Change nothing. Copy the sitemap address on the right of the screen and add it to Google Search Console and Bing Webmaster Tools. In a few days they show how many pages the search engine has picked up.

    What to do when the sitemap doesn't work as expected

    What you seeWhyWhat to do
    A new product isn't in the sitemap The sitemap hasn't updated yet, the product is disabled, its availability date is in the future, it has no photo or price while exclusions are on, or it's only in an excluded category Wait up to an hour after a catalog export. Check the product and the “What stays out of the sitemap” block
    On the right: “Sitemap cache is off — the sitemap is rebuilt on every crawler request…” “How often to rebuild the sitemap” is set to “On every request (don’t store)” Set “24 Hours (recommended)” and save
    robots.txt has no Sitemap: line “Hide the store from search engines” is on in the store theme Turn it off when the store is ready to launch
    “The store did not accept some values: see the highlighted fields” or “The store did not accept the settings” The store rejected some fields or didn't respond Fix the highlighted fields and save. If no fields are highlighted, the changes go with the next export

    FAQ

    Can I turn the sitemap off?

    No, it's a system module and always works. To remove individual products and categories, use the “What stays out of the sitemap” block.

    Do I need to tell search engines the sitemap has changed?

    No. Google rereads the sitemap from robots.txt and Search Console by itself. For Bing and other search engines to get a list of changed addresses, there's the “Fast indexing (IndexNow)” module in the same “SEO & URLs” section.

    Do filter SEO pages go into the sitemap?

    Yes, enabled ones without “noindex”. You don't need to add them to Google separately. More: “How to set up the product filter in your store”.

    How long until settings changes reach the sitemap?

    A few minutes: the store deletes the old sitemap, and the next search engine request gets a sitemap with the new settings.

    Do I need a separate sitemap for each language?

    No. A single /sitemap.xml address contains all language versions of the pages.

    Where to find it and who has access

    Menu
    Directories → Operations → Store settings → “SEO & URLs” → “Sitemap”
    Access rights
    the “Store settings” window in group permissions
    Prepare
    a published store on your own domain, a Google Search Console account

    Related topics

    Was this article helpful?

    Missing a feature? Tell us.

    We will add it for free if other users need it too.

    If only you need it, we will agree on it separately.

    Article contents

    Suggest an improvement

    Try Elbuz free