Managing Sitemap.xml Settings
A sitemap helps search engines discover and index your storefront content more efficiently. SHOPLINE automatically generates a default sitemap.xml file for your storefront, which helps improve search engine crawling and SEO visibility.
In addition to the default sitemap, you can also upload custom sitemap files when needed for advanced SEO or international SEO configurations.
This guide explains how to manage the default sitemap, upload custom sitemap files, and understand important sitemap considerations.
Understanding Sitemap.xml
A sitemap is a structured XML file that lists important storefront URLs and helps search engines understand your website structure.
By default, SHOPLINE automatically generates a sitemap for your storefront at: https://yourstoredomain.com/sitemap.xml
Search engines such as Google and Bing use this sitemap to discover and index your storefront pages more efficiently.
Managing the Default Sitemap
You can enable or disable the default SHOPLINE-generated sitemap from the Sitemap.xml management settings.
- From your SHOPLINE admin, go to Online Store > Preferences.
- Locate the Sitemap.xml management section.
-
The current sitemap URL is displayed below Default sitemap. Use the toggle to enable or disable the default sitemap.
| Important: Disabling the default sitemap may affect how search engines crawl and index your storefront content. In most cases, it is recommended to keep the default sitemap enabled unless you plan to replace it with a fully managed custom sitemap configuration. |
Creating Product Sitemaps for Different Markets
When you use Markets to sell in multiple countries or regions, SHOPLINE automatically generates separate product sitemaps based on each market domain or URL structure. This helps ensure that search engines only crawl product URLs available in the corresponding market.
How Market-Specific Product Sitemaps Work
Each market-specific product sitemap contains only the products available in that market. The following example shows how SHOPLINE generates different product sitemaps based on market availability.
Example market and product setup:
| Market | Available Products |
US |
Product A, Product B, Product C |
UK |
Product A, Product B, Product D |
EU |
Product E, Product F, Product G |
The generated product sitemap for each market only includes products available in that market.
Example:
| Product Sitemap | Included Product URLs |
| US: https://example.com/sitemap_products_1.xml |
https://example.com/products/productA https://example.com/products/productB https://example.com/products/productC |
| UK: https://example.uk/sitemap_products_1.xml |
https://example.uk/products/productA https://example.uk/products/productB https://example.uk/products/productD |
| EU: https://example.com/en-eu/sitemap_products_1.xml |
https://example.com/en-eu/products/productE https://example.com/en-eu/products/productF https://example.com/en-eu/products/productG |
Checking Your Product Sitemap
To view your generated sitemap:
- From your SHOPLINE admin, go to Online Store > Preferences.
- Locate the Sitemap.xml management section.
- Click the sitemap URL displayed under Default sitemap.
The system automatically generates market-specific product sitemap files based on your market configuration.
Uploading a Custom Sitemap.xml File
SHOPLINE also supports uploading custom sitemap files for advanced SEO scenarios.
Common use cases include:
- Managing international SEO and hreflang sitemap structures
- Using externally generated sitemap files
- Supporting custom indexing strategies
If you do not already have a sitemap file, refer to the "Generating a Custom Sitemap.xml File" section below before proceeding.
To upload a custom sitemap:
- In the Sitemap.xml management section, locate Custom sitemap.
-
Click Upload Sitemap.xml.
- Select and upload your sitemap file.
|
Notes:
|
Generating a Custom Sitemap.xml File
If you need to create a custom sitemap file, you can use third-party sitemap generation tools or SEO platforms. For example, some merchants use sitemap generation tools to create XML sitemaps with hreflang tags for international SEO management.
SHOPLINE also provides access to a recommended sitemap generation tool. You can click Click here in the Sitemap.xml management section to open the sitemap generation page.
Before uploading a custom sitemap, verify that:
- The sitemap format is valid
- All URLs are accessible
- The sitemap follows search engine sitemap guidelines
Important Sitemap.xml Notes and Best Practices
- Incorrect sitemap configurations may negatively affect storefront indexing and SEO performance.
- Disabling the default sitemap without providing a valid replacement sitemap may prevent search engines from discovering storefront pages properly.
- Sitemap changes may take time to be reflected in search engine indexing results.
- For advanced SEO implementations, consult your SEO specialist before modifying sitemap configurations.