-
AuthorPosts
-
October 27, 2017 at 11:56 pm #869781
Hi,
We recently created two websites using your theme Enfold. We made the sites live and when we did they stopped showing the icon fonts. Can you help please.
October 28, 2017 at 12:33 pm #869863Hey thirdspacemedia,
The path to the icon fonts are not correct, I guess. And so they are blocked.
Best regards,
VictoriaOctober 28, 2017 at 12:45 pm #869869Yes, we transferred the hosted site from the temp location 77.104.158.65 to the live site. Where can we go in and fix this?
October 28, 2017 at 1:02 pm #869884Hi thirdspacemedia,
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?
Even the links for the scripts did not update.
This article should help
http://www.wpbeginner.com/plugins/how-to-update-urls-when-moving-your-wordpress-site/Best regards,
VictoriaOctober 28, 2017 at 1:11 pm #869890Yes details below
October 31, 2017 at 6:56 am #870762Hi,
It’s a “cross origin” issue. Please refer to the following documentation.
Access to Font at ‘http://77.104.158.65/~midwifej/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/assets/fonts/entypo-fontello.woff?v=3’ from origin ‘http://midwifejo.com.au’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://midwifejo.com.au’ is therefore not allowed access.
(index):1 Access to Font at ‘http://77.104.158.65/~midwifej/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/assets/fonts/entypo-fontello.ttf?v=3’ from origin ‘http://midwifejo.com.au’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://midwifejo.com.au’ is therefore not allowed access.Documentation: https://kriesi.at/documentation/enfold/enable-cors/
Best regards,
IsmaelDecember 6, 2017 at 6:04 am #885369I found many share hosting not support this….on.htaccess
<FilesMatch “\.(ttf|otf|woff)$”>
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin “*”
</IfModule>
</FilesMatch>is there have another way to fix this?
- This reply was modified 7 years ago by Moaaaaya.
December 6, 2017 at 9:01 am #885442Hi,
I found many share hosting not support this….on.htaccess
I’m not sure what you meant by that. The directive should work as long as the .htaccess exists.
Best regards,
IsmaelDecember 6, 2017 at 9:57 am #885454shared hosting like Godaddy & SiteGround
They do not allow use Access-Control-Allow-Origin in .htaccessDecember 6, 2017 at 12:38 pm #885545Hi Moaaaaya,
Here is a thread for you to consider:
https://ua.godaddy.com/community/VPS-Dedicated-Servers/Cross-Domain-crossOrigin-on-GoDaddy-shared-hosting/td-p/4873If you need further assistance please let us know.
Best regards,
VictoriaDecember 6, 2017 at 1:17 pm #885576CORS is only available with VPS,
Shared hosting can’t use.
December 7, 2017 at 5:39 am #885919Hi,
Why would you have any issue with this? Are you serving the font files from another site?
Best regards,
IsmaelDecember 7, 2017 at 10:31 am #886006hello, I’s my fault.
I put .htaccess in wrong folder…..December 8, 2017 at 3:24 pm #886510Hi Moaaaaya,
So is the issue resolved?
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.