Title: Console error accessing font
Last modified: April 5, 2025

---

# Console error accessing font

 *  Resolved [seaforth](https://wordpress.org/support/users/seaforth/)
 * (@seaforth)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/console-error-accessing-font/)
 * I am getting a console error of the form “Access to font at ‘[https://domain.com/wp-content/uploads/omgf/omgf-stylesheet-76/castoro-normal-latin-400.woff2?ver=&#8217](https://domain.com/wp-content/uploads/omgf/omgf-stylesheet-76/castoro-normal-latin-400.woff2?ver=&#8217);
   from origin ‘[https://domain.com&#8217](https://domain.com&#8217); has been blocked
   by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested
   resource.
 * Is this a known bug or maybe point to a configuration error?
 * I can’t find any information on it and I am not sure how to resolve it.
 * Thank you so much

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

 *  Plugin Author [Daan van den Bergh](https://wordpress.org/support/users/daanvandenbergh/)
 * (@daanvandenbergh)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/console-error-accessing-font/#post-18402753)
 * This seems like a configuration error in Nginx’s/Apache’s CORS configuration.
   It seems like your server doesn’t allow loading of WOFF2 files.
 * If you provide your site’s domain, I can be of more help, but without more information
   this is all I can tell you right now.
 * If you need more help, and don’t want to share your site’s URL here, send it 
   to me using [my contact form](https://daan.dev/contact/).
 *  Thread Starter [seaforth](https://wordpress.org/support/users/seaforth/)
 * (@seaforth)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/console-error-accessing-font/#post-18453134)
 * Turns out this was a problem with the OMGF cache holding URLs from an old domain(
   I was so used to looking at the development domain that I didn’t even notice 
   the domain was wrong). After speaking with the plugin developer, I was able to
   clear the cache by clicking on the orange link at the bottom of the local fonts
   tab: “Refresh cache (and maintain settings)”
 * Quick fix. Completely removed the console error. Thank you so much to the plugin
   developer.
 *  Plugin Author [Daan van den Bergh](https://wordpress.org/support/users/daanvandenbergh/)
 * (@daanvandenbergh)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/console-error-accessing-font/#post-18453144)
 * Thanks for posting back!

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

The topic ‘Console error accessing font’ 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/)

 * 3 replies
 * 2 participants
 * Last reply from: [Daan van den Bergh](https://wordpress.org/support/users/daanvandenbergh/)
 * Last activity: [1 year, 1 month ago](https://wordpress.org/support/topic/console-error-accessing-font/#post-18453144)
 * Status: resolved