Resource interpreted as Stylesheet but transferred with MIME type text/html

My website didn’t load my css files and it cannot be found. It throws error like this:

Resource interpreted as Stylesheet but transferred with MIME type text/html: "https://infinityfree.net/errors/404/".

Is it regarding to enabling Cloudfare? Since in my localhost these .css files doesn’t have any problem
Here is my web: brentjude.ml

For me your website works fine and loads the CSS files. If you have any problem, please clear your browser cache.

2 Likes

Thanks for the reply but still not working. I already did clear the browser’s cache data. Is it regarding on the region? Since I tried it on my phone and still not working

When it returns 404 error. It means that file probably doesn’t exist. You can see which file doesn’t load in Inspect Element=>Network

2 Likes

Yes that’s why I’m wondering but it is exist inside htdocs/css file

Still no work. I think it is because that I enabled the Cloudfare? My .css files is present at the folder css. I don’t know what seems to be wrong. You should open my .css file right? but brentjude.ml/css/style.css and it will send a 404 error. I don’t know why. Anyone?

would you try to visit http://www.brentjude.ml ?

1 Like

Oh thank you. I think it is still in propagation.

Enabling Cloudflare shouldn’t cause 404 errors (unless you have some wacky rewrite rules somewhere).

3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.