Type
magento2-module
Slightly better support for URL key generation in Magento 2
magento2-module
MIT
None
None
None
None
None
A somewhat smarter approach for auto-generating URL keys for products
Install using composer (Packagist details)
composer require marcuspi/module-product-url-key-generation
The module will autogenerate a URL key for any products that are created with a blank or missing url_key attribute via the REST WebAPI.
You can select which language to use as a base for slug generation (ie, Austrian users will want ß -> sz
, not ß -> ss
) in the backend under Stores -> Configuration -> Catalog -> Catalog -> Search Engine Optimization. It defaults to the store language.
This module uses the amazing slugify library.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.