softcommerce/module-url-rewrite-generator
最新稳定版本:1.3.2
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
统计信息
- 总下载量: 40
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2023-07-17