Title: Console Error
Last modified: March 6, 2022

---

# Console Error

 *  Resolved [Purnendu](https://wordpress.org/support/users/impurnendu/)
 * (@impurnendu)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/console-error-59/)
 * Hi,
    I am getting 2 errors in Chrome Console. Here is the screenshot of these
   errors- [https://prnt.sc/MLVgdUgDOcqm](https://prnt.sc/MLVgdUgDOcqm)

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

 *  Plugin Support [Vytis](https://wordpress.org/support/users/bvytis/)
 * (@bvytis)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/console-error-59/#post-15432622)
 * Hi [@impurnendu](https://wordpress.org/support/users/impurnendu/),
 * Thank you for using Optimole.
 * Looks like you have a strict content policy in place for your website so you’re
   not allowing 3rd party domains (like optimole.com) to serve images on your website.
 * You can check with your hosting provider/server manager about allowing resources
   to be served from 3rd party domain and whitelist Optimole’s domain if you want
   to keep blocking any other.
 * Make sure to clear the cache from any caching plugins after this is done.
    I 
   hope it helps!
 *  Thread Starter [Purnendu](https://wordpress.org/support/users/impurnendu/)
 * (@impurnendu)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/console-error-59/#post-15434577)
 * I added this code to my .htaccess. But still not working.
 * ——
    <FilesMatch “.(js|eot|otf|ttf|woff|woff2)”> Header always set Access-Control-
   Allow-Origin “*” </FilesMatch> ——
 *  Plugin Support [Vytis](https://wordpress.org/support/users/bvytis/)
 * (@bvytis)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/console-error-59/#post-15435315)
 * [@impurnendu](https://wordpress.org/support/users/impurnendu/),
 * You can try checking the recommended ways to allow it from this tutorial – [https://crunchify.com/how-to-fix-access-control-allow-origin-issue-for-your-https-enabled-wordpress-site-and-maxcdn/](https://crunchify.com/how-to-fix-access-control-allow-origin-issue-for-your-https-enabled-wordpress-site-and-maxcdn/)
 *  Thread Starter [Purnendu](https://wordpress.org/support/users/impurnendu/)
 * (@impurnendu)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/console-error-59/#post-15437098)
 * My site’s Access-Control-Allow-Origin is working properly.
    Here is a screenshot-
   [https://prnt.sc/t0TJiQwrV9xb](https://prnt.sc/t0TJiQwrV9xb)
 *  Plugin Support [Vytis](https://wordpress.org/support/users/bvytis/)
 * (@bvytis)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/console-error-59/#post-15437923)
 * If you get the error mentioned in your 1st screenshot it means it’s not and you’re
   blocking optimole.com domain, there is not much to do from our end as the error
   itself explains why this happens and it should be addressed from the server-side.

Viewing 5 replies - 1 through 5 (of 5 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/)

## Tags

 * [blocked](https://wordpress.org/support/topic-tag/blocked/)
 * [CORS policy](https://wordpress.org/support/topic-tag/cors-policy/)

 * 5 replies
 * 2 participants
 * Last reply from: [Vytis](https://wordpress.org/support/users/bvytis/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/console-error-59/#post-15437923)
 * Status: resolved