Magento Path to CSS and JS incorrect
Solution 1
Check broken path
View the source of your page and click the CSS links, if it is pointed correctly it should bring you to the CSS page.
Solution
Need to go to phpMyAdmin and do this:
SELECT * FROM `core_config_data` WHERE `path` LIKE '%merge%'
Then change values from 1 to 0 Clear cache and all will be ok
Solution 2
I have experienced same problem. Mine was not with the secure/unsecure path. It was because the permissions for the folders. I meant the ownership of the directories, when I changed the ownership to right user, all went smooth.
Admin
Updated on June 05, 2022Comments
-
Admin almost 2 years
This website has broken after cache clearing: http://isaacgrainger.co.uk/
I've done the following as per other suggestions on here:
- checked folder permissions
- ran SQL script to turn merge CSS and JS off
- checked all permissions media and var folders
- checked base URLs- all fine
I am totally stumped. in the backend (unstyled) there seems to be no way to change CSS preferences. I didn't build this project so I don't know how the original developer configured the back end of Magento.