Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #547318

    The icons for my site are no longer rendering in chrome. There is simply a rectangle in their place.

    I have updated the .htaccess file multiple times according to the instructions provided here: http://kriesi.at/documentation/enfold/enable-cors/.

    Sill after clearing the cache, I’m receiving the following error: Font from origin ‘http://www.tagins.net’ 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://tagins.net’ is therefore not allowed access.

    Do you have any other suggestions on this?

    #547401

    Hi aaronsjohnson12,

    Are you loading the font from another site/server? That is likely why you are getting that error. Post a link to the site in question so that we can have a closer look.

    Best regards,
    Rikard

    #547518

    Hi Rikard,

    I’m not loading the font from another server that I’m aware. Here is the link: http://www.tagins.net

    #547749

    Hi,

    Icons are loading fine on my end using Chrome, did you manage to get it fixed?

    Regards,
    Rikard

    #548231

    So I haven’t done anything to it. After I saw your message I looked into it some more and what I found is that the icons seem to be pulling just fine on Chrome when it is a running on a Mac. Chrome on a PC, however, will not pull them up.

    I have tried this on 2 different Macs and 5 different PCs — all with the same results.

    -Aaron

    #548238

    So looking into it even further. If you type in http://www.tagins.net the fonts will render. if you just type in tagins.net, they will not.

    #548540

    Hey!

    What is the url in the Settings > General > “Site Address (URL)” field? Is it set to ” http://www.tagins.net” or “http://tagins.net”? Please set it to “http://www.tagins.net”. If it doesn’t work, try this in the .htaccess file:

    <FilesMatch "\.(ttf|otf|woff)$">
    <IfModule mod_headers.c>
    Header set Access-Control-Allow-Origin http://www.tagins.net
    </IfModule>
    </FilesMatch>

    Make sure that the .htaccess file is located in the wp root directory.

    Cheers!
    Ismael

    #548584

    I confirmed the URL in Settings>General>Site Address is http://www.tagins.net.

    I then added the code above to the .htaccess file, but it was still giving me the same problem for some reason.

    I think I may have found a workaround, though. I added some additional code to the .htaccess file that forces the URL to redirect to the www prefix. That seems to be working for now. Still really strange I couldn’t ever get the code above to work, but I think we are now good to go. I’ll continue to watch over the next few days.

    Thanks again for your help.

    #549446

    Hi,

    Great, glad you found a fix. Please let us know if you should have any further problems.

    Regards,
    Rikard

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.