How to fix Font Awesome WebFont woff2 not found

Posted written by Paul Seal on August 16, 2016 .NET Framework

If you are getting the error fontawesome-webfont.woff2?v=4.6.3 not found but you definitely know you have the file, here is how to fix it in IIS:

You need to add the mime type in the config file for woff2.

<system.webServer>
  <staticContent>
    <remove fileExtension=".woff2" />
    <mimeMap fileExtension=".woff2" mimeType="font/woff2" />
  </staticContent>
</system.webServer>

You may find there are others in that section of the config file, so you can add the remove and mimemap lines under the others.