Plugin Support
Vytis
(@bvytis)
Hi @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!
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
(@bvytis)
My site’s Access-Control-Allow-Origin is working properly.
Here is a screenshot- https://prnt.sc/t0TJiQwrV9xb
Plugin Support
Vytis
(@bvytis)
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.