• Magento  Admin Url Info:
    ==> bin/magento info:adminuri
  • Magento Enable/Disable command :
    ==> magento module:disable Magento_Weee
    ==> magento module:enable Magento_Weee
  • Filemode Ignore Command:
    ==> git config core.fileMode false
  • Magento admin url command:
    ==> php bin/magento info:adminuri
  • Magento 2 reindex:
    ==> bin/magento indexer:reindex
  • Magento 2 cache:
    ==> bin/magento cache:flush
  • Magento 2 static content Deploy:
    ==> bin/magento setup:static-content:deploy
  • Magento 2 compile & Upgrade:
    ==> bin/magento setup:di:compile
    ==> bin/magento setup:upgrade (Update the database)
  • Magento 2 Folder Permissions:
    ==> find . -type d -exec chmod 770 {} \; && find . -type f -exec chmod 660 {} \; && chmod u+x bin/magento
    ==> sudo chmod -R 777 var pub

Leave a Reply

Your email address will not be published.