: Why would my website suddenly require absolute URLs for CSS? So for months on this site I've had paths to my CSS files that look like: /css/syles.css and they've worked fine. Today I updated
So for months on this site I've had paths to my CSS files that look like:
/css/syles.css
and they've worked fine.
Today I updated the file and saw my changes weren't being reflected in the browser. In fact, in the Chrome's Inspector's Network tab the CSS file wasnt even loading.
The only way I could get it to work was by making the path absolute, eg:
www.example.com/css/styles.css
There is no caching service on the host, nothing like Cloudflare and, of course, I cleared my browser cache.
It's not a big deal, but I'm just curious as to why this happened.
Host is your average shared server LAMP stack.
More posts by @Murray432
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.