cancel
Showing results for 
Search instead for 
Did you mean: 

CSS JAVA SCRIPT not loading frontend and admin ?

CSS JAVA SCRIPT not loading frontend and admin ?

I was working on optimising my website page load times and I was putting in Secure Base Link URL Secure Base URL for Static View Files with place holder text {{secure_base_url}} when I saved the configuration the website admin and front end broke not loading CSS or Javascript. I'm absolutly desparate the website is live and linked to multiple social media acounts with products. Any help would really be appreciated!!!!

1 REPLY 1

Re: CSS JAVA SCRIPT not loading frontend and admin ?

I fixed it. I went to 

Open the Magento 2 database with your favorite MySQL tool then go to the core_config_data table.

Search for rows having these values in the column path (note that there could be more than one row for each value):

  • "web/unsecure/base_url" 
  • "web/secure/base_url"

I deleted the values I entered there and then saved the table. and then did 

php bin/magento cache:flush and it started loading again.