WordPress.org

Support

Support » Plugins and Hacks » [Plugin: W3 Total Cache] Broken image URLs with CDN Network install

[Plugin: W3 Total Cache] Broken image URLs with CDN Network install

  • Patrick Daly
    Member

    @developdaly

    Using a network installation of WP modifies the media uploads URL structure to be that of http://example.com/files/2009/05/filename.jpg

    Enabling a CDN then adds a subdomain to that URL. The problem with that is that since that URL is virtual WordPress can’t find the file in the physical location and so it does what a network installation does and checks the subdomain for an existing site. It can’t find it so it sends you to the wp-signup.php page and tells you that you can/cannot create a new site with that subdomain.

    So the issue seems to be that W3TC should modify the htaccess to override WP’s attempt at finding cdn.example.com

    Any ideas on how to implement this now?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Green
    Member

    @hambone614

    Patrick,

    I was wondering why this was happening. Thank you for explaining the root cause in a way a non-tech dude like me can understand.

    I will try inputting the CDN pull URL instead of the CNAME address, maybe that will help…

    Green
    Member

    @hambone614

    FYI, I input the temporary URL of my pull zone and the images stayed intact! When I input the CNAME, they broke.

    I have no idea what the deal is, a fix, or anything else that could be related to the .htaccess, W3 total cache, or WP; but this worked.

    Thanks for the insight Patrick, you helped me think a little differently from before and it’s appreciated.

    Plugin Author Frederick Townes
    Member

    @fredericktownes

    Patrick are you using domain mapping?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: W3 Total Cache] Broken image URLs with CDN Network install’ is closed to new replies.