Contact
Site: US UK AU |

How to issue a reindex in Magento

How to issue a reindex in Magento 

Overview
This article shows how to issue a reindex in Magento from the Admin Panel and from the command line.

Procedure

Method 1 is preferred for most clients; you should use Method 2 only if Method 1 fails because it requires SSH access and some familiarity with the command line interface (CLI).

Attention: If you prefer, you may use your SiteWorx account to automate reindexing as a cron job. For assistance, refer to How to set up cron jobs and use the example provided.

Method 1: Using the Admin Panel

  1. Log in to Magento Admin Panel.
  2. Click System > Index Management (Figure 1).


    Figure 1. Magento Admin Panel; System Index Management.

  3. On the left, select any or all categories to reindex. If you want to reindex all categories, click Select All (Figure 2).


    Figure 2. Categories and corresponding check boxes.

  4. From the Actions drop-down list, select Reindex Data and then click Submit (Figure 3).


    Figure 3. Actions > Reindex data > Submit.

  5. Depending on how many categories, and the amount of information that needs to be reindexed, this could take minutes or hours.  
  6. If the reindex does not finish, proceed with Method 2 below. 

Method 2: Using the command line

You must have SSH access to use this method. If you do not yet have SSH access, refer to How to obtain SSH access from Nexcess for guidance.

Using the command line should indicate more descriptive errors should one arise. If necessary, contact our Support Team by email or through the Client Portal

  1. Log in to the server using the SSH credentials provided to you by our Support Team.
  2. Navigate to your Magento installation:

    /home/demo/demosite.com/html/

  3. After accessing the Magento directory, navigate to the shell directory:

    cd shell

  4. To view the current status of the Magento indexer, enter:

    php indexer.php --status

  5. To issue a reindex of all categories, enter:

    php indexer.php --reindexall

    To see a list of specific categories for reindexing, enter:

    php indexer.php info

For 24-hour assistance any day of the year, contact our Support Team by email or through the Client Portal.

 

Article Rating (1 Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
 
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
How to set Magento file permissions
Added on Mon, Nov 3, 2014
How to add admin users in Magento 1.x
Added on Wed, Dec 7, 2016
How to disable caching in Magento
Added on Tue, Nov 5, 2013
How to install Magento CE v1.8 and later
Added on Thu, Mar 6, 2014
How to perform Magento database maintenance
Added on Tue, Jul 30, 2013
What are some useful Magento scripts?
Added on Mon, Oct 13, 2014
How to enable the Magento profiler
Added on Thu, Feb 25, 2016
How to remove index.php from your Magento site URL
Added on Wed, May 31, 2017
How to manage disk space in Magento
Added on Tue, Jan 15, 2019
How to configure the Magento Product Importer (Magmi)
Added on Mon, Jan 26, 2015