PHPackages                             softcommerce/module-url-rewrite-generator - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. softcommerce/module-url-rewrite-generator

ActiveMagento2-module

softcommerce/module-url-rewrite-generator
=========================================

URL Rewrite Generator Module.

1.3.2(3mo ago)0431[12 issues](https://github.com/softcommerceltd/magento-url-rewrite-generator/issues)OSL-3.0PHPPHP ~8.1.0||~8.2.0||~8.3.0||~8.4.0

Since Nov 19Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/softcommerceltd/magento-url-rewrite-generator)[ Packagist](https://packagist.org/packages/softcommerce/module-url-rewrite-generator)[ RSS](/packages/softcommerce-module-url-rewrite-generator/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (2)Versions (24)Used By (0)

URL Rewrite Regeneration extension for Magento 2
================================================

[](#url-rewrite-regeneration-extension-for-magento-2)

The core purpose of this extension is to provide an easy way of regenerating URL rewrites for Magento 2 using CLI.

Features
--------

[](#features)

- Generate URL rewrites for Category
- Generate URL rewrites for Product
- Generate URL for all active stores
- Delete URL rewrites by entity or store criteria
- Compatible Search Engine Optimization
- Compatible with product URLs that use category paths
- Compatible with both Category and Product URL Suffix
- Create permanent redirects for URLs if URL Key Changed

Compatibility
-------------

[](#compatibility)

- Open Source &gt;= 2.4.0
- Commerce On Prem (EE) &gt;= 2.4.0
- Commerce On Cloud (ECE) &gt;= 2.4.0

Installation
------------

[](#installation)

Using composer

```
composer require softcommerceltd/module-url-rewrite-generator

```

Post Installation
-----------------

[](#post-installation)

```
# Enable the module
bin/magento module:enable SoftCommerce_UrlRewriteGenerator
```

In production mode:

```
# compile & generate static files
bin/magento deploy:mode:set production
```

In development mode:

```
bin/magento setup:di:compile

```

Usage
-----

[](#usage)

### Generate URL rewrites for Category

[](#generate-url-rewrites-for-category)

Command options:

```
bin/magento url_rewrite:category:generate [id|-i]

```

Example:

```
# Regenerate URL rewrites for all categories:
bin/magento url_rewrite:category:generate

# Generate URL rewrites for particular categories with IDs 25 & 26:
bin/magento url_rewrite:category:generate -i 25,26
```

### Generate URL rewrites for Product

[](#generate-url-rewrites-for-product)

> Please note, products with visibility ***Not Visible Individually*** \[id: 1\] are excluded from URL rewrite generation.

Command options:

`bin/magento url_rewrite:product:generate [id|-i]`

```
# Regenerate URL rewrites for all products:
bin/magento url_rewrite:product:generate

# Generate URL rewrites for particular products with IDs 25 & 26:
bin/magento url_rewrite:product:generate -i 25,26
```

### Delete URL rewrites

[](#delete-url-rewrites)

Command options:

`bin/magento url_rewrite:delete [entity|-e || store|-s]`

```
# Delete URL rewrites for entity: product with store IDs: 1 and 2
bin/magento url_rewrite:delete -e product -s 1,2

# Delete URL rewrites for product and category entities with store IDs 1, 2 and 3
bin/magento url_rewrite:delete -e product,category -s 1,2,3
```

Support
-------

[](#support)

Soft Commerce Ltd

License
-------

[](#license)

Each source file included in this package is licensed under OSL 3.0.

[Open Software License (OSL 3.0)](https://opensource.org/licenses/osl-3.0.php). Please see `LICENSE.txt` for full details of the OSL 3.0 license.

Thanks for dropping by
----------------------

[](#thanks-for-dropping-by)

 [ ![Soft Commerce Ltd](https://camo.githubusercontent.com/05726a030bab5a49fa0520196d901e5ec9f4d8b9e43142e49e50f0cb0c47b0a4/68747470733a2f2f736f6674636f6d6d657263652e636f2e756b2f7075622f6d656469612f62616e6e65722f6c6f676f2e737667) ](https://softcommerce.co.uk)
 [https://softcommerce.io/](https://softcommerce.co.uk/)

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance78

Regular maintenance activity

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~50 days

Recently: every ~132 days

Total

23

Last Release

114d ago

PHP version history (4 changes)1.0.0PHP ~7.4.0||~8.0.0||~8.1.0

1.0.3PHP ~8.0.0||~8.1.0||~8.2.0

1.1.3PHP ~8.0.0||~8.1.0||~8.2.0||~8.3.0

1.3.0PHP ~8.1.0||~8.2.0||~8.3.0||~8.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/612c19aab21c48e9c7d11d11eab8863b9473743c6ab7335aeb5a1424129b46cc?d=identicon)[softcom](/maintainers/softcom)

---

Top Contributors

[![softcommerceltd](https://avatars.githubusercontent.com/u/6104757?v=4)](https://github.com/softcommerceltd "softcommerceltd (34 commits)")

### Embed Badge

![Health badge](/badges/softcommerce-module-url-rewrite-generator/health.svg)

```
[![Health](https://phpackages.com/badges/softcommerce-module-url-rewrite-generator/health.svg)](https://phpackages.com/packages/softcommerce-module-url-rewrite-generator)
```

###  Alternatives

[elgentos/regenerate-catalog-urls

Regenerate Catalog URL Rewrites (products, categories, cms pages)

2822.5M](/packages/elgentos-regenerate-catalog-urls)[dotdigital/dotdigital-magento2-extension

Dotdigital for Magento 2

50366.5k13](/packages/dotdigital-dotdigital-magento2-extension)[magento/module-upward-connector

Magento module used for routing all frontend requests through UPWARD-PHP.

24401.5k1](/packages/magento-module-upward-connector)[faonni/module-indexer-url-rewrite

Extension rebuild UrlRewrite index.

4071.7k](/packages/faonni-module-indexer-url-rewrite)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
