2

I'm wondering is there any way to re-index the "Catalog Url Rewrites" of a specific store view in Magento with Multiple Stores. Is it possible to have store Id in indexer.php command-line?

1 Answer 1

1

Indexing all "Catalog Url Rewrites" This is not possible out of the box. Magento supports two ways of indexing One product/item or all for command line. you can check the indexer.php for more detail. Instead you can try the plainReindex($products = null, $attributes = null, $stores = null) function from the catalogindex/indexer like this along with store id:

Mage::getSingleton('catalogindex/indexer')->plainReindex(null, null, $store); 

Hope this will help you.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.