Multisite install, fonts not being copied to right place




Wordpress LScache Plugin: Multisite install, fonts not being copied to right place

Last Updated on: Wed, 15 Apr 2026 00:00:02
We run a multi site set up , so the domain is virtual essentially. All works good apart from the fonts not being put in the right place for the cdn (quick) I have the fonts uploaded to root.com/fonts/webfont.woff and in my css reference to the mappeddomain.com/fonts/webfont.woff When cache builds, it is now trying to look in the path mappeddomain.com/wp-content/litespeed/cssjs/mappeddomain.com/fonts/webfont.woff And there is no such folder on the server for this. If I manually create it and put the fonts there it works, but the next time the cache rebuilds this all disappears. How can I ensure fonts are copied correctly? Hi, You mean you have already put CDN path in your CSS ? Could you please share that part of CSS that loads font , without LSCWP ? Best regards, No, we use quic, so in LS cache settings the path field is blank and in my css we just reference the main URL as we normally would. I have the fonts uploaded to root.com/fonts/webfont.woff and in my css reference to the domain alias as this is as multi site install : mappeddomain.com/fonts/webfont.woff When cache builds, it is now trying to look in the path mappeddomain.com/wp-content/litespeed/cssjs/mappeddomain.com/fonts/webfont.woff where the font does not exist Hi, root.com/fonts/webfont.woff does this set as absolute path or relative path ? could you please post the particular code block that loads this font ? Best regards, Hi @CacheCrawler its using absolute path this is the exact code inside the cusomize.php panel. `@font-face font-family: Mandatory src: url(baitplates.com/fonts/mandator-webfont.eot) src: url(baitplates.com/fonts/mandator-webfont.eot?#iefix) format(embedded-opentype), url(baitplates.com/fonts/mandator-webfont.woff2) format(woff2), url(baitplates.com/fonts/mandator-webfont.woff) format(woff), url(baitplates.com/fonts/mandator-webfont.ttf) format(truetype), url(baitplates.com/fonts/mandator-webfont.svg#mandatoryregular) format(svg) font-weight: normal font-style: normal ` Hi, Could you please try use absolute path with scheme on both root domain and cdn domain ? like: https://baitplates.com/xxx and https://cdn.baitplates.com/xxx Best regards, Hi, Im going to mark this topic Resolved , due to lack of activity. If you still need help, please feel free to re-open it. When re-open it, please also change the topic status to not solved Best regards,



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference