Download the PHP package softcommerce/module-url-rewrite-generator without Composer
On this page you can find all versions of the php package softcommerce/module-url-rewrite-generator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download softcommerce/module-url-rewrite-generator
More information about softcommerce/module-url-rewrite-generator
Files in softcommerce/module-url-rewrite-generator
Package module-url-rewrite-generator
Short Description URL Rewrite Generator Module.
License OSL-3.0 AFL-3.0
Informations about the package module-url-rewrite-generator
URL Rewrite Generator for Magento 2
Regenerate Magento's category and product URL rewrites from the CLI — fast, scriptable, and safe to run on stores with large catalogs. When rewrites drift after imports, category moves, or a botched migration, this module rebuilds them without touching the admin or reindexing the whole store.
Everything runs through bin/magento, so it slots straight into deploy pipelines and cron.
Why another URL rewrite tool
Magento regenerates rewrites lazily and offers no first-class "rebuild these now" command. This module fills the gap:
- Targeted regeneration — rebuild rewrites for the whole catalog, a single store, or a specific list of entity IDs, instead of an all-or-nothing reindex.
- Category-path product URLs — honours products whose URLs include their category path, so canonical paths survive a rebuild.
- Unique-URL mode — optionally pin each product to a single canonical path even when it's assigned to many categories (configurable in admin), avoiding duplicate-content URLs.
- Batched & schedulable — an optional cron worker drains the queue in configurable batches, so a full rebuild doesn't block a request or exhaust memory.
- Cleanup command — delete stale rewrites by entity type and/or store before regenerating.
Features
Generation
- Regenerate URL rewrites for categories — all, or a specific set of IDs
- Regenerate URL rewrites for products — all, per store, or a specific set of IDs
- Generate across all active stores in one pass, or scope to chosen store IDs
- Backfill / regenerate the product
url_keyattribute value (optionally from any source attribute) - Respects both category and product URL suffix settings
- Compatible with category-path product URLs
Cleanup
- Delete URL rewrites filtered by entity type (
category,product) and/or store ID - Accepts comma-separated lists for bulk operations
Configuration (admin)
Stores → Configuration → URL Rewrite Generator → Product Entity Settings
- Include Invisible Product — include products with visibility Not Visible Individually in generation (default: No)
- Enable Unique Category/Product URL — restrict each product to one canonical path even when assigned to multiple categories, with selectable path-resolution options
- Enable Scheduler — run generation unattended via cron, with a configurable cron schedule (default
03:15) and batch size
Compatibility
- Open Source (CE) >= 2.4.0
- Commerce On Prem (EE) >= 2.4.0
- Commerce On Cloud (ECE) >= 2.4.0
- PHP 8.1 – 8.4
Installation
In production mode, redeploy static content after compilation:
Usage
Generate category URL rewrites
Generate product URL rewrites
Products with visibility Not Visible Individually are excluded unless Include Invisible Product is enabled in configuration.
Generate the product url_key attribute
Backfills or rebuilds the url_key value — useful before regenerating rewrites, or to derive keys from another attribute.
Delete URL rewrites
Support
Byte8 Ltd — [email protected]
License
Each source file in this package is licensed under OSL 3.0 / AFL 3.0 — see LICENSE.txt for full details.
Open Software License (OSL 3.0)
Thanks for dropping by
All versions of module-url-rewrite-generator with dependencies
magento/module-url-rewrite Version ^101|^102
softcommerce/module-core Version *