ICONS ARE GONE? [CORS SOLVED WITHIN .HTACCESS]
Hello Guys,
All my icons are gone, the icons that are shown on my website are chinese?
even when i update the theme they still dont appear,
website: www.italbert.nl
thanks,
Comments
this problem is related with your server. As you can see at http://pasteboard.co/2NrBMsbA.png your server does not have CORS library enabled. In this case you should contact with your server administrator. More information about library you can read on http://enable-cors.org/server.html
Thanks!
Header add Access-Control-Allow-Methods: "GET,POST,OPTIONS,DELETE,PUT"
Header add Access-Control-Allow-Headers: "Content-Type" and it still didn't work.
Update: I contacted my host service provider and they made me aware that I cannot have the Cors
library enabled as my server is a shared one and therefore I do not have root access and won't
do unless I update my simple folio website to have the capabilities of a VPS at the cost of 30
pounds a month sooo Is there any other way to get rid of the boxes and Chinese characters?
My CDN (AWS Cloudfront) is serving all the other static content perfectly, except for the font file. The icons are not displayed.
I've tried adding / editing / deleting the Access-Control-Allow-Origin entry from .htaccess but it hasn't made any difference.
I have two Wordpress installations, one for the main site and another for the blog. The links are pasted below.
Main site: http://bit.ly/2stskT8
Blog: http://bit.ly/2H7ap7M
Can you please have a look at my site and let me know what may be causing it? I'd appreciate your inputs.
Hi,
those link work fine, please delete your browser cache.
thanks
voipforce.zoomsupport.com
In Blog when the article is opened, the icon next to "Read more" button is not showing up.
We do not see this issue, try deleting browser cache and refrshing the page a couple of times.
http://prntscr.com/ifllo6
thanks
The issue was that after I had implemented the .htaccess solution, the icon problem went away for some site visitors but not for everyone.
I tried clearing the browser cache but it didn't help. I asked several other regular site visitors to clear their cache and recheck. But that didn't help either.
I checked with the CDN team. After analyzing it, they said it could be because repeat visitors to the site were passing the old (http) URL in Access-Control-Allow-Origin. And the CDN server was trying to serve them old HTTP content which was conflicting with the HTTPS setting.
New (first-time) visitors did not have this issue, since their Access-Control-Allow-Origin had the new .htaccess value. The CDN server was able to serve them HTTPS content along with the icon file without any conflict.
Ignoring the underlying technical complexities (which I don't full understand either), the solution to the issue was quite simple.
Invalidate the distribution on the CDN server.
That fixed it for me! Some other site visitors who tested it had to clear their browser cache for the effect to be visible.
So, if you are using AWS Cloudfront and tried all the right things, and you're still pulling your hair out, try invalidating the CDN content so it can start afresh.
he will be able to help you for sure.
it’s because of CORS library which hasn’t been installed on your server.
More details about the CORS you can read on
http://enable-cors.org/server.html but we recommend to contact with your
server administrator this case because he will be able to help you for
sure.