Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CSS not loading in godaddy

Tags:

html

css

I have researched this topic in stackoverflow and tried the solutions offered and still do not get my problem solved. I have two sites in godaddy constructed exactly the same, but one loads the css and the other does not. The site not loading css loads perfectly well in free hostings. I have tried checking case sensitive, path and folder issues, permissions and everything I can think of and still do not get the css loading. The css is in the css folder and everything seems ok. Here is my code:

    <link rel="stylesheet" href="/css/styles.css" type="text/css"/>
    <link rel="stylesheet" href="/css/flexslider.css" type="text/css"/>

url not working in godaddy: www.progeneticlagarita.com

url working: www.progeneticlagarita.x10host.com

Thanks in advance for any light on this!!

like image 489
Sara Avatar asked Jul 20 '26 02:07

Sara


1 Answers

Check that your Firewall Caching is not active. In GoDaddy this can prevent your CSS changes from being loaded to the live site. I had this problem as well and finally got help through support.

In GoDaddy account: Go to My Products > scroll down to Web Security And Backups > click Manage for the Web Security Premium package > under Firewall click Details > click Settings tab > then click Performance tab > then set Caching Level to Disabled.

This solved my problem.

like image 106
eengler Avatar answered Jul 22 '26 16:07

eengler



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!