softcommerce/module-seosuite

适用于Magento 2的SEO Suite扩展

安装: 131

依赖项: 1

建议者: 0

安全: 0

星星: 1

关注者: 2

分支: 1

开放问题: 4

类型:magento2-module

1.1.1 2024-05-28 14:52 UTC

This package is auto-updated.

Last update: 2024-08-28 15:15:34 UTC


README

此扩展的核心目的是提供原始Magento软件包中缺失的页面SEO功能。

功能

  • 使用hreflang告诉搜索引擎关于您内容的变体;

兼容性

  • 开源 >= 2.4.0
  • 本地企业版 (EE) >= 2.4.0
  • 云企业版 (ECE) >= 2.4.0

安装

使用composer

composer require softcommerce/module-seosuite

安装后

# Enable the module
bin/magento module:enable SoftCommerce_SeoSuite

在生产模式下

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

在开发模式下

bin/magento setup:di:compile

使用方法

生成分类的重写URL

命令选项

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

示例

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

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

生成产品的重写URL

请注意,具有可见性不可单独显示 [id: 1]的产品将被排除在URL重写生成之外。

命令选项

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

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

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

删除URL重写

命令选项

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

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

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

支持

Soft Commerce Ltd
support@softcommerce.io

许可证

本软件包中包含的每个源代码文件均根据OSL 3.0许可。

开源软件许可 (OSL 3.0)。请参阅LICENSE.txt以获取OSL 3.0许可证的完整详细信息。

感谢您的访问

Soft Commerce Ltd
https://softcommerce.io/