XML sitemap
An XML sitemap is a file that lists all the pages of 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 (typically available at /sitemap.xml) that gives search engines a complete overview of all pages on your webshop. It contains URLs, last update date, update frequency and priority for each page. Think of it as a map of your website that Google can use to find all pages efficiently.
Why is a sitemap important?
- Faster indexing: New products and pages are found and indexed faster by Google.
- Complete indexing: Pages that are hard to find via internal links (deep categories, isolated products) are discovered.
- Prioritization: You can signal which pages are most important and how often they are updated.
- Diagnostics: Google Search Console uses the sitemap to report indexing errors and coverage statistics.
The content of an XML sitemap
A sitemap file contains for each page:
- <loc>: The full URL of the page.
- <lastmod>: Date of last modification.
- <changefreq>: How often the page typically changes (daily, weekly, monthly).
- <priority>: A value from 0.0 to 1.0 indicating the relative importance of the page.
Sitemap index
Google allows a maximum of 50,000 URLs and 50 MB per sitemap file. For webshops with many products, a sitemap index is used - a file that links to several individual sitemap files (e.g. products, categories, articles as separate sitemaps).
Image sitemap
An image sitemap tells Google about images on your pages that it may not find through crawling alone. This is especially important for online stores as product images can show up in Google Image Search and drive extra traffic.
Sitemap and robots.txt
Your sitemap should be referenced in your robots.txt file so that search engines automatically find it:
Sitemap: https://dinshop.dk/sitemap.xml
You should also submit the sitemap directly in Google Search Console for fastest 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 aggregates them all. The sitemap includes products, categories, landing pages and articles with correct load mod dates and priorities (front page: 1.0, categories: 0.8, products: 0.7, landing pages: 0.9). Pages marked with no_index are automatically omitted. Shoporama also generates a separate image sitemap. The sitemap is cached for one hour for optimal performance.
We know online marketing in Shoporama
We've been working with online marketing ourselves for decades. As the only shop system in the country, we have spoken multiple times at conferences such as Marketingcamp, SEOday, Shopcamp, Digital Marketing, E-commerce Manager, Ecommerce Day, Web Analytics Wednesday and many more.