Bootstrap font not loading correctly glyphicons-halflings-regular.woff2.
It shows the error in my Chrome-console.
Any solution to get it loaded properly, so that it doesn't show the error in the console?
Since you put a asp.net-mvc tag on your post, I'm giving you IIS configuration solution for you.
Chrome doesn't consume woff and throws 404 error when your web server isn't configured with MIME type 'woff' or 'woff2'.
You need to add IIS a MIME-TYPE for woff2. You can configure it in web.xml.
<system.webServer> <staticContent> <remove fileExtension=".woff2" /> <mimeMap fileExtension=".woff2" mimeType="application/font-woff2" /> </staticContent> </system.webServer>
And you can also do this through IIS manager.
IIS manager workthrough via images.
The same problem was resolved by adding for IIS the tags in Web.config in, under the Views folder.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With