I had a problem with magento 2, where in localhost I created the website and everything was fine, after importing to my server the CSS and JS was not working.
I search for so many answers and still no luck, after awhile I decided to simply start again, so I imported magento to my server, installed it with no errors, but when I entered the home page the CSS and JS does not work.
Here's a couple of things I already tried:
php bin/magento setup:content-static:deploy
deleting the static folder and keep the .htacess and run
php bin/magento setup:content-static:deploy
Replacing Symlink with Copy
Checking the folders permissions
Here is the link of my website: http://maquinasdeoutrostempos.pt/
Thanks in advance
core_config_data(path,value) VALUES ('dev/static/sign', 0) ON DUPLICATE KEY UPDATEvalue=0;" – Venkatesh Mar 25 '18 at 14:43pubfolder? you are looking to thept_PTinsidepub, but sometime during deploys Magento will only populate theen_USfolder. Check that dir and if it's empty runphp bin/magento setup:content-static:deploy pt_PT– circlesix Mar 25 '18 at 15:14pubdir, when you navigate all the way down to the files that are kicking the 404 error on the site, what do you see? and what are the file permission and ownership? – circlesix Mar 25 '18 at 19:16