Sitemap

Shopware generates a standard sitemap that is compressed and cached in the file system. In order to support shops with many products and categories, the sitemap is divided into several files and can be generated in the background.

Administration

In the administration you can define the refresh time for the sitemap and set a refresh strategy how the sitemap should be updated.

scheduled

With this method, the sitemap is automatically generated with a scheduled task on a regular basis and stored in the file system.

live

This refresh strategy creates a sitemap when none is present. If one already exists, it will be recreated as soon as the time under Refresh time has elapsed.
 

manually

You can also disable the automatic sitemap creation completely, so that the sitemap will only be created if you call the following command manually:


php bin/console sitemap:generate

In this case, it is necessary to run this command again each time a new URL is added or an old one is removed.

Excluding and Adding URLs

how to add or exclude your own URLS you can find out in our Developer Documentation. 

Was this article helpful?