title: How to fix Access-Control-Allow-Origin Error
body: <p>I'm currently running a wordpress site and i'm getting the following error when i switch to my subdomain:</p>
  
  <p><strong>Access to font at '<a href="https://www.site.fr/wp-content/themes/Divi/core/admin/fonts/modules.ttf" rel="nofollow noreferrer">https://www.site.fr/wp-content/themes/Divi/core/admin/fonts/modules.ttf</a>' from origin '<a href="https://blog.site.fr" rel="nofollow noreferrer">https://blog.site.fr</a>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.</strong></p>
  
  <p>Because of this i get a bug and some of the icons in the page are no longer displaying because of the file above that cannot be loaded.</p>
  
  <p>Has anyone got an idea about how to fix this bug?</p>
  
  <p>Thank you</p>