How to reindex Magento 2.x?

After migration to Magento 2.x, it’s necessary to do data reindexing in order to make imported entities displayed correctly on the front end. Here’s how Magento reindex for version 2.x performed.

First off, connect to your Magento 2.x store via SSH. Then, follow the instructions below:

  1. In command line, go to the folder that contains your shop
  2. Step to your Magento 2 Store’s root directory
  3. Reindex data using this command php bin/magento indexer:reindex
  4. Resize product images to fit your Magento’s template by using this command php bin/magento catalog:images:resize

Then, you need to clear your store’s cache. Use this command to do that php bin/magento cache:flush

That’s all. Now you’re ready to check your Magento 2.x store for Demo or Full migration results!

Posted in: Magento