Support » Plugin: W3 Total Cache » [Plugin: W3 Total Cache] Replaced URL's not always working with CDN (MaxCDN)

  • Let me start with: I’m really impressed with this plugin and the community and author support I see here. Thanks so much for the great work–not an easy job.

    I just started trying to use MaxCDN to cache my static files today. I’m using it with 3 blogs. On two sites, the URL substitution appears to be broken–it looks like it’s dropping off everything but the MaxCDN “replaces site hostname” for many of the image URL’s. All sites are running the latest version of WordPress and the plugin

    Here is an example page that I’ve made up that has both relative and absolute full URL’s in place for testing. In this case the full URL works, but none of the relative URL’s do.

    You can see this page (with debug on for CDN) here at least for the time being:

    Here is the debug from the bottom of that page so you can see the broken substitutions:

    Replaced URLs:
    /images/2012/01/dinner-time-800x533.jpg =>
    /images/2012/01/dinner-time.jpg =>
    /images/2012/01/dinner-time-480x320.jpg => => => => => => => =>

    I setup a 3rd fresh wordpress site for testing and although it has fewer images, it appears to be working exactly as expected. I’m not sure if it’s related to the quantity of images or something else in the HTML that might be throwing off a regex expression.

    I’m open to any input and hopefully can provide useful debugging info. I’ve also submitted a support ticket to the plugin author just in case that helps.



Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Frederick Townes


    If you disable all other plugins does the plugin replace more URLs?

    Thanks for following up.

    With all plugins disabled (except for akismet) the behavior is the same. All image URL’s are being changed, some are just being completely “wiped out” by the target domain instead of the target domain + path_to_image.

    Just to avoid any duplicate work on your part, this is the same issue I’ve documented in your support system as #201204062333.

    Thanks again–


    Plugin Contributor Frederick Townes


    Addressed offline; the bug is fixed in the next release.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: W3 Total Cache] Replaced URL's not always working with CDN (MaxCDN)’ is closed to new replies.