Home>Support>CDN Url rewrite not working with Page Builder row background image

CDN Url rewrite not working with Page Builder row background image

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

Dear all.

At this time I have a working CDN set up and used various CDN url rewrite plugins successfully.

However, when using Page Builder with background images for whole rows, then the absolute URL is encapsulated in an inline css tag within my index.php.

Consequence is that these background images are not served from the CDN but from the original domain.

I am not quite sure: Is this a bug or maybe lacking feature? How do I get my background-images from Page Builder getting loaded through the CDN? (without putting all the css in a separate file manually)

It would be great if someone gave me a hint.
Cheers
Jens

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 7 years, 11 months ago Alex S
    Hi, I Work Here

    Hi Jens,

    We use the standard WordPress function wp_get_attachment_image_src function to fetch the image URL. If the CDN plugin you’re using doesn’t change this URL over (which it should), we’ll sadly not be compatible with that plugin. I would recommend reporting this issue to the developers of the plugin you’re using as it should be changing the URL over here rather than elsewhere.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More