WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
[resolved] Redirection of original media links for the CDN (6 posts)

  1. robcwright
    Member
    Posted 3 years ago #

    First off, W3TC rocks, thanks for the wonderful plugin.

    I'm having some problems with the CDN portion of the plugin. When I upload media attachments, they seem to be making their way to the CDN just fine and are showing up correctly on pages and posts, but for some reason the rewrite rules don't seem to be working quite right. The media library can't display any thumbnails and when visiting a url directly, ie /wp-content/uploads/2010/01/filename.jpg I'm confronted with a 404. Same reason the thumbnail isn't working in the Media Library I'd presume.

    http://dl.dropbox.com/u/126247/wp-media-library-w3tc.JPG

    I'm assuming this isn't suppose to work like this and kill all of the thumbnails in the library. In my head, visiting a direct link should just redirect to the CDN location and not 404. Also, if we have to hard code a link, we don't want to hardcode the CDN link if we ever change CDN's, cnames, or end up ditching the CDN all together.

    Any insight would be great.

    http://wordpress.org/extend/plugins/w3-total-cache/

  2. Frederick Townes
    Member
    Plugin Author

    Posted 3 years ago #

    Files in your media library in WP Admin do not load from the CDN. Those files are in fact missing from your server.

  3. robcwright
    Member
    Posted 3 years ago #

    Thanks Frederick. After some more digging, it appears an htaccess file worked its way into my uploads folder somewhere along the way.

  4. Frederick Townes
    Member
    Plugin Author

    Posted 3 years ago #

    Ok, so problem resolved?

  5. robcwright
    Member
    Posted 3 years ago #

    Yeah, it is Frederick. Thanks again.

  6. Frederick Townes
    Member
    Plugin Author

    Posted 3 years ago #

    You're welcome.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic