XML sitemap
An XML sitemap is a file that lists all the pages in your online store in a format that search engines can read. It helps Google find and index all your products, categories, and articles.
What is an XML sitemap?
An XML sitemap is a structured file (usually available at /sitemap.xml) that gives search engines a complete overview of all the pages in your online store. It contains the URL, the last updated date, the update frequency, and the priority of each page. Think of it as a map of your website that Google can use to find every page efficiently.
Why is a sitemap important?
- Faster indexing: Google finds and indexes new products and pages faster.
- Complete indexing: Pages that are hard to reach through internal links (deep categories, isolated products) get discovered.
- Prioritization: You can signal which pages matter most and how often they are updated.
- Diagnostics: Google Search Console uses the sitemap to report indexing errors and coverage statistics.
What an XML sitemap contains
For each page, a sitemap file contains:
- <loc>: The full URL of the page.
- <lastmod>: The date of the last change.
- <changefreq>: How often the page typically changes (daily, weekly, monthly).
- <priority>: A value from 0.0 to 1.0 that indicates the page's relative importance.
Sitemap index
Google allows a maximum of 50,000 URLs and 50 MB per sitemap file. Online stores with many products use a sitemap index: a file that links to several individual sitemap files (for example, separate sitemaps for products, categories, and articles).
Image sitemap
An image sitemap tells Google about images on your pages that it might not find through crawling alone. This is especially important for online stores, because product images can show up in Google Images and drive extra traffic.
Sitemap and robots.txt
Your sitemap should be referenced in your robots.txt file so search engines find it automatically:
Sitemap: https://dinshop.dk/sitemap.xml
You should also submit the sitemap directly in Google Search Console for the fastest possible indexing.
XML sitemap in Shoporama
Shoporama automatically generates XML sitemaps for your online store. The system creates paginated sitemaps with up to 50,000 URLs per file and a sitemap index that ties them all together. The sitemap includes products, categories, landing pages, and articles with correct lastmod dates and priorities (front page: 1.0, categories: 0.8, products: 0.7, landing pages: 0.9). Pages marked with no_index are left out automatically. Shoporama also generates a separate image sitemap. The sitemap is cached for one hour for optimal performance.
How to do it in Shoporama
Guides that show the term in practice
robots.txt: control what search engines can crawl
Understand what robots.txt does in your Shoporama store, what the default content is, how to add your own rules, and...
SEO in Shoporama: a complete guide to the SEO features
A complete guide to the SEO features in Shoporama, from meta titles, meta descriptions, and the XML sitemap to...
We know online marketing at Shoporama
We have worked with online marketing ourselves for decades. As the only e-commerce platform in Denmark, we have spoken several times at conferences such as Marketingcamp, SEOday, Shopcamp, Digital Marketing, E-commerce manageren, Ehandelsdagen, Web Analytics Wednesday, and many more.