Home Forums WordPress Plugins Hide My WP CSS font-face url file confused

This topic is: resolved
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #17055
    DuncanMac
    Post count: 2

    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 … Duncan

    Attachments:
    You must be logged in to view attached files.
    #17057
    Suman M.
    Post count: 12478

    Hi, 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.woff

    #17059
    DuncanMac
    Post count: 2
    This reply has been marked as private.
    #17060
    Suman M.
    Post count: 12478

    The 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.

    #17071
    DuncanMac
    Post count: 2

    All fixed – thanks for your help. I will propagate that way of replacing html to all my other sites.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.