PHP code example of experius / module-reindexcatalogurlrewrites

1. Go to this page and download the library: Download experius/module-reindexcatalogurlrewrites library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

experius / module-reindexcatalogurlrewrites example snippets

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