0

I am installing magento 2.2 on server. its install completely, but after that home page and admin panel could not loaded css.

enter image description here

i tried lots of thing, like:

1.php bin/magento setup:static-content:deploy

  1. `

Magento\Framework\App\View\Asset\MaterializationStrategy\Symlink

To:



 Magento\Framework\App\View\Asset\MaterializationStrategy\Copy`

buts still its not fix. the same magento website is work perfectly on localhost, this issue is only on server.

  • 1
    check .htaccess file is present inside the pub folder – Jeeva Chezhiyan May 30 '18 at 10:49
  • Please chekc mod rewrite enabled at your server – Amit Bera May 30 '18 at 10:51
  • @JeevaChezhiyan yes , you are correct, i disble the .htaccess file inside the pub, and its start working. before that i am trying only with .htaccess in root folder and inside static folder. thank you once again – sam May 30 '18 at 10:58
  • Always welcome @sam – Jeeva Chezhiyan May 30 '18 at 11:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.