CORS Header in .htaccess not solving problem
-
I added code to server file .htaccess in the public_html directory where WordPress site resides.
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin “*”
</IfModule>
However, still have same error showing in Console:
Access to font at ‘X’ from origin ‘Y’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.Fontawesome fonts not displaying on the mapped domains. They do display on the primary site https://basalt.guru/
I tried adding Fontawesome script before closing </head> within Avada Theme options but that did not solve the problem.
<script src=”https://use.fontawesome.com/6a4381f899.js”></script>What am I missing?
Thanks.The page I need help with: [log in to see the link]
- The topic ‘CORS Header in .htaccess not solving problem’ is closed to new replies.