Reindex data via SSH.
All Magento data can be reindexed through the Magento Index Management section in the admin panel. However, sometimes the reindexing process times out and does not complete.
Reindex data via magento admin panel.
Easiest way is to login magento admin panel, got o “Systems > Index Management” and select all indexs, action to “Reindex Data” and click on submit button.
Reindex data programmatically in magento
Magento has different 9 different indexes. If you want to refresh all of them then following code will help you.
view plaincopy to clipboardprint?
for ($i = 0; $i < = 8; $i++) {
$process = Mage::getModel('index/process')->load($i);
$process->reindexAll();
}
All Magento data can be reindexed through the Magento Index Management section in the admin panel. However, sometimes the reindexing process times out and does not complete.
Reindex data via magento admin panel.
Easiest way is to login magento admin panel, got o “Systems > Index Management” and select all indexs, action to “Reindex Data” and click on submit button.
Reindex data programmatically in magento
Magento has different 9 different indexes. If you want to refresh all of them then following code will help you.
view plaincopy to clipboardprint?
for ($i = 0; $i < = 8; $i++) {
$process = Mage::getModel('index/process')->load($i);
$process->reindexAll();
}
No comments:
Post a Comment