Aggregate all linked CSS-files – CDN issue
-
Hello,
I’m using CDN for all my assets via your plugin, which works perfectly.
However, if I select “Aggregate all linked CSS-files? If this option is off, the individual CSS-files will remain in place but will be minified.” option, font-family URL is replaced with the website domain, not with the CDN one.
> For example:
When set the Aggregate option is OFF, your plugin combines CSS scripts, and serves it from cdn.wojtek.ch domain.url(https://cdn.wojtek.ch/wp-content/themes/ecko-hydra/./assets/font/Muli-Regular.woff) format("woff")But when I set the Aggregate option to ON. It combines ALL assets to 1 file and serves it from CND, but (in my case) fonts URL is set for //wojtek.ch domain.
url(//wojtek.ch/wp-content/themes/ecko-hydra/./assets/font/Muli-Regular.woff) format("woff")which is not what I want.In the original file:
font is defined as:
url(“./assets/font/Muli-Regular.woff”) format(“woff”);Could you take a look at this problem? Thanks!
Wojtek.
The page I need help with: [log in to see the link]
The topic ‘Aggregate all linked CSS-files – CDN issue’ is closed to new replies.