Lightsail wordpress fonts CORS error
-
Hey,
Thanks for the plugin but I’m not able to get WordPress Divi theme fonts working with our AWS Lightsail WP and this plugin so I had to Disable CDN. I have been reading other similar topics here and tried https://github.com/fontello/fontello/wiki/How-to-setup-server-to-serve-fonts without success. Added those settings to /home/bitnami/apps/wordpress/htdocs/.htaccess in the beging of the file:
AddType font/ttf ttf AddType font/otf otf AddType font/woff woff AddType font/woff2 woff2 AddType application/vnd.ms-fontobject eot <FilesMatch ".(eot|ttf|otf|woff|woff2)"> Header set Access-Control-Allow-Origin "*" </FilesMatch>
Error I get:
Access to font at ‘https://cdn.seesignage.com/wp-content/themes/Divi/core/admin/fonts/modules.ttf’ from origin ‘https://seesignage.com’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
Access to font at ‘https://cdn.seesignage.com/wp-content/themes/Divi/core/admin/fonts/modules.woff’ from origin ‘https://seesignage.com’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
I also tried Do Not Load These Files From CDN:
https://cdn.seesignage.com/wp-content/themes/Divi/style.css?ver=4.3.2
https://cdn.seesignage.com/wp-content/themes/Divi/style.css
/wp-content/themes/Divi/style.cssbut did not help. Any idea that what I should try next?
- The topic ‘Lightsail wordpress fonts CORS error’ is closed to new replies.