Title: Console Error
Last modified: July 26, 2020

---

# Console Error

 *  Resolved [Purnendu](https://wordpress.org/support/users/impurnendu/)
 * (@impurnendu)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/console-error-31/)
 * Getting this error message on the console many times. Some icons also not displaying
   properly. Already excluded “fon-awesome” containing images.
 * Access to font at ‘[https://mlfedpz6gxep.i.optimole.com/MMO_wUk.b1Rq~57698/f:css/q:100/m:1/https://domain.com/students/wp-content/plugins/elementor/assets/lib/eicons/fonts/eicons.ttf?5.7.0&#8217](https://mlfedpz6gxep.i.optimole.com/MMO_wUk.b1Rq~57698/f:css/q:100/m:1/https://domain.com/students/wp-content/plugins/elementor/assets/lib/eicons/fonts/eicons.ttf?5.7.0&#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.
 * (Changed the domain name)

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

 *  [Bogdan Preda](https://wordpress.org/support/users/bogdanpreda/)
 * (@bogdanpreda)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/console-error-31/#post-13174635)
 * Hello,
 * Can you try and add this to your .htaccess file:
 * <FilesMatch “.(eot|otf|ttf|woff|woff2)”>
    Header always set Access-Control-Allow-
   Origin “*” </FilesMatch>
 * It should solve the CORS issue for fonts.
    Thank you!
 *  Thread Starter [Purnendu](https://wordpress.org/support/users/impurnendu/)
 * (@impurnendu)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/console-error-31/#post-13174782)
 * Oh, thanks. It worked.

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

The topic ‘Console Error’ is closed to new replies.

 * ![](https://ps.w.org/optimole-wp/assets/icon-256x256.gif?rev=3013666)
 * [Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization](https://wordpress.org/plugins/optimole-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/optimole-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/optimole-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/optimole-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/optimole-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/optimole-wp/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Purnendu](https://wordpress.org/support/users/impurnendu/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/console-error-31/#post-13174782)
 * Status: resolved