• So I installed the WP Offload Media Lite edition on my WP but I am facing 2 issues:
    Issue# 1: media not being uploaded to S3
    Here is what I have done with configuration:
    – Added all keys to wp-config.php file
    – Activated “Copy to Bucket” option
    – Created the bucket on S3 and disabled Public block.
    – Created the folder “uploads” on S3 and set path to uploads/ from WP offload settings page.
    When I upload any media, it shows the path to S3 but url does not work and when checking on S3, there is no uploaded file.
    What could be the issue here? Am I missing something?
    Issue# 2: Cloudflare is not working properly
    I chose to have CDN and set up Cloudflare as described on your website.
    – Bucket name is exactly the same as my domain with the subdomain static (static.mydomain.com)
    – Added static CNAME to Cloudfare and pointing to (static.mydomain.com.com.s3-us-east-1.amazonaws.com)
    – Activated Cloudflare CDN on WP Offload settings page.
    – Uploaded a photo to S3 bucket manually. Direct visit to S3 url (without CDN) works fine. However, using the CDN url shows access denied and sometime error (Error 1016) from Cloudflare.
    Am I missing something here?

Viewing 2 replies - 1 through 2 (of 2 total)
  • I solved it by changing the object ownership to Object writer in the Bucket Permissions.

    Plugin Author Delicious Brains

    (@deliciousbrains)

    No idea why your offloads aren’t working, I recommend nabbing yourself a license and contacting us through the plugin’s “Support” tab with details of the issue and we’ll try and help with that.

    However, for …

    Added static CNAME to Cloudfare and pointing to (static.mydomain.com.com.s3-us-east-1.amazonaws.com)

    Use static.mydomain.com.s3.amazonaws.com instead as the us-east-1 region is the default and treated slightly differently by Cloudflare.

    Also, there was a double “.com” in the above, hopefully that was just a copy/paste typo here and not in the Cloudflare setup.

    -IJ

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Two issues: Media to Being Uploaded to S3 and Cloudflare Not Working’ is closed to new replies.