Download the PHP package valantic-spryker/sitemap without Composer
On this page you can find all versions of the php package valantic-spryker/sitemap. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download valantic-spryker/sitemap
More information about valantic-spryker/sitemap
Files in valantic-spryker/sitemap
Package sitemap
Short Description Provides sitemap
License proprietary
Informations about the package sitemap
Sitemap:
Installation
-
Install dependency
-
Make sure that ValanticSpryker namespace is registered in
config_default.php
-
Register RouterPlugin
-
Register Console command
- Add cronjobs in
jenkins.php
for each store
When executing sitemap command from console, make sure to use the following syntax, in order to have correct base URLs:
APPLICATION_STORE=AT docker/sdk cli console sitemap:generate -vvv
-
You can optionally add sitemap url limit per one XML file in
config_default
. The default is 50000. -
Register connector modules to see resources such as category, product abstract urls. Information is provided in each connector module:
- https://github.com/valantic-CEC-Deutschland-GmbH/category-sitemap-connector
- https://github.com/valantic-CEC-Deutschland-GmbH/content-pages-sitemap-connector
- https://github.com/valantic-CEC-Deutschland-GmbH/product-abstract-sitemap-connector
- https://github.com/valantic-CEC-Deutschland-GmbH/product-concrete-sitemap-connector
- https://github.com/valantic-CEC-Deutschland-GmbH/merchant-sitemap-connector
- If you want to retrieve sitemap data from Redis instead of DB, install
sitemap-storage
module:
Access Sitemap
The index of sitemap is /sitemap.xml
, so for example on demo shop that would be http://yves.de.spryker.local/sitemap.xml
In multi-store context, URLs of all stores are included in the same sitemap index file. Sitemap index file structure example when using abstract product connector:
However, if your stores are configured to use different databases, there will be separate sitemap index files for each different database
All versions of sitemap with dependencies
league/uri Version ^6.7 || ^7.0
spryker/event-behavior Version ^1.23.0
spryker/kernel Version ^3.72.0
spryker/router Version ^1.14.0