Skip to content

Instantly share code, notes, and snippets.

@jreinke
Created July 10, 2014 13:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jreinke/2b994e67db472c0f5251 to your computer and use it in GitHub Desktop.
Save jreinke/2b994e67db472c0f5251 to your computer and use it in GitHub Desktop.
Magento EE - Reindex category urls
<?php
// Reindex category urls
if (Mage::helper('core')->isModuleEnabled('Enterprise_Mview')) {
$client = Mage::getModel('enterprise_mview/client')
->init('enterprise_url_rewrite_category')
->execute('enterprise_catalog/index_action_url_rewrite_category_refresh');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment