.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

Got a question?

If you can't find the answer to your question, you can contact us.
We are here and happy to help.

Powered by Zendesk