sisl-source / module-url-rewrite-optimiser
A Magento module that stops URL rewrites with category paths being generated for products when 'Use Categories Path for Product URLs' setting is disabled in config.
Package info
github.com/SISL-source/module-url-rewrite-optimiser
Type:magento2-module
pkg:composer/sisl-source/module-url-rewrite-optimiser
Requires
- php: ~8.1.0||~8.2.0||~8.3.0||~8.4.0||~8.5.0
- magento/framework: >=103.0.4 <104
- magento/module-catalog-url-rewrite: >=100.1
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Stops Magento 2 from generating product URL rewrites that include the full category path
when Use Categories Path for Product URLs is disabled — removing thousands of redundant
url_rewrite rows that slow down catalog operations and muddy your URL structure.
Maintained fork of fisheye/module-url-rewrite-optimiser, verified on Magento 2.4.9 / PHP 8.4.
What changed vs upstream
- Bumped
phpconstraint from^7.4 || ^8.0to 8.1–8.5 — the original would not install on PHP 8.3/8.4, i.e. it was a hard block on Magento 2.4.9. - Declared
magento/framework >=103.0.4 <104.
Install
composer require sisl-source/module-url-rewrite-optimiser bin/magento setup:upgrade
License
MIT (upstream). Maintained by SISL.
Maintained by SISL
Maintained fork by SISL — Magento 2 development and modules. More self-hosted plugins: SISL Marketplace.