experius/module-reindexcatalogurlrewrites 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

experius/module-reindexcatalogurlrewrites

最新稳定版本:1.2.5

Composer 安装命令:

composer require experius/module-reindexcatalogurlrewrites

包简介

无描述信息

README 文档

README

This module has been deprecated.

Please use the following recommended alternative:

https://github.com/elgentos/regenerate-catalog-urls

It is possible that the module has created invalid category url rewrites because the rewrites are created for all the stores and not for the stores which are related to the category. The recommended alternative uses the stores related to the categories.

To see if you have invalid url rewrites run the following select query:

SELECT DISTINCT u.url_rewrite_id from store as s INNER JOIN store_group as sg ON s.group_id = sg.group_id INNER JOIN catalog_category_entity as c ON sg.root_category_id = SUBSTRING_INDEX(SUBSTRING_INDEX(c.path, '/', 2), '/', -1) LEFT JOIN url_rewrite as u ON c.entity_id = u.entity_id AND s.store_id != u.store_id WHERE entity_type = 'category'; 

This query will return url rewrite ids which you can then remove from the url_rewrite table.

Warnings

  • BETA
  • Don't ever use without testing on dev or staging enviroment first.

Usage

All Categories, All Products, All Storeviews php bin/magento experius_reindexcatalogurlrewrites:categoryurls

Specific Products, Specific Store Ids

php bin/magento experius_reindexcatalogurlrewrites:producturls --product_ids=36,37 --store_ids=1

All Products, All Storeviews

php bin/magento experius_reindexcatalogurlrewrites:producturls

All Products, Selected Storeviews

php bin/magento experius_reindexcatalogurlrewrites:producturls --store_ids=1

All Storeviews, Selected Products

php bin/magento experius_reindexcatalogurlrewrites:producturls --product_ids=36,37

Credits

https://github.com/Iazel/magento2-regenurl/

@PascalBrouwers categories url pull request

统计信息

  • 总下载量: 9.62k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 10
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 10
  • Watchers: 4
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: proprietary
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固