I am changing my site to Production mode but CSS,JS is not loading after changing to production mode.

Group product has very odd issue. Display in Developer mode but not in Production mode.

2 Answers 2



php bin/magento indexer:reindex

php bin/magento setup:static-content:deploy


CSS and JS may not be loading due to following reasons

  1. Due to old cache. Clear cache. You can clear cache from System -> Cache management or from Mage_Root_Folder/var/cache

  2. Incorrect file permission/ownership of files/folders. For correct permission visit


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.