Hi,
I have exactly the same issue as the one described in this thread:
https://kriesi.at/support/topic/strange-icon-font-behavior-on-com-nl-website-redirect/
– the custom icon font that is used by the social media links and others don’t work on the .cc website. Click on logo or any link (=redirect to .pw) gets a working icon font again.
– Other problem is that the .cc link will open a new tab for the .pw domain. Not exactly what I want.
My website is http://besos.pw/ and i would to have just only the .cc domain
In javascript console I have this error:
2Font from origin 'http://besos.pw' 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://besos.cc' is therefore not allowed access. (index):1
Some tips ?
Hey cerf!
Thank you for using Enfold.
Please refer to this link on how to fix the icons: http://www.fontsquirrel.com/blog/2010/11/troubleshooting-font-face-problems
Basically, you need to add this code on the .htaccess file:
<FilesMatch "\.(ttf|otf|woff)$">
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>
</FilesMatch>
Cheers!
Ismael
Hey,
it works. I can see the right icon font on .cc domain.
Thanks!
Remains the problem that when I click on links from .cc page I go on .pw page.
My hosting house says that redirect on cPanel is correct and the problem is on web/application side.
Can you help me?
Hey!
I would like to check the site but I’m getting 406 errors. Please check.
Best regards,
Ismael
Hello Ismael,
I have deleted the redirect because I’m redoing the entire website on besos.cc “from scratch” so to forget besos.pw also on the server side.
Thanks anyway for your interest :)
Hi!
alright! If you have any more questions, we are happy to assist you.
Best regards,
Andy