Skip to content

Latest commit

 

History

History
61 lines (40 loc) · 1.23 KB

README.md

File metadata and controls

61 lines (40 loc) · 1.23 KB

=================================== Rebuild Url Rewrite for magento 2

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.*