• The files uploaded to our site is supposed to be sent to Amazon S3 bucket through Amazon Cloudfront service which has stopped working after WordPress and plugin upgrade to the latest version.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello,

    I am having similar issue. Uploaded media are not auto syncing to S3 bucket. I’ve tried changing Auto upload interval to 30 seconds but still no luck

    Thread Starter ssaha1

    (@ssaha1)

    Hi,

    It got solved for me by changing a line in Cdn_Plugin.php

     function _link_replace_callback_ask_cdn($match, $quote, $url, $path) {
    ... 
    ...
    $new_url = $cdn->format_url($path);
    ...
    ...
    }

    inside format_url() function changed $remote_path to $path.

    Hope it works for you as well.

    Thanks 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Amazon Cloudfront Integration not working’ is closed to new replies.