When you generate a sitemap, your Homepage URL, Item URLs, Commerce Category URLs, and Commerce Subcategory URLs are added by default. To add any additional URLs such as Site Builder Category URLs, Blog posts, and so on, follow the steps outlined in Add User-Defined URLs to the Sitemap. To add the change frequency for each URL in the sitemap, follow the steps outlined in Advanced Sitemap Configuration.
To add URL metadata such as last modified date, change frequency, and priority, follow the steps outlined in Advanced Sitemap Configuration.
Note
For Matrix Items, URLs of only the matrix parent items are added to the sitemap file.
To generate a sitemap:
- Go to Commerce > Marketing > SEO > Sitemap Generator.The Sitemap Generator – Websites page appears.
- From the list of domains, select one or more domains for which you would like to generate a sitemap.
- Click Generate Sitemap.You can view the progress in the Status column.
- When you generate the sitemap first time, you must add the sitemap index file name to the
robots.txtfile as described in Update Sitemap Details in the robots.txt File.
Add Site Management Tools Landing Pages to the Sitemap
You can add SMT landing page URLs to your sitemap in addition to the default Homepage URL, Item URLs, Commerce Category and Subcategy URLs. For more information about SMT Landing Pages, see Landing Pages.
To add SMT landing page URLs to the sitemap:
- Go to Commerce > Marketing > SEO > Sitemap Generator.
- Click Edit in the Settings column for the desired domain.
- Check the Add SMT Landing Pages box.
- Click Save.
The next time you generate a sitemap for this domain, URLs of the SMT landing pages in the published state are included in the sitemap. For more information, see Generate a Sitemap.
Add User-Defined URLs to the Sitemap
By editing the Sitemap Generator settings, you can add up to 10,000 user-defined URLs to the sitemap in addition to the most important page URLs that are added by default.
To add user-defined page URLs to the sitemap:
- Go to Commerce > Marketing > SEO > Sitemap Generator.
- Click Edit in the Settings column for the desired domain.
- Select the Include these Pages in the Sitemap Generation option.
- Manually add all the desired page URL paths.
- Click Save.
The next time you generate a sitemap for this domain, the user-defined page URLs you added are included in the sitemap. For more information, see Generate a Sitemap.
Sitemap Generator Scheduler
You can configure the Sitemap Generator to automatically update your XML sitemap either daily, weekly, or monthly. Scheduling ensures you always have an up-to-date sitemap available for search engines to index.
For example, if you frequently add new items or update the product details page, you can use the Sitemap Generator Scheduler to configure sitemap generation to occur weekly.
To schedule automatic sitemap generation:
- Go to Commerce > Marketing > SEO > Sitemap Generator.
- Click Edit in the Settings column for the desired domain.
- Click the Scheduling subtab.
- Check the Enable Scheduling of Sitemap Generation box.
- To set the frequency of automatic sitemap generation, select one of the following:
- Daily – Triggers sitemap generation every day.
- Weekly – Triggers sitemap generation on the specified day of every week.
- Monthly – Triggers sitemap generation on the specified day of every month.
- Click Save.