Can anyone explain how to add a storefront custom URL in sitemap.xml? I know this question was answered before, but I still have some doublets.
Can across this link Quality Guidelines for extensions in the Community Store and I tried to follow it.
Currently, I have a CustomProvider placed inside the plugin, but what I do not understand is:
- What exactly should happen inside getUrls ? Should I follow Shopware\Core\Content\Sitemap\Provider\CategoryUrlProvider implementation?
- And why isn’t Shopware\Core\Content\Sitemap\Provider\CustomUrlProvider used for new URLs?