danielsousa/magento2-module-urlrewrite

This package is abandoned and no longer maintained. The author suggests using the staempfli/magento2-module-rebuild-url-rewrite package instead.

Rebuild Url Rewrite for magento 2

Installs: 4 936

Dependents: 1

Suggesters: 0

Security: 0

Stars: 25

Watchers: 5

Forks: 9

Open Issues: 1

Type:magento2-module

1.1.0 2017-03-02 17:17 UTC

This package is auto-updated.

Last update: 2019-07-20 21:11:08 UTC


README

Rebuild all product url rewrites.

Build Status

Master Branch
Scrutinizer Code Quality Build Status

Installation

$ composer require "danielsousa/magento2-module-urlrewrite":"^1.0"

Usage

Rebuild all products urls

 bin/magento urlrewrite:rebuild:products

Rebuild all products urls from one store

 bin/magento urlrewrite:rebuild:products -s4

Rebuild one product url for one store

 bin/magento urlrewrite:rebuild:products -s1 -p 23

Rebuild one product url for all stores

 bin/magento urlrewrite:rebuild:products -p 23

Rebuild two or more products urls by store

 bin/magento urlrewrite:rebuild:products -s5 -p 74,323,1234

Prerequisites

  • PHP >= 5.6.0
  • Magento >= 2.1.*