- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2019
03:34 AM
05-28-2019
03:34 AM
moved magento to localhost (win10), css, js wont load
I moved a magento site from a liveserver to localhost (windows 10) and the css and js wont load
I have found this solution but it is for mac, can I make this work on windows?
Labels:
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2019
09:57 AM
05-28-2019
09:57 AM
Re: moved magento to localhost (win10), css, js wont load
Hi @alecom2go,
Please deploy following commands from root folder in the sequence once and check.
chmod -R 0777 var/ pub/ generated/ rm -rf var/cache/* var/view_preprocessed/* generated/* pub/static/* php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy php bin/magento cache:flush php bin/magento indexer:reindex chmod -R 0777 var/ pub/ generated/
I hope it will help you!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2019
05:54 AM
05-31-2019
05:54 AM
Re: moved magento to localhost (win10), css, js wont load
deploy the first two commands? or also the ones that are in grey?