Skip to content
This repository has been archived by the owner on Jul 21, 2019. It is now read-only.

Rebuild Url Rewrite for magento 2

License

Notifications You must be signed in to change notification settings

DanielSousa/rebuild-urlrewrite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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