This module is used alongside valantic-spryker/sitemap
Sitemap module to extend the sitemap with content page (CMS) URls.
composer require valantic-spryker/content-pages-sitemap-connector
- Since this is under ValanticSpryker namespace, make sure that in config_default:
$config[KernelConstants::CORE_NAMESPACES]
has the namespace$config[KernelConstants::PROJECT_NAMESPACES]
has the namespace
- Add
ContentPageSitemapCreatorPlugin
to\ValanticSpryker\Zed\Sitemap\SitemapDependencyProvider::getSitemapCreatorPluginStack
- Add
\ValanticSpryker\Shared\ContentPageSitemapConnector\ContentPageSitemapConnectorConstants::RESOURCE_TYPE
to\ValanticSpryker\Yves\Sitemap\SitemapDependencyProvider::getAvailableSitemapRouteResources
- Now the Sitemap will include published URLs of content pages.