Magento Path to CSS and JS incorrect

16,322

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.

enter image description here

Share:
16,322
Admin
Author by

Admin

Updated on June 05, 2022

Comments

  • Admin
    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:

    1. checked folder permissions
    2. ran SQL script to turn merge CSS and JS off
    3. checked all permissions media and var folders
    4. 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.