Skip to content
Lexiik
seo-technique

XML Sitemap — The Complete Guide for E-commerce

Last updated : February 17, 2026

An XML sitemap is a file that lists all the important URLs of your website, allowing search engines like Google and Bing to discover and index them quickly and efficiently. For online stores, it is a critical indexing lever: without a sitemap, your new product pages can take weeks to appear in search results.

What is an XML sitemap?

An XML sitemap is a machine-readable XML file that serves as a map of your site for search engine crawlers. It is typically accessible at https://your-store.com/sitemap.xml and follows the Sitemaps protocol standard, supported by Google, Bing, Yahoo, and Ask.

Each entry in an XML sitemap contains structured information about a URL:

  • <loc>: the absolute URL of the page (required)
  • <lastmod>: the date of last modification in ISO 8601 format (e.g., 2026-02-17)
  • <changefreq>: the estimated update frequency (daily, weekly, monthly…)
  • <priority>: the relative priority of the page compared to other URLs on the site (0.0 to 1.0)

A sitemap can contain up to 50,000 URLs and must not exceed 50 MB uncompressed. Beyond this limit, a sitemap index is used — a master file referencing multiple individual sitemap files. This is common practice for large e-commerce catalogs with tens of thousands of products.

Why do search engines need a sitemap?

Search engines discover pages in two ways: by following internal links from already-known pages (natural crawl), or by reading the XML sitemap directly. For a small website with a handful of pages, natural crawl is sufficient. For an online store with 500, 5,000 or 50,000 product references, the sitemap becomes indispensable.

Crawl budget: a limited resource

Google allocates a crawl budget to each site — a limited volume of pages that Googlebot will explore over a given period. If your site is slow or your internal link architecture is inefficient, Googlebot may miss hundreds of product pages. The XML sitemap explicitly tells it which pages to prioritize, optimizing crawl budget usage.

For an e-commerce store, this translates concretely into:

  • Faster indexing of new products (hours rather than days or weeks)
  • Guaranteed discovery of deep pages with few links from the main navigation
  • Freshness signal via the <lastmod> tag indicating updated pages
  • Smart prioritization of the most important pages (product pages vs. legal mentions)

Indexing speed

Studies conducted on PrestaShop stores show that submitting an XML sitemap to Google Search Console reduces the indexing delay for new pages by 72% on average, dropping from 14 days to fewer than 4 days.

Submission to Google Search Console and Bing Webmaster Tools

Having an XML sitemap is not enough: you must actively submit it to search engines. Google Search Console and Bing Webmaster Tools allow you to register the URL of your sitemap. The engines can then regularly retrieve it and notify you of any errors (inaccessible URLs, redirects, pages excluded by robots.txt, etc.).

The different types of sitemaps for e-commerce

For online stores, there is not just one type of sitemap but several, each optimized for a specific type of content.

📦

Product Sitemap

Lists all product pages. This is the most important for e-commerce: it ensures every catalog reference is indexable, even pages with few links from the main navigation.

🖼

Image Sitemap

Specifically references product images with their metadata (title, caption, license). Improves visibility in Google Images, a traffic source often underestimated in e-commerce.

📂

Category Sitemap

Lists category and subcategory pages. Essential for Google to understand the catalog structure and index navigation pages that target broad search queries.

📰

News Sitemap

Reserved for news publishers, it references articles published within the last 2 days. Useful if your store has an active blog or news section.

🌍

Multilingual Sitemap (hreflang)

Includes hreflang tags to indicate language versions of each page. Essential for stores selling in multiple countries or languages.

📋

Sitemap Index

A master file referencing other sitemap files. Used when the catalog exceeds 50,000 URLs or when content types are split into separate files.

How Lexiik automatically generates and submits your sitemap

Lexiik handles the entire lifecycle of the XML sitemap for your PrestaShop store, with no manual configuration required on your part. As soon as your store is connected to Lexiik, the system gets to work.

  1. 1
    Automatic sitemap generation

    Lexiik analyzes your PrestaShop catalog and generates a complete XML sitemap including all active product pages, categories, CMS pages, and product variants. The sitemap is structured into separate files by content type for maximum efficiency.

  2. 2
    E-commerce optimization

    Each URL is enriched with the actual last modification date (lastmod), a priority calculated according to the page's importance (1.0 for featured products, 0.8 for categories, 0.5 for secondary pages), and the change frequency adapted to the content type.

  3. 3
    Image sitemap inclusion

    Product images are automatically referenced in a dedicated image sitemap, with the product title as caption. This improves visibility in Google Images and maximizes the exposure of your catalog.

  4. 4
    CRON-based updates

    The sitemap is automatically regenerated by a CRON task with every catalog update: product additions, price changes, stock updates, new categories. You never need to manually trigger a regeneration.

  5. 5
    Submission to Google and Bing

    After each regeneration, Lexiik automatically submits the updated sitemap to Google Search Console and Bing Webmaster Tools via their respective APIs. Search engines are immediately notified of new pages to index.

Zero configuration required

Unlike manual solutions that require installing a separate plugin, technical configuration, and regular submissions, Lexiik handles everything automatically. Your sitemap is always up to date, always submitted, and always optimized for e-commerce.

Best practices for a high-performance e-commerce sitemap

Even though Lexiik automatically applies all these best practices, understanding them will help you interpret your Search Console reports and communicate with your technical teams.

Best practiceWhy it mattersWhat Lexiik does

Recommended update frequency

The sitemap regeneration frequency should align with your catalog update pace:

  • Active store (>10 changes/day): daily or even hourly regeneration
  • Average store (a few changes/week): weekly regeneration is sufficient
  • Static store (stable catalog): monthly regeneration acceptable, but always submit after any major addition

Lexiik automatically adapts the regeneration frequency based on the activity detected on your store, ensuring that search engines always have access to a fresh and accurate version of your catalog.

Common mistakes to avoid

  • Including URLs blocked by robots.txt: a logical contradiction that Google flags as an error in Search Console
  • Forgetting product variants: if each color or size has its own URL, it must appear in the sitemap
  • Never submitting the sitemap: generating a sitemap without submitting it only provides marginal benefit
  • HTTP URLs on an HTTPS site: always use absolute URLs with the correct protocol
  • Not monitoring GSC errors: Google Search Console flags problematic URLs in your sitemap — these alerts must be addressed

Watch out for duplicates

A sitemap that includes URLs with and without trailing slashes (/product/ and /product), HTTP and HTTPS versions, or UTM parameters will report duplicates to Google. Lexiik normalizes all URLs before including them in the sitemap.

Activate the automatic sitemap on your store

To benefit from Lexiik's automatic XML sitemap generation and submission, simply connect your PrestaShop store to your account. Within minutes, your first sitemap will be generated, optimized, and submitted to Google and Bing.