{"id":495,"date":"2018-08-03T02:55:15","date_gmt":"2018-08-03T02:55:15","guid":{"rendered":"https:\/\/litextension.com\/faq\/docs\/shopping-cart-questions\/magento-1-2\/how-to-reindex-magento\/"},"modified":"2020-05-15T18:16:17","modified_gmt":"2020-05-15T18:16:17","slug":"how-to-reindex-magento","status":"publish","type":"docs","link":"https:\/\/litextension.com\/faq\/docs\/shopping-cart-questions\/magento-1-2\/how-to-reindex-magento\/","title":{"rendered":"How to reindex Magento?"},"content":{"rendered":"<p>After migration to Magento, it\u2019s necessary to do data reindexing in order to make imported entities display correctly on the front end. Here\u2019s how to reindex Magento.<\/p>\n<p>&nbsp;<\/p>\n<h3>How to reindex Magento 1.x?<\/h3>\n<ol>\n<li>Log in to your Magento 1.x\u00a0<strong>Admin panel<\/strong><\/li>\n<li>Go to\u00a0<strong>System<\/strong>\u00a0\u2192\u00a0<strong>Index Management<\/strong>\u00a0\u2192 press\u00a0<strong>Select All<\/strong><\/li>\n<li>Pick \u201c<strong>Reindex Data<\/strong>\u201d from the\u00a0<strong>Action<\/strong>\u00a0dropdown and click\u00a0<strong>Submit<\/strong><\/li>\n<p>Then you need to clear your store\u2019s cache. In your Admin panel:<\/p>\n<li>Go to\u00a0<strong>System<\/strong>\u00a0\u2192\u00a0<strong>Cache Management<\/strong>\u00a0\u2192 press\u00a0<strong>Select All<\/strong>\u00a0and\u00a0<strong>Submit<\/strong><\/li>\n<li>Then, click\u00a0<strong>Flush Magento Cache<\/strong><\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h3>How to reindex Magento 2.x?<\/h3>\n<p>First of all, Connect to your Magento 2.x store via SSH. Then, follow the instructions below:<\/p>\n<ol>\n<li>In command line, go to the folder that contains your shop<\/li>\n<li>Step to your Magento 2 Store\u2019s root directory<\/li>\n<li>Reindex data using this command\n<pre><strong>php bin\/magento indexer:reindex<\/strong><\/pre>\n<\/li>\n<li>Resize product images to fit your Magento\u2019s template by using this command\n<pre><strong>php bin\/magento catalog:images:resize<\/strong><\/pre>\n<\/li>\n<li>Then, you need to clear your store\u2019s cache. Use this command to do that\n<pre><strong>php bin\/magento cache:flush<\/strong><\/pre>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<p>Don&#8217;t forget to visit\u00a0<a href=\"https:\/\/litextension.com\/blog\/\" target=\"_blank\" rel=\"noopener\">LitExtension Blog<\/a>\u00a0for more shopping cart migration tutorials!<\/p>\n<p>In case you have any other questions, please reach out to us via:<\/p>\n<ul>\n<li><a href=\"https:\/\/litextension.zendesk.com\/hc\/en-us\/signin?return_to=https%3A%2F%2Flitextension.zendesk.com%2Fhc%2Fen-us%2Frequests\" target=\"_blank\" rel=\"noopener\">Ticket system<\/a> (highly recommended)<\/li>\n<li>Email us at <a href=\"mailto:contact@litextension.com\" target=\"_blank\" rel=\"noopener\">contact@litextension.com<\/a><\/li>\n<\/ul>\n","protected":false},"author":1,"featured_media":0,"parent":20,"menu_order":9,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_tag":[1203,1270,1204,1374],"class_list":["post-495","docs","type-docs","status-publish","hentry","doc_tag-magento","doc_tag-magento-migration","doc_tag-magento-upgrade","doc_tag-reindex-magento"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/litextension.com\/faq\/wp-json\/wp\/v2\/docs\/495","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/litextension.com\/faq\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/litextension.com\/faq\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/litextension.com\/faq\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/litextension.com\/faq\/wp-json\/wp\/v2\/comments?post=495"}],"version-history":[{"count":5,"href":"https:\/\/litextension.com\/faq\/wp-json\/wp\/v2\/docs\/495\/revisions"}],"predecessor-version":[{"id":5174,"href":"https:\/\/litextension.com\/faq\/wp-json\/wp\/v2\/docs\/495\/revisions\/5174"}],"up":[{"embeddable":true,"href":"https:\/\/litextension.com\/faq\/wp-json\/wp\/v2\/docs\/20"}],"next":[{"title":"How to upload LitExtension Connector to Magento Cloud?","link":"https:\/\/litextension.com\/faq\/docs\/shopping-cart-questions\/magento-1-2\/how-to-upload-litextension-connector-to-magento-cloud-project\/","href":"https:\/\/litextension.com\/faq\/wp-json\/wp\/v2\/docs\/4367"}],"prev":[{"title":"Can LitExtension migrate attribute sets to Magento?","link":"https:\/\/litextension.com\/faq\/docs\/shopping-cart-questions\/magento-1-2\/can-litextension-migrate-attribute-sets-to-magento\/","href":"https:\/\/litextension.com\/faq\/wp-json\/wp\/v2\/docs\/181"}],"wp:attachment":[{"href":"https:\/\/litextension.com\/faq\/wp-json\/wp\/v2\/media?parent=495"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/litextension.com\/faq\/wp-json\/wp\/v2\/doc_tag?post=495"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}