> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.weltpixel.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to reindex your Magento 2 store from admin or SSH / CLI

## a. Reindex from Magento Admin

*Sometimes not all indexers are reindexed using the admin reindex option. Always verify via SSH.*

1. Go to **System > Index Management** and check indexer statuses.
2. Select the items marked as **Reindex required**, then go to **Actions > Update on schedule**.

This will trigger a reindex for the selected indexers.

**Important:** Sometimes not all indexers are reindexed using Admin reindex, even if the time and date are updated. Double-check using the SSH/CLI method below.

![magento-2-admin-index-management-update-on-schedule](https://storage.crisp.chat/users/helpdesk/website/-/b/9/4/8/b948742b080f7000/46d36315-24bd-4e70-979b-4ed71b_27gaac.png)

### Reindex Mode

You can set your indexers as **Update on Save** (entities are indexed when saving admin configurations) or as **Update by Schedule** (indexers reindex on a recurring schedule, default once per day).

For **Update by Schedule** to work correctly, make sure your cron jobs are running properly. If you are using the WeltPixel [Magento 2 Pearl Theme](https://www.weltpixel.com/magento-2-theme-pearl) or any other WeltPixel [Magento 2 extension](https://www.weltpixel.com/magento2-extensions.html), you can verify cron jobs in the Developer Section included with our products.

This section also provides:

* Magento Mode: Production, Developer, or Default
* Magento Installation Path
* Magento Edition
* PHP Version
* Server User
* Current Date and Time
* Latest Cron Jobs

![weltpixel-developer-section-cron-status](https://storage.crisp.chat/users/helpdesk/website/-/d/1/c/9/d1c909fecbca2000/cd457fcd-b067-4ee8-a2ac-f7647b_8bq4nf.png)

---

## b. Reindex via SSH / CLI (Recommended)

### 1. Connect to your Magento 2 installation

Navigate to the root of your project (usually in `public_html` or `/html`).

### 2. Reindex all indexers

```bash
php bin/magento indexer:reindex
```

**Example output:**

```bash
Design Config Grid index has been rebuilt successfully in 00:00:00
Customer Grid index has been rebuilt successfully in 00:00:00
Category Products index has been rebuilt successfully in 00:00:00
Product Categories index has been rebuilt successfully in 00:00:00
Product Price index has been rebuilt successfully in 00:00:01
Product EAV index has been rebuilt successfully in 00:00:01
Catalog Search index has been rebuilt successfully in 00:00:01
Stock index has been rebuilt successfully in 00:00:00
Catalog Rule Product index has been rebuilt successfully in 00:00:01
Catalog Product Rule index has been rebuilt successfully in 00:00:00
```

![cli-reindex-step2](https://storage.crisp.chat/users/helpdesk/website/-/1/a/3/a/1a3adc65635d4200/232903d5-46ad-4278-b386-0a62f4_1emrzjc.png)

### 3. Check indexer status

```bash
php bin/magento indexer:status
```

**Example output:**

```bash
Design Config Grid:                  Ready
Customer Grid:                       Ready
Category Products:                   Ready
Product Categories:                  Ready
Product Price:                       Ready
Product EAV:                         Ready
Catalog Search:                      Ready
Stock:                               Ready
Catalog Rule Product:                Reindex required
Catalog Product Rule:                Ready
```

![cli-reindex-step3](https://storage.crisp.chat/users/helpdesk/website/-/c/6/8/4/c684aef252024000/e9e8e386-7972-474d-ba4b-943fbf_9m4x7q.png)

### 4. Show indexer IDs

```bash
php bin/magento indexer:info
```

**Example output:**

```bash
design_config_grid                 Design Config Grid
customer_grid                      Customer Grid
catalog_category_product           Category Products
catalog_product_category           Product Categories
catalog_product_price              Product Price
catalog_product_attribute          Product EAV
catalogsearch_fulltext             Catalog Search
cataloginventory_stock             Stock
catalogrule_rule                   Catalog Rule Product
catalogrule_product                Catalog Product Rule
```

![cli-reindex-step4](https://storage.crisp.chat/users/helpdesk/website/-/b/c/6/0/bc60f4db333af000/b3033baa-222f-4c88-bf34-721bad_y3pmf4.png)

### 5. Reindex individual indexers

Reindex the indexers that have status **Reindex required**.

```bash
php bin/magento indexer:reindex [indexer_id]
```

**Example:**

```bash
php bin/magento indexer:reindex catalogrule_rule
```

Reindexing all indexers individually:

```bash
php bin/magento indexer:reindex design_config_grid customer_grid
php bin/magento indexer:reindex catalog_category_product
php bin/magento indexer:reindex catalog_product_category
php bin/magento indexer:reindex catalog_product_price
php bin/magento indexer:reindex catalog_product_attribute
php bin/magento indexer:reindex catalogsearch_fulltext
php bin/magento indexer:reindex cataloginventory_stock
php bin/magento indexer:reindex catalogrule_rule
php bin/magento indexer:reindex catalogrule_product
```

### 6. Verify indexer status again

```bash
php bin/magento indexer:status
```

Now all indexers should show **Ready**.

![cli-reindex-step5](https://storage.crisp.chat/users/helpdesk/website/-/3/5/8/a/358ad2bbf32c7a00/1dd3aaa2-2500-4624-92e3-c7f04e_12cykk9.png)

---

✅ **Done! Your Magento 2 store has been successfully reindexed.**
