0

Have this issue all css and js are not loaded on live site. Tried with terminal to do this.

php bin/magento setup:static-content:deploy -f

then php bin/magento indexer:reindex

and in the end php bin/magento cache:flush

And after all this still have issue with css and js not loading. I need help bad.

4
  • You do have multi store website? Also share console error aor any other errors.
    – Ankit
    Mar 6, 2022 at 15:26
  • not a multi site here is the link industria.rs Mar 6, 2022 at 15:49
  • Do you have multi language?
    – Ankit
    Mar 6, 2022 at 17:43
  • I see site is running now.. please close this question now or add answer Mar 7, 2022 at 3:39

1 Answer 1

0

This is most likely issue with server configuration, look at .css or .js urls for example:

https://industria.rs/pub/static/frontend/Smartweb...

It should be something like:

https://industria.rs/static/version1644913932/frontend/Smartweb...

Check if your root folder is properly configured in server to be [MagentoRootDir]/pub/ and also compare your nginx configuration with default nginx conf

2
  • Im not that good with configuration but will try. Could you help and share what file need to be edited Mar 6, 2022 at 18:47
  • @AleksandarZubic. sorry to say but your are totally wrong. we can disable "version1644913932" this thing from admin. in his case it could be disabled. issue is something else. Mar 7, 2022 at 3:38

Your Answer

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

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