After migration css js not loading in magento 2

Answered

I just migrated my magento 2 website from one server to another. Everything seems fine, but css is broken. How to fix it.

Asked on October 10, 2018 in E-Commerce.
Add Comment
1 Answer(s)
Best answer

This is a normal issue with magento2 after migration or fresh installation. Do the following steps,

  1. Try content deploy
  2.  Run query in from phpmyadmin
    INSERT INTO `core_config_data` (`scope`, `scope_id`, `path`, `value`) VALUES ('default', 0, 'dev/static/sign', '0');
  3. Clear Cache
Answered on October 10, 2018.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.