Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #870358

    eldavas
    Participant

    Hello,

    I purchased some fonts and followed the instructions from the forum on how to install them. I believe i did everything the way you guys told others to do but it’s not working for me. Instead, i get this error on the console:

    Redirect at origin ‘http://idieselcore.com’ has been blocked from loading by Cross-Origin Resource Sharing policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://www.idieselcore.com’ is therefore not allowed access.

    Can you please help me figure out how to make the fonts work?

    My website is idieselcore.com

    Thank you

    #870694

    Friech
    Moderator

    Hi There,

    Thanks for writing in! Your site is in under construction mode. Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    In the meantime, try adding the code below on top of your .htaccess file.

    Header add Access-Control-Allow-Origin: http://idieselcore.com
    Header add Access-Control-Allow-Headers "origin, x-requested-with, content-type"
    Header add Access-Control-Allow-Methods "PUT, GET, POST, DELETE, OPTIONS"

    Cheers!

    #871488

    eldavas
    Participant
    This reply has been marked as private.
    #871643

    eldavas
    Participant

    Ok, it seems like i got two of the three fonts working but one is still missing. This is the error i get:

    Font from origin ‘http://idieselcore.com’ has been blocked from loading by Cross-Origin Resource Sharing policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://www.idieselcore.com’ is therefore not allowed access.

    Any ideas?

    #871655

    eldavas
    Participant

    I forgot to mention I fixed the issue by adding the code you gave me on top of the .htaccess file but i still get the error i mentioned above. Please help!

    Thanks

    #871695

    eldavas
    Participant

    Oh and the font that is not loading is akhand_softlight

    #872347

    Friech
    Moderator

    Hi There,

    The font akhand_softlight is loading on your site now. I’ve just updated the http://idieselcore.com to http://www.idieselcore.com

    Though, the site still have an issue with a google font that is not properly declare. Did you use a specific google font somewhere on the page?

    Thanks.