-
AuthorPosts
-
December 31, 2014 at 3:35 pm #373562
I am redesigning a client site using Enfold. None of the fontello icons are showing up using Firefox or Chrome. Not sure if there is something about her original setup or if its some setting I did incorrectly or if it has somehting to do with the upgrade to 4.1. The other sites I designed look fine but they are running on wordpress 4.0
December 31, 2014 at 3:37 pm #373564Hey cagraphicdesign!
Please add following to your .htaccess file
<FilesMatch "\.(ttf|otf|woff)$"> <IfModule mod_headers.c> Header set Access-Control-Allow-Origin "*" </IfModule> </FilesMatch>
Best regards,
YigitDecember 31, 2014 at 3:40 pm #373567I am a graphic designer with a shallow knowledge of file alterations. Where do I find the .htaccess file?
Is this something I need to do via FTP?December 31, 2014 at 3:42 pm #373571Hi!
Yes you need to do it via FTP and .htaccess file is on the root folder of your WordPress installation
Regards,
YigitDecember 31, 2014 at 4:04 pm #373581OK. Now, for the other problem… as i mentioned in a previous thread that I now inadvertently deleted…
I forgot to create child theme and I have done hours of work on the theme design. I followed the instructions and uploaded the the child theme and imported all the settings. They all appeared in the backend settings of the child theme just as expected but when I looked at live website, only the logo showed up…none of my advanced stylings, header background image showed. I tried several browsers that have not viewed this site before and still not working. THe weird thing is, it does show up in the child theme backend!January 1, 2015 at 7:38 pm #373886Hello,
Have you tried disabling all third-party plugins to see if it gets updated?
Regards,
JosueJanuary 1, 2015 at 7:41 pm #373888No, I did not. I will give that a try. It still doesn’t explain why it shows up in the backend but not when viewing it. Maybe one of the plugins do something with cache?
January 1, 2015 at 7:42 pm #373890Yes, that’s what i though. If that doesn’t fix it please create us an admin account so we can take a closer look.
January 1, 2015 at 8:27 pm #373906OK. Please keep this case open for a while as I would like to get the client’s FTP login as well.
January 1, 2015 at 8:31 pm #373912Sure, let us know.
January 8, 2015 at 12:21 am #376556Two problems…
1. I want to make sure I am looking in the right place…I have little experience finding my way in the directory…I am using filezilla THe first .htaccess file I see is directly in the public html folder, the wordpress folder is empty but the wordpress-admin folder hs a .htaccess file as well.
2. I never worked with that sort of file. My plan is to download the file to my desktop, then open it using text wrangler and add the code, then upload it to replace the file already on the site. However, when I download it to my desktop I cannot find it! My Filezilla sees it on my desktop but it is “invisible” to me in my Finder. I even tried saving it to a folder but same problem. could it be that it needs an extension to be seen? I am on a mac.The bigger more worrisome question is why is this the only site I worked on with this problem? Has this happened to other sites? I inherited the site and notices some odd wordpress behavior but Wordfence comes up clean.
- This reply was modified 9 years, 11 months ago by cagraphicdesign.
January 9, 2015 at 6:00 am #377211Hey!
The problem arose because apparently the domain of the install was changed but the font files are still being called using the old domain (http://screencast.com/t/9jFgmm0gK3a) and the server doesn’t allow this by default, the fix is to tell the server to allow this (Cross-origin resource sharing).
Here’s a guide on how to edit the .htacess file (you can also use a plugin):
http://teamtreehouse.com/library/quick-tips/how-to-create-and-edit-an-htaccess-fileIf you are still having trouble editing the .htaccess you can hand us a temporary FTP account and we can do it for you.
Regards,
JosueJanuary 9, 2015 at 10:42 pm #377630I spoke with Bluehost, the hosting company and found out that my client had changed the url after she established the website. I did notice a redirect to another URL when I would sign-in. The tech saw that there were two urls in the WordPress database. I am not sure exactly what he meant but he explained that WordPress does not like that sort of thing, deleted the other url and now everything is working!!!
That said, I did not have to delve into the .htaccess…Whew! Thank you so much for looking into this and especially for offering to edit the .htaccess. You guys are really great. I am going to spread the word at my wordpress meetups and at the upcoming Atlanta Wordcamp !
January 12, 2015 at 5:04 am #378109Hey!
Great, glad we could help :)
Best regards,
Josue -
AuthorPosts
- You must be logged in to reply to this topic.