-
AuthorPosts
-
October 28, 2015 at 6:43 pm #526345
Hi team,
Im suddenly getting a 403 error on three font files
https://www.dropbox.com/s/nczcv1glgjw0r07/Screenshot%202015-10-28%2016.28.51.png?dl=0
Have disabled all plugins, disabled and refreshed browser cache. still there
Checked all file and folder permissions…folders 755, files 644
Re-uploaded a new theme files via FTP overwriting enfold folder.
Im working on a few sites at the minute, I added ithemes security to them and Im wondering if this has added something to htaccess that I’m overlooking and is preventing the fonts from loading…all my arrows have disappeared.
Any ideas?
Thanks
Ric
October 29, 2015 at 12:47 am #526478Hi Ric!
Yes, that can be something with security and htaccess.
Can you please disable it so we can check if it is possible to be fixed?Best regards,
BasilisOctober 29, 2015 at 1:13 am #526488Hi Basilis,
Disable the plugin or the htaccess??
Cheers man
October 30, 2015 at 9:02 pm #527691Hi!
please disable all plugins to check if things get better for you. Also make sure to use newest theme and WordPress version.
Best regards,
AndyNovember 5, 2015 at 7:29 pm #531139Hi Andy,
Sorry for the delay in replying.
I have de-activated all plugins. Installed the latest Enfold update too (3.4.1). The issue is still there.
I think its htaccess related. Deleting themes security doesn’t remove the permissions it writes so there is something preventing the fonts from loading, I know it writes to the database too (however I don’t have access to this at present – otherwise I would completely remove all ithemes and start fresh with the settings)…will try to get this tomorrow.
Any help in pointing me to the correct part of the htaccess file would be great. You can view when logged in here
Sucuri Security > Access file integrity
Thanks
November 9, 2015 at 12:07 pm #532498Hi!
there might be some corrupted theme files, which are staying when you simply overwrite theme files. So delete all theme files completely via FTP, before getting a fresh copy from your themeforest account. Hope this will help!
Cheers!
AndyNovember 10, 2015 at 8:13 pm #533640Hi Andy,
Unfortunately that didn’t work either.
I have managed to get access to the database, removed all ithemes security entries and cleaned up the htaccess file also.
The problem is still there I get a 403 on the three font files!
I have checked permissions on every folder and file in the structure leading to those font files and all seem correct.
Any suggestions?
November 10, 2015 at 11:38 pm #533753Hey!
can u check the backend access, not working now, please.
I will give it a lookBest regards,
BasilisNovember 11, 2015 at 2:21 am #533815Hi Basilis,
Please try again, I have allowed temporary access.
Thanks
November 13, 2015 at 3:26 pm #535435Hi!
try to put this code inside your .htaccess file:
<FilesMatch “\.(ttf|otf|woff)$”> <IfModule mod_headers.c> Header set Access-Control-Allow-Origin “*” </IfModule> </FilesMatch> # BEGIN WordPress # END WordPress
Best regards,
AndyNovember 13, 2015 at 3:44 pm #535459Hi Andy,
Thanks for the reply.
I have a modified htaccess can i post the content here?
I added your code to the bottom of all code, doesn’t seem to have worked, does it need to sit in a specific part of the file?
I have also just deleted the Enfold theme and uploaded the latest 3.4.2…no change
Thanks
Ric
November 13, 2015 at 4:03 pm #535474Hi!
did you clear browser cache and hard refreshed afterwards a few times?
Cheers!
AndyNovember 13, 2015 at 4:09 pm #535481Hi
Yes Andy…first thing I tried :) …Im stumped.
Cheers
Ric
November 13, 2015 at 4:21 pm #535493Hey!
ok, try to add this css tags into QuickCSS at the enfold options/general styling. Change xxx into your domain.
@font-face {font-family: ‘entypo-fontello'; font-weight: normal; font-style: normal; src: url(‘http://www.xxx/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/assets/fonts/entypo-fontello.eot?v=3′); src: url(‘http://www.xxx/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/assets/fonts/entypo-fontello.eot?v=3#iefix’) format(‘embedded-opentype’), url(‘http://www.xxx/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/assets/fonts/entypo-fontello.woff?v=3′) format(‘woff’), url(‘http://www.xxx/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/assets/fonts/entypo-fontello.ttf?v=3′) format(‘truetype’), url(‘http://www.xxx/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/assets/fonts/entypo-fontello.svg?v=3#entypo-fontello’) format(‘svg’); } #top .avia-font-entypo-fontello, body .avia-font-entypo-fontello, html body [data-av_iconfont=’entypo-fontello’]:before{ font-family: ‘entypo-fontello'; }
Cheers!
AndyNovember 13, 2015 at 4:32 pm #535499Hi
Appreciated the effort
No luck with that either unfortunately
Cheers
November 13, 2015 at 5:20 pm #535534Hi!
ask your host if they are using any kind of caching on your server.
Best regards,
AndyNovember 13, 2015 at 5:32 pm #535552Will check with them and get back to you, thanks.
I take it if there is a cache then this needs refreshing?
Cheers
Ric
November 13, 2015 at 5:34 pm #535559Hey!
tell them to switch off caching at all.
Regards,
AndyNovember 13, 2015 at 5:40 pm #535566Ok, have done. It will probably be Monday now by the time I hear back from them. Will update once I have an answer.
Thanks
Ric
November 13, 2015 at 5:46 pm #535575Hi!
alright. I will let this thread open for you. Hope they can help you soon!
Cheers!
AndyNovember 16, 2015 at 6:20 pm #536758Hi Andy,
After all this… I embarrassed to say that I had uploaded a duplicate htaccess file to the wp content folder by mistake, so even though I had cleaned up the one in the root folder, the file in the wp content folder had code preventing the fonts loading!
Too many late nights at the screen!
I appreciate your time and effort, once again thanks!
Regards
Ric
November 16, 2015 at 6:41 pm #536784Hi!
so everything’s working for you now?
Let us know if you still need help with this issue.
Best regards,
AndyNovember 16, 2015 at 6:44 pm #536790Hi Andy.
Sorry…Yes everything is now working, can’t believe it was something so simple.
You can close the thread.
Thanks
Ric
November 16, 2015 at 6:45 pm #536794Hey!
Glad you could fix it. Let us know in a new ticket if you have some more questions related to the theme. We are happy to assist you.
Cheers!
Andy -
AuthorPosts
- The topic ‘403 Error Entypo/Fontello fonts’ is closed to new replies.