I have put my project on server amazon and i get no css none javascript and i tried every sol in stack but still not working please advice me to fix this issue thanks
Asked
Active
Viewed 39 times
0
-
did you go through this link https://magento.stackexchange.com/questions/97209/magento-2-css-and-javascript-not-loading-from-correct-folder? – Hitesh Nov 29 '18 at 11:36
-
have you check the css and js url in firbug i think there would be like staticversion showing in urls instead of direct pub/static path can you please check? – Magento Dev Nov 29 '18 at 11:37
-
http://ec2-35-165-167-215.us-west-2.compute.amazonaws.com/site/pub/static/version1543489755/adminhtml/Sm/shop4u/fr_FR/jquery/jstree/themes/default/style.css giving 404 not found – Developper Magento Nov 29 '18 at 11:41
-
ok go into pub/static directory and check is .htaccess there or not? – Magento Dev Nov 29 '18 at 11:43
-
yes i can see this file – Developper Magento Nov 29 '18 at 11:44
-
and in root directory also check – Magento Dev Nov 29 '18 at 11:46
-
yes , it's there – Developper Magento Nov 29 '18 at 12:37
-
Let us continue this discussion in chat. – Developper Magento Nov 29 '18 at 12:45