Error linking css and js in the html "('text / html') is not a supported stylesheet MIME type"

0

I recently moved my site to another hosting with cPanel and I appreciate this error that never appeared before.

I got tired of reading but I could not find anything, I told them I did everything, but below I'll leave the steps I did to try to solve it.

1: add <base href = "/" />

2: The tags to link the style sheets have this format <link rel="stylesheet" type="text/css" href="assets/styles/custom-style.css"/>

I do not know if it will work but I leave you my HTACCESS link

This is the error that appears to me in the Chrome console and does not finish linking the style sheets, the server is in PHP

Refused to apply style from '<URL>' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
    
asked by Chiiviito 09.09.2018 в 11:01
source

0 answers