-
AuthorPosts
-
June 26, 2019 at 7:16 pm #1113697
Hi,
I hope you can help – I’m out of ideas how to solve this problem.
I switched from http to https so far so good. But all icons are not showing on Chrome and Firefox. Safari looks great.I tried following:
1. import fonatello in Import/Export
2. add following code in to my htaccess:<FilesMatch “.(ttf|otf|woff)$”>
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin “*”
</IfModule>
</FilesMatch>3.add following code in to my wp-config:
<?xml version=”1.0″ encoding=”utf-8″?>
<configuration>
<system.webServer>
<httpProtocol>
<customHeaders>
<add name=”Access-Control-Allow-Origin” value=”*” ></add>
</customHeaders>
</httpProtocol>
</system.webServer>
</configuration>—> still no changes.
Interesting was, when I did this yesterday – the icon where shown nicely. But today everything is blogged. I get following error:
Access to font at ‘https://storchenfreunde.ch/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/assets/fonts/entypo-fontello.woff’ from origin ‘http://storchenfreunde.ch’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
Any ideas???
Thank you so much.
_KJune 27, 2019 at 10:41 am #1113874Hey sonderdesigner,
Did you change your site URL and location to https as well under Settings->General?
Best regards,
RikardJuly 1, 2019 at 8:04 am #1114807Oh yes I did.
The page where moved from a supdomain to the main domain. Everything worked perfect. Then I switched from http to https and I got some mixed content. I worked on the mixed content and the page where showing without any problems. But one day later the icons font where blocked but only in firefox and Chrome. ?????July 1, 2019 at 10:45 am #1114850Hi,
Thanks for the update, though the icons are showing fine on my end using Chrome. Please try to load the site in an incognito window.
Best regards,
RikardJuly 5, 2019 at 6:55 am #1115958Thats so strange. The social media icons are only showing in safari. Not in Chrom or Firefox.
Could you please check again.
Screenshot is attached in Link: https://storchenfreunde.ch/wp-content/uploads/2019/07/Icon-Problem.pngThank you so much
_KJuly 6, 2019 at 8:32 am #1116187Hi,
They are showing when logged in, but not when logged out. That means that its’s probably your caching plugins causing the problem, please try clearing all the caches from it and leave it deactivated until the problem is solved.
Best regards,
RikardJuly 9, 2019 at 7:26 am #1116934Super,
Thanks Rikard – this was the problem.Great!!!
July 9, 2019 at 9:27 am #1116972 -
AuthorPosts
- You must be logged in to reply to this topic.