• Resolved alexdo

    (@wozprezel)


    Hello Litespeed team,

    I would like to set up my CDN to deliver my self-hosted fonts but I’m having difficulty setting it up. On the Litespeed CDN page, I have .ttf, .woff and .woff2 files as included file types. I tried reuploading the files and regenerating my CSS but it doesn’t seem to fix it.

    Right now, only 1 .woff2 font type (icons) is being hosted by the CDN but not the others. Thanks for your time!

    Report number: RXPDMBYU

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support qtwrk

    (@qtwrk)

    Hi,

    Because these 3 fonts are loaded by a custom CSS with hardcoded path.

    please try use relative path instead of absolute path.

    Best regards,

    Thread Starter alexdo

    (@wozprezel)

    Hi qtwrk,

    I was able to figure it out and change the font paths.

    Thank you and have a great weekend!

    The solution was changing the font path from
    https://website/wp-content/uploads/2020/09/font.woff2 (absolute path)
    to
    /wp-content/uploads/2020/09/font.woff2 (relative path)

    • This reply was modified 4 years ago by alexdo.
    • This reply was modified 4 years ago by alexdo.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘CDN – .woff2 Fonts’ is closed to new replies.