W3 Total Cache
Rejected files not rejecting (3 posts)

  1. kg
    Posted 5 years ago #

    With a statement

    <fb:comments css="www.domain.com/folder/wp-contents/uploads/fbConnect/css/comments.css?327183216> </fb:comments>

    the url is re-written, which is undesirable so I add to Rejected files: ...


    but the w3tc output seems to ignore my reject setting...

    <!-- W3 Total Cache: CDN debug info:
    Engine: rscf

    Replaced URLs:
    http://www.domain.com/folder/wp-content/uploads/fbConnect/css/comments.css?1296442086 => http://c0123456.cdn2.cloudfiles.rackspacecloud.com/folder/wp-content/uploads/fbConnect/css/comments.css?1296442086

    What am i doing wrong or is this a bug? Perhaps the css= has something to do with the issue.

    Thanks in advance.

  2. kg
    Posted 5 years ago #

    No response, so...

    in the file...


    in the function link_replace_callback() underneath the comment... "Check URL for rejected files"

    and after the foreach block, I added...

    if (preg_match('/' .
    . '/i', $path)) {
    return $match;

    Which solved my issue. I dont want to be hacky like this, but no response on this in 12 hours forces my to dive in. Additionally, there are no filters in the function link_replace_callback() which would have been useful to avoid plugin file modification.

    Hope this helps.

  3. Frederick Townes
    Plugin Author

    Posted 5 years ago #

    This is already fixed in the next release sorry. Also wp-contents/uploads/fbConnect* is correct.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • W3 Total Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic