Viewing 1 replies (of 1 total)
  • Thread Starter Cyberchicken

    (@cyberchicken)

    Update:

    I then stripped all the root part of the path, leaving just
    “wp-content/fonts/mulish/1Ptyg83HX_SGhgqO0yLcmjzUAuWexZNR8aevHZ47LTd9ww.woff”
    and it worked.

    I was wrong: it worked just for the root fo the site; for anything with a non-blank slug the fonts that were tried to be loaded from a path like
    https://www.example.com/home/h6kj08g4/public_html/myWonderfulPageSlug/wp-content/fonts/mulish/1Ptyg83HX_SGhgqO0yLcmjzUAuWexZNR8aevHZ47LTd9ww.woff

    So I decided to uninstall Kirki plugin, delete the correponding option from the db, reinstall the plugin, and now everything works as it should.

    Note: the option kirki_downloaded_font_files is much leaner, (I believe there were many duplicates before).
    All the local paths are like
    “/var/www/vhosts/example.com/httpdocs/myWordpressInstallationFolder/wp-content/fonts/questrial/QdVUSTchPBm7nuUeVf70sSFjuW44JUcz.woff”
    which I think is wrong, because the document root could change, and should be calculated, not hardcoded in the db; the cache should take care of any performance hit.

    Please make me you considerations.

    Thank you

Viewing 1 replies (of 1 total)
  • The topic ‘old path in migrated site’ is closed to new replies.