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 https://docs.shopware.com/en/account-en/manufacturer-area/quality-guidelines-for-extensions-in-the-community-store#extension-pages-with-their-own-url-must-appear-in-the-sitemap-xml 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?