This question already has an answer here:

I deleted pub/static folder of Magento 2 Admin Panel. Now my Magento 2 Admin Panel looks like below.

enter image description here

I ran below commands

php bin/magento setup:upgrade

php bin/magento cache:flush

php bin/magento setup:static-content:deploy

php bin/magento indexer:reindex

But it still remains as like before. How can I get the actual look ?

marked as duplicate by Siarhey Uchukhlebau, Keyul Shah, Rakesh Jesadiya, liyakat, brentwpeterson May 28 '17 at 21:32

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


Download .htaccess from official Magento 2 repository

Run below command.

php bin/magento setup:upgrade

php bin/magento setup:static-content:deploy

Keep in mind never delete .htaccess file from pub/static


don't delete whole pub/static because inside static folder contain .htacess file. Please copy that file again and check it.

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