Goes out to the Sylius team. The core code of this plugin is created by the Sylius team. Unfortunately it got removed from the Sylius core. Luckily the Sylius team approved the extraction to a separate bundle.
- Run
composer require stefandoorn/sitemap-plugin
. - Add to
app/AppKernel.php
:
new SitemapPlugin\SitemapPlugin(),
- Add to
app/config/config.yml
:
- { resource: "@SitemapPlugin/Resources/config/config.yml" }
- Add to
app/config/routing.yml
:
sylius_sitemap:
resource: "@SitemapPlugin/Resources/config/routing.yml"