Title: Missing character set in HTTP header
Last modified: May 23, 2020

---

# Missing character set in HTTP header

 *  Resolved [Oliver Heinrich](https://wordpress.org/support/users/oheinrich/)
 * (@oheinrich)
 * [6 years ago](https://wordpress.org/support/topic/missing-character-set-in-http-header/)
 * Hi Daan!
 * first of all I want to thank you for your amazing work and the plugin you created!
   
   It’s functions are really outstanding and working very well and stable!
 * While optimizing my website I saw this warning in GTMetrix:
 * `The following resources have no character set specified in their HTTP headers.
   Specifying a character set in HTTP headers can speed up browser rendering.`
 * [https://gtmetrix.com/reports/www.empfehlbar.de/n0QVdRK4](https://gtmetrix.com/reports/www.empfehlbar.de/n0QVdRK4)
 * Maybe you want to have a look at it and find a way to optimize the plugin.
 * Best regards,
    Oliver

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Daan van den Bergh](https://wordpress.org/support/users/daanvandenbergh/)
 * (@daanvandenbergh)
 * [6 years ago](https://wordpress.org/support/topic/missing-character-set-in-http-header/#post-12882428)
 * Hi Oliver,
 * Thanks for your compliments! Happy you’re enjoying OMGF.
 * However, the error you’re getting means that your server isn’t configured properly.
 * If you’re using Apache, check your .htaccess file, it should contain something
   like this:
 *     ```
       <IfModule mod_mime.c>
           AddType application/vnd.ms-fontobject    .eot
           AddType application/x-font-opentype      .otf
           AddType image/svg+xml                    .svg
           AddType application/x-font-ttf           .ttf
           AddType application/font-woff            .woff
           AddType application/font-woff2           .woff2
       </IfModule>
       ```
   
 * If it doesn’t, or you’re on Nginx, contact your hosting provider.
 *  Thread Starter [Oliver Heinrich](https://wordpress.org/support/users/oheinrich/)
 * (@oheinrich)
 * [6 years ago](https://wordpress.org/support/topic/missing-character-set-in-http-header/#post-12882612)
 * Hi Daan,
 * thanks a lot for your fast answer!
 * I integrated the code into my .htaccess file and it works like a charm!
    The 
   warning in GTMetrix disappeared and I got an increase of my PageSpeed Score by
   1% (now 97%) 🙂
 * Best regards,
    Oliver
 *  Plugin Author [Daan van den Bergh](https://wordpress.org/support/users/daanvandenbergh/)
 * (@daanvandenbergh)
 * [6 years ago](https://wordpress.org/support/topic/missing-character-set-in-http-header/#post-12882614)
 * Awesome! You’re almost at the big 1-0-0! 😉 Would you like to [write a review](https://wordpress.org/support/plugin/host-webfonts-local/reviews/?rate=5#new-post)?
    -  This reply was modified 6 years ago by [Daan van den Bergh](https://wordpress.org/support/users/daanvandenbergh/).
 *  Thread Starter [Oliver Heinrich](https://wordpress.org/support/users/oheinrich/)
 * (@oheinrich)
 * [6 years ago](https://wordpress.org/support/topic/missing-character-set-in-http-header/#post-12886248)
 * Of course! I wrote it right now 😉

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Missing character set in HTTP header’ is closed to new replies.

 * ![](https://ps.w.org/host-webfonts-local/assets/icon-256x256.png?rev=3300821)
 * [OMGF | GDPR/DSGVO Compliant, Faster Google Fonts. Easy.](https://wordpress.org/plugins/host-webfonts-local/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/host-webfonts-local/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/host-webfonts-local/)
 * [Active Topics](https://wordpress.org/support/plugin/host-webfonts-local/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/host-webfonts-local/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/host-webfonts-local/reviews/)

## Tags

 * [gtmetrix](https://wordpress.org/support/topic-tag/gtmetrix/)
 * [htaccess](https://wordpress.org/support/topic-tag/htaccess/)

 * 4 replies
 * 2 participants
 * Last reply from: [Oliver Heinrich](https://wordpress.org/support/users/oheinrich/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/missing-character-set-in-http-header/#post-12886248)
 * Status: resolved