kurosaki4d
Power Member
- Apr 24, 2018
- 694
- 83
Hello,
I'm facing a problem with my wordpress website, it has a subdomain, blog.domain.com, when i access the blog i get the following error in my console:
Access to font at 'www.domain.com/wp-content/themes/Divi/core/admin/fonts/modules.ttf' from origin 'blog.domain.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Currently my website is hosted in Azure, i tried activating the option "Cross-Origin Resource Sharing - Cors" in the my hosting options, it solved the issue, but it made the website a lot slower (16 sec), so i'm looking for an alternative to this issue.
If anyone have any idea how i can resolve to this, i am opened to suggestions, i would appreciate it !
Thanks
I'm facing a problem with my wordpress website, it has a subdomain, blog.domain.com, when i access the blog i get the following error in my console:
Access to font at 'www.domain.com/wp-content/themes/Divi/core/admin/fonts/modules.ttf' from origin 'blog.domain.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Currently my website is hosted in Azure, i tried activating the option "Cross-Origin Resource Sharing - Cors" in the my hosting options, it solved the issue, but it made the website a lot slower (16 sec), so i'm looking for an alternative to this issue.
If anyone have any idea how i can resolve to this, i am opened to suggestions, i would appreciate it !
Thanks