WP Offload S3 Lite
Re-written Link Incorrect (4 posts)

  1. angeliat1
    Posted 2 years ago #

    The upload works great to S3.
    The image page that is put into the post is incorrect though:

    https://s3.amazonaws.com/mybucketname/wp-content/uploads/2014/03/cat5e-crossover-a-to-b.jpg - does not work

    http://mybucketname.s3.amazonaws.com/wp-content/uploads/2014/03/cat5e-crossover-a-to-b.jpg - works

    Is there a way to easily fix the script so it passes the bucket name properly?


  2. angeliat1
    Posted 2 years ago #

    Got part of it.
    Lines 336 & 337:
    //$domain_bucket = 's3.amazonaws.com/' . $s3object['bucket'];
    $domain_bucket = $s3object['bucket'] . '.s3.amazonaws.com';

    That works perfectly inside the post.

    However, images are not showing on search or category listing pages.
    Any thoughts?

  3. jeremyis
    Posted 2 years ago #

    I'm also having this issue. Changing the code in classes/amazon-s3-and-cloudfront.php as angeliat1 mentioned fixed the issue for me. But, is there a way to get it working without modifying plugin code?

  4. pricklepantz
    Posted 2 years ago #

    I managed to solve this by unticking option Always serve files over https (SSL) in the settings without changing plugin code.
    However I can't replicate angeliat1 problem.

    Hope this helps!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Offload S3 Lite
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic