Home › Forums › WordPress Plugins › Hide My WP › CSS font-face url file confused
- This topic has 4 replies, 2 voices, and was last updated 8 years, 4 months ago by
DuncanMac.
-
AuthorPosts
-
July 17, 2017 at 8:56 pm #17055
Hi,
This is the css in the style.css in the root of my theme (Avada 5.2):
@font-face {
font-family: ‘icomoon’;
src: url(‘assets/fonts/icomoon/icomoon.eot’);
src: url(‘assets/fonts/icomoon/icomoon.eot?#iefix’) format(’embedded-opentype’), url(‘assets/fonts/icomoon/icomoon.woff’) format(‘woff’), url(‘assets/fonts/icomoon/icomoon.ttf’) format(‘truetype’), url(‘assets/fonts/icomoon/icomoon.svg?#icomoon’) format(‘svg’);assets is a folder also in the theme root.
It looks like the filenames are being translated to (from Javascript console:
GET http://vps9618.inmotionhosting.com/~mcac8888/inc/themes/MCaC/includes/lib/assets/fonts/icomoon/icomoon.woff
GET http://vps9618.inmotionhosting.com/~mcac8888/inc/themes/MCaC/includes/lib/assets/fonts/icomoon/icomoon.ttf
and they get 404 errors.
The replace tool changes Avada to MCaC, the replace permalinks and urls page is in the attached screen dump.
This looks like there are some parts of the urls not getting changed correctly with parts of the original url still remaining.
All the other files that are being referenced (js, plugins, css, etc.) all seem to work correctly – it seems that only these 2 file urls are getting confused.Any ideas how to resolve this?
Thanks … DuncanAttachments:
You must be logged in to view attached files.July 18, 2017 at 4:55 pm #17057Hi, please generate debug report from HMWP start tab and post it here as private reply.
And try emptying out “New wp-content path” field in HMWP general settings tab.If still the issue then please let us know your site’s wp-admin login details as private reply. And where (page url) can we find this URL –
http://vps9618.inmotionhosting.com/~mcac8888/inc/themes/MCaC/includes/lib/assets/fonts/icomoon/icomoon.woffJuly 18, 2017 at 8:05 pm #17059This reply has been marked as private.July 19, 2017 at 5:15 am #17060The URL issue has been resolved. It was because of the replacement you added in “Replace in html” option. I’ve deleted those replacements and added new ones.
July 20, 2017 at 7:41 pm #17071All fixed – thanks for your help. I will propagate that way of replacing html to all my other sites.
-
AuthorPosts
You must be logged in to reply to this topic.

