How to delete a theme

Stores > Configuration > General > Design > Design Theme dropdown. When you will see still the name of theme. so how you will delete it. just go to the db and you will see theme table and then delete from theme where theme_id=5

Advertisements

Magento 2 Index Management

|| Magento2 reindex on local server

You can’t reindex from admin web. you have to reindex from command line

  1. go to command line from magento2 installation root directory

  2. php bin/magento indexer:reindex

if you got any error like ‘php’ is not recognized as an internal or external command,

so you need to Add E:\xampp\php to your PATH Environment Variable.

final command:
E:\xampp\htdocs\magento2>php bin/magento indexer:reindex