Sitemap Generator CLI
v3.0.7
Sitemap Generator CLI
- Updates and support included for 12 months
- License key delivered immediately by email
- 30-day money-back guarantee
- Full documentation included
- Composer-ready installation
Sitemap Generator CLI
Genereer Google-conforme productsitemaps voor catalogi met miljoenen SKUs zonder uw server te laten smelten. Deze module vervangt Magento's native sitemap generator door een streaming, geheugenefficiënte implementatie die draait vanuit de CLI of op een configureerbare cron schedule, bestanden auto-split aan Google's 50 000 URL-limiet, en een sitemap index produceert die naar elk stuk verwijst.
Heeft uw winkel 50 000 SKUs, dan volstaat de native generator. Heeft u er 200 000, een half miljoen of meer dan een miljoen, dan volstaat hij niet meer: geheugendruk, kapotte cron jobs, gedeeltelijke sitemaps, ontbrekende URLs. Deze module is de rewrite die u nodig hebt wanneer "meer producten" geen prettig probleem meer is.
Voor wie
- Middelgrote tot grote catalogi (100k+ producten) waar de native sitemap generator out-of-memory of timeout draait
- B2B-distributeurs en marketplaces met miljoenen producten die wekelijkse of dagelijkse sitemap-regeneratie nodig hebben
- SEO-gedreven handelaars die image-URLs in hun sitemaps willen (
image:imagetags) om Google Image search te voeden
Belangrijkste voordelen
- Streaming XML-generatie — producten worden in configureerbare batches verwerkt en realtime naar disk geschreven. Het geheugen blijft vlak ongeacht de catalogusgrootte; getest op catalogi van 1,6M+ producten.
- Google-conforme auto-split — sitemaps worden gesplit aan de 50 000 URL-limiet (configureerbaar) en een sitemap index wordt automatisch gegenereerd, zodat Search Console de hele set in één URL accepteert.
- Productafbeeldingen inbegrepen — optionele
image:imagetags met image-URL en producttitel, klaar voor Google Image search. - CLI met progress en ETA —
bin/magento wimakeit:sitemap:productstoont een progress bar met verstreken tijd, ETA en huidig geheugengebruik, zodat u weet wanneer 1,6M producten klaar zullen zijn. - Cron-gedreven voor productie — dezelfde logica draait op een configureerbare schedule (standaard: zaterdag 00:22) en doorloopt elke actieve store.
enabled=Yesstandaard, zodat het direct na installatie werkt. - Output per store — bestanden worden genoemd
{prefix}-{store_id}-{n}.xmlen in een configureerbaar pad onderpub/gedropt. Makkelijk te koppelen aan uw robots.txt of CDN.
Compatibiliteit
- Magento 2.4.6 of hoger / Mage-OS equivalent
- PHP 8.1, 8.2, 8.3
- Vereist
wimakeit/module-core3.0 of hoger - Hangt niet af van
magento/module-sitemap— gebruikt directe productcollecties om de geheugengrenzen van die module te omzeilen - Schrijftoegang tot het geconfigureerde output-pad (standaard:
pub/media/sitemap/)
Installeer deze module via Composer. Zorg ervoor dat uw auth.json is geconfigureerd met uw Wimakeit-inloggegevens.
$ composer require wimakeit/module-sitemap-generator-cli:^3.0.7
$ bin/magento setup:upgrade
$ bin/magento setup:di:compile
Installation notes
The standard composer require + setup:upgrade + setup:di:compile flow applies. The points below cover what's specific to this module.
Required dependency
This module requires wimakeit/module-core 3.0 or later. Composer pulls it automatically from the Wimakeit registry as long as the registry is declared in your project's composer.json.
ACL permission
| Resource | Default |
|---|---|
Wimakeit_SitemapGeneratorCli::config (edit Sitemap Generator configuration) | granted to Administrator role only |
Configuration
Go to Stores → Configuration → Wimakeit → Sitemap Generator.
General settings
| Setting | Default |
|---|---|
| Enable | Yes |
| Include Product Images | Yes (adds image:image tags) |
| Batch Size | 1000 products per batch |
| Max URLs Per File | 50000 (Google's per-file limit) |
| Output Path | /media/sitemap/ (relative to pub/) |
| Filename Prefix | products — output: {prefix}-{store_id}-{n}.xml |
Cron settings
| Setting | Default |
|---|---|
| Enable Cron | Yes |
| Cron Schedule | **22 0 6** (Saturday 00:22) |
Cron job (registered automatically)
| Job | Schedule source |
|---|---|
wimakeit_sitemap_generator (group wmi_sitemap_generator) | reads wimakeit_sitemap/cron/schedule from admin config |
No setup needed beyond making sure Magento cron is running. The job walks every active store and writes one set of files per store.
Filesystem prerequisites
The web server user must have write access to the configured output path (default pub/media/sitemap/).
CLI usage
# Basic — all products for store 1
bin/magento wimakeit:sitemap:products
# With options
bin/magento wimakeit:sitemap:products \
--store=1 \
--batch=1000 \
--max-urls=50000 \
--filename=products \
--path=/media/sitemap/ \
--images \
--limit=1000
The --limit flag is useful for staging — generate a partial sitemap to verify XML structure before running against the full catalog.
robots.txt wiring
After the first run, point Google to your sitemap index:
Sitemap: https://your-store.com/media/sitemap/products-1.xml
Replace the path and store ID with whatever you configured.
- Versie
- v3.0.7
- Licentie
- Jaarabonnement
- Ondersteuning
- 12 maanden
- Last updated
- 25 aug. 2026
- Magento
- Magento 2.4.4 Magento 2.4.5 Magento 2.4.6 Magento 2.4.7 Mage-OS 2.0 Mage-OS 2.1
- PHP
- PHP 8.1 PHP 8.2 PHP 8.3
- Hyvä
- Niet compatibel
- Pakket
-
wimakeit/module-sitemap-generator-cli
Compatibility checker
Pick your stack to see if this module fits.
Compatibiliteit 4
Prijs & licentie 4
bin/magento module:disable; opruimen gebeurt automatisch via de revert van de setup patch. composer require in vendor/wimakeit/ terecht; u kan ze lezen, auditen en lokaal patchen voor uw eigen Magento-installatie. U mag de code NIET herverspreiden, sublicentiëren, op een publiek Composer-register publiceren of doorverkopen. Eén licentie = één productiedomein + één staging/dev-domein (zie de algemene voorwaarden voor de volledige EULA). Wimakeit-modules staan NIET op het publieke packagist.org — ze worden uitsluitend verspreid via het private Composer-register packages.wimakeit.be. Installatie & updates 6
composer require wimakeit/module-sitemap-generator-cli:^3.0.4 uit, daarna bin/magento setup:upgrade, bin/magento setup:di:compile en tot slot bin/magento cache:flush. Het tabblad Installation op deze pagina lijst elke configuratiestap (ACL's, crons, defaultwaarden) — een deploy duurt minuten, geen uren. Hulp nodig? Wimakeit biedt Magento-installatiediensten vanuit ons Waalse kantoor (Presles, tussen Charleroi en Namen). auth.json toe: {"http-basic": {"packages.wimakeit.be": {"username": "UW-E-MAIL", "password": "UW-TOKEN"}}}. Stap 3: registreer het repo: composer config repositories.wimakeit composer https://packages.wimakeit.be. Stap 4: composer require wimakeit/module-sitemap-generator-cli:^3.0.4. In CI/CD-pipelines injecteert u COMPOSER_AUTH als JSON-environment-variabele in plaats van auth.json te commit'en. composer require, zelfde modulecode, zelfde databaseschema — geen fork om te onderhouden, geen licentiewijziging. composer update blijft veilig binnen een major. app/design/frontend/{UwVendor}/{theme}/Wimakeit_{Module}/templates/ met hetzelfde relatieve pad. Blocks, ViewModels en Helpers worden overschreven via DI-preference in uw eigen custom module — declareer <preference for="Wimakeit\…\OriginalClass" type="UwVendor\Override\Class" /> in etc/di.xml. Layout-XML wordt uitgebreid (voorkeur) of overschreven op de standaard Magento-manier. Wimakeit-modules gebruiken nooit het keyword final op klassen die u redelijkerwijs zou willen override — overschrijven is een first-class scenario, geen hack. Support & beveiliging 3
contact@wimakeit.com met modulenaam, versie, Magento/Mage-OS-versie en reproduceringsstappen. Fixes verschijnen in de volgende patch. Wimakeit-support antwoordt in het Nederlands, Frans en Engels op werkdagen (CET-uren). contact@wimakeit.com met het voorvoegsel [SECURITY] in het onderwerp — vermeld de module, versie en reproductiestappen. Bevestiging op werkdagen, vermelding in het Changelog op verzoek. Wimakeit is een Belgische BV (besloten vennootschap) onderworpen aan Belgisch en Europees recht inzake privacy en responsible disclosure. Over Wimakeit 1
Iets gevonden dat niet in de FAQ staat?
Meld een bug of stel een vraag — het formulier is voor-ingevuld met deze module.
Changelog
Categories: Security, Feature, Fix, Perf, Admin, Deps.
[3.0.6] - 2026-06-05
Deps
- Marketing documentation refreshed to list PHP 8.4 in the supported PHP range.
[3.0.5] - 2026-06-05
Deps
- PHP 8.4 certified — constraint widened to
>=8.1 <8.5.
[3.0.4] - 2026-05-08
Admin
- Admin menu group standardized — module appears under a top-level Wimakeit_SitemapGeneratorCli entry with a Settings child that opens directly on the configuration section.
[3.0.3] - 2026-04-29
Admin
- Internal release pipeline standardized (validate, tag, deploy, release stages). No functional change for merchants.
Deps
- Certified PHP 8.1 → 8.3 support. Composer
phpconstraint tightened to>=8.1 <8.4.
[3.0.2] - 2026-04-07
Admin
- Cron classes migrated to the shared
AbstractCronbase fromwimakeit/module-core— consistent logging (logInfo/logError/logDebug) across all Wimakeit cron jobs.
Deps
- Depends on
wimakeit/module-corefor shared cron and config abstractions.
[3.0.1] - 2026-03-17
Admin
- CLI command migrated to the shared
AbstractCommandbase fromwimakeit/module-core— consistent option handling, progress bar behavior and logging across all Wimakeit CLI commands.
[3.0.0] - 2025-02-12
Feature
- New admin configuration panel under Stores → Configuration → Wimakeit → Sitemap Generator with batch size, max URLs per file, output path, filename prefix, and cron schedule.
- Product image support: optional
image:imageXML tags with image URL and product title, ready for Google Image search. - Automatic sitemap index generation when output exceeds the per-file URL limit.
Perf
- Complete rewrite for catalogs up to 1.6M+ products: streaming XML generation, configurable batch size, flat memory profile.
- Auto-split into multiple files at Google's 50,000-URL limit (configurable).
Admin
- CLI command renamed to
wimakeit:sitemap:productswith progress bar showing elapsed time, ETA and memory usage. - Cron reads its schedule from admin config (
config_path), so changes take effect without code edits. - Default cron schedule: Saturday 00:22 (
22 0 6).
Deps
- Dropped dependency on
icamys/php-sitemap-generator(replaced by in-module streaming writer). - Dropped dependency on
magento/module-sitemap(uses direct product collections instead).
[2.0.0] - 2024-12-15
Feature
- New
wimakeit:sitemap:listcommand to show all configured sitemaps. --storeoption to filter by store ID;--dry-runfor simulation.- Progress bar during sitemap generation and a results table with per-sitemap status.
Fix
- Fixed critical undefined
_objectManageraccess that broke the cron in some setups. - Fixed incorrect
sitemapCollectionFactoryproperty name and a missingNoSuchEntityExceptionimport. - Fixed cron calling a non-existent
generateSitemap()method. - Fixed duplicate command registration in
di.xml.
Admin
- Cron now iterates through all sitemaps with proper per-sitemap error handling.
- Comprehensive logging via
Psr\LoggerInterface.
Deps
- Removed runtime dependency on
wimakeit/module-core(re-added in 3.x for the shared debug logger).
[1.0.0] - 2024-06-20
Feature
- Initial release: CLI command for sitemap generation and cron job for automatic generation.
Een bug gevonden? Laat het ons weten.
Een kort formulier opent in een nieuw tabblad — de modulenaam en uw taal zijn al ingevuld. Beschrijf wat u probeerde, wat misging, en wij komen binnen één werkdag bij u terug.
Een bug melden voor Sitemap Generator CLIHulp nodig?
Ons team helpt u graag met de integratie.