Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Continuing CORS Issue

$
0
0

Replies: 0

I’m using AWS for WordPress (Version 4.2.2) and getting the infamous CORS policy issue:

Access to font at ‘https://www.bethelatx.com/wp-content/themes/grace-church/css/fontello/font/fontello.woff2?10977599’ from origin ‘https://bethelatx.com’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

I’ve added the following to the .htaccess file:

<FilesMatch “\.(ttf|ttc|otf|eot|woff|woff2|font.css)$”>
<IfModule mod_headers.c>
Header add Access-Control-Allow-Origin “*”
Header set Access-Control-Allow-Origin “*”
</IfModule>
</FilesMatch>

Can you please point me in the right direction as to what’s causing this? I’ll re-enable the acceleration once you’ve confirmed you’re able to troubleshoot it.

  • This topic was modified 32 minutes ago by cgidds.
  • This topic was modified 32 minutes ago by cgidds.

Viewing all articles
Browse latest Browse all 59525

Trending Articles