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.
-
You do have multi store website? Also share console error aor any other errors.Ankit– Ankit2022年03月06日 15:26:12 +00:00Commented Mar 6, 2022 at 15:26
-
not a multi site here is the link industria.rsAleksandar Zubic– Aleksandar Zubic2022年03月06日 15:49:31 +00:00Commented Mar 6, 2022 at 15:49
-
Do you have multi language?Ankit– Ankit2022年03月06日 17:43:40 +00:00Commented Mar 6, 2022 at 17:43
-
I see site is running now.. please close this question now or add answerGohil Rajesh– Gohil Rajesh2022年03月07日 03:39:53 +00:00Commented Mar 7, 2022 at 3:39
1 Answer 1
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
-
Im not that good with configuration but will try. Could you help and share what file need to be editedAleksandar Zubic– Aleksandar Zubic2022年03月06日 18:47:51 +00:00Commented 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.Gohil Rajesh– Gohil Rajesh2022年03月07日 03:38:55 +00:00Commented Mar 7, 2022 at 3:38
Explore related questions
See similar questions with these tags.