Understanding Your Site's Sitemap File
5 min read
Important:
If you change the default canonical tag for a page, the page's URL may disappear from your site's sitemap. To restore the page URL to your sitemap, remove the canonical tag.
A sitemap is an XML file that contains a list of the URLs of the pages on your site. It also contains useful information such as the relationships between pages and when each page was last updated.
Sitemaps can help search engines prioritize pages of large sites, find pages that haven't been linked to, and crawl and index sites in greater detail. Without a sitemap, it can take search engines time to find your site's pages from its source code. A sitemap gives this information directly to search engines to increase indexing time and accuracy.
Wix automatically updates your site's sitemap whenever you make changes to your site.
In this article, learn more about:
The structure of your site's sitemap
Every Wix site comes with a sitemap index, which is a list of all your site's individual sitemaps. The individual sitemaps are made up of items which contain information about a group of pages on your site. These items contain info such as page URLs and the last time each page was updated.
For example, if you have Wix Stores on your site, your sitemap index has an individual sitemap for Wix Stores that contains a list of your product pages.
Sitemap index
The sitemap index is a list of all your individual sitemaps. Submitting this file to search engines helps them to detect and crawl each individual sitemap so that the pages can be appear in search results.
Here's an example of what a sitemap index looks like:
Individual sitemaps
Depending on what features you have on your site, your index may contain multiple individual sitemaps. For example, if you add Wix Stores on your site, Wix automatically creates an additional sitemap for it and adds it to your index.
Here's an example of a Wix Stores sitemap:
Sitemap items
Sitemap items contain page URLs and other relevant info like when a page was last updated. For example, each item in a Wix Stores sitemap represents a product page and has the following information:
- <loc>: The URL of the page.
- <lastmod>: The date that the page was last updated. This helps search engines understand if a page has changed since they last crawled it. Wix keeps your <lastmod> date updated automatically so search engines can always get the most updated info about your site.
- <image:loc>: Information about the product page's images such as their URLs.
Below is an example of an item in a Wix Stores sitemap:
Multilingual sitemaps
Sitemaps for Multilingual sites include the language and geolocation for each language it's available in. The structure of sitemap items for a Multilingual site has the following information:
- Static pages: {Site domain}/xx_xx-pages-sitemap.xml
- Multilingual integrated verticals: {Site domain}/xx-xx-{page type}-sitemap.xml
Here's an example of a German sitemap on a Wix Stores site:
Important:
Currently, Wix includes image information in the sitemaps for main pages, Wix Stores, Wix Events, Wix Blog, Wix Forum, Online Programs, Wix Restaurants and Portfolio. Don't worry - we'll be adding image information for more sitemaps in the future.
Tip:
Viewing your sitemaps
You can view your sitemap index by adding sitemap.xml to the end of your domain name in your browser's address bar. For example: https://mystunningwebsite.com/sitemap.xml
To see your other sitemaps, add the relevant URL path from the table in the types of sitemaps section above to the end of your domain name.
For example, to see your site's Wix Stores product pages sitemap, enter the following in the address bar: https://mystunningwebsite.com/store-products-sitemap.xml
Types of sitemaps that Wix supports
Each individual sitemap represents a single type of page on your site, such as your Wix Stores product pages or Wix Blog post pages.
Wix currently supports the following sitemap types:
Wix currently supports the following sitemap types:
Sitemap name | Sitemap type | URL path |
---|---|---|
Index | Main | /sitemap.xml |
Pages | Secondary | /pages-sitemap.xml |
Wix Blog posts | Secondary | /blog-posts-sitemap.xml |
Wix Blog categories | Secondary | /blog-categories-sitemap.xml |
Wix Bookings | Secondary | /booking-services-sitemap.xml |
Wix Data & router pages | Secondary | /dynamic-{prefix-name}-sitemap.xml |
Wix Events | Secondary | /event-pages-sitemap.xml |
Wix Forum posts | Secondary | /forum-posts-sitemap.xml |
Wix Forum categories | Secondary | /forum-categories-sitemap.xml |
Wix Groups posts | Secondary | /groups-posts-sitemap.xml |
Wix Hotels | Secondary | /hotels-rooms-sitemap.xml |
Members profiles | Secondary | /member-profile-sitemap.xml |
Online Programs | Secondary | /online-programs-sitemap.xml |
Wix Portfolio projects | Secondary | /portfolio-projects-sitemap.xml |
Wix Portfolio collections | Secondary | /portfolio-collections-sitemap.xml |
Wix Stores product pages | Secondary | /store-products-sitemap.xml |
Wix Multilingual | Index | /xx-xx_sitemap.xml |
Wix Multilingual | Page type | /{page-type}-sitemap.xml |
Others (This sitemap is used for all pages that don't belong to any other type) | Fallback | /other-pages-sitemap.xml |
Manually submitting your sitemap directly to search engines
When you complete your SEO Setup Checklist, Wix automatically submits your sitemap index to Google for you. When you make changes to your site, your sitemap will be automatically updated with the changes. There's no need to submit your sitemap to Google again.
If you want to submit your sitemap yourself, or submit it to other search engines, you can submit your sitemap directly.
You can also submit individual page URLs directly to search engines. For example, if you make changes to one of your blog posts, you should only re-submit that page's URL as it will be more accurate. Learn how to submit an individual URL
Did this help?
|