.woff2 file missing

This article explains how to solve the following error in the browser console, mentioning that .woff2 file(s) is(are) missing.

404 Not Found - http://..../fontawesome-webfont.woff2

This error occurs when the .woff2 format does not exist in the IIS Mime type list. To solve this, you must set IIS or web.config file to recognize this MIME type.

Adding woff2 to IIS

Adding woff2 to web.config


<configuration>

....
<system.webServer>

....

<staticContent> <remove fileExtension=".woff2" /> <mimeMap fileExtension=".woff2" mimeType="application/font-woff2" /> </staticContent>
Make sure to clear cache and refresh your browser before checking again.
Have more questions? Submit a request

Comments

BindTuning logo
Copyright Ⓒ 2021 Bind.
All rights reserved.
Privacy Policy
Cookie Policy
BindTuning
              Linkedin BindTuning Twitter BindTuning YouTube BindTuning Instagram BindTuning
              Facebook
Powered by Zendesk