softcommerce/module-url-rewrite-generator
Composer 安装命令:
composer require softcommerce/module-url-rewrite-generator
包简介
URL Rewrite Generator Module.
README 文档
README
The core purpose of this extension is to provide an easy way of regenerating URL rewrites for Magento 2 using CLI.
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
- Open Source >= 2.4.0
- Commerce On Prem (EE) >= 2.4.0
- Commerce On Cloud (ECE) >= 2.4.0
Installation
Using composer
composer require softcommerceltd/module-url-rewrite-generator
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
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
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
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
Soft Commerce Ltd
support@softcommerce.io
License
Each source file included in this package is licensed under OSL 3.0.
Open Software License (OSL 3.0).
Please see LICENSE.txt for full details of the OSL 3.0 license.
Thanks for dropping by
softcommerce/module-url-rewrite-generator 适用场景与选型建议
softcommerce/module-url-rewrite-generator 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 44 次下载、GitHub Stars 达 0, 最近一次更新时间为 2023 年 07 月 17 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 softcommerce/module-url-rewrite-generator 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 softcommerce/module-url-rewrite-generator 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 44
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 11
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2023-07-17