Support » Plugin: Amazon S3 Uploads » [Plugin: Amazon S3 Uploads] upload only to S3, not also to WordPress' server?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author atvdev

    (@atvdev)

    Hi,
    Amazon S3 Uploads does exactly what you ask, it uploads all you content from http://www.example.com/wp-content/uploads/ to Amazon S3, deletes the uploaded files from your server and everytime that a file like http://www.example.com/wp-content/uploads/file.jpg is requested, it automaticaly redirects to the file that is on Amazon S3.

    If you have installed the Amazon S3 Uploads plugin and you see that there are same files on Amazon S3 and on your server, then the plugin must have a bug…

    Be aware that files from your server are uploaded to the Amazon S3 via cron job and not immediately. So you will have to wait some minutes (around 10) to see results.

    Thread Starter Clifford Paulick

    (@cliffpaulick)

    Your clarification got me to try it. It does work as you stated. 😀

    HOWEVER, major questions:

    1) I looked at main site’s .htaccess and I don’t see that this plugin is writing anything to that. So how is it doing the redirects to s3?
    -I like that the URL of the blog post doesn’t have to change and that it redirects/serves it from s3.

    2) Related to Q1, what happens if I choose to disable this plugin. Does my blog now have NO images??? Or does it just not continue the cronjob in the future?

    Thank you.

    Plugin Author atvdev

    (@atvdev)

    About your questions,
    1) the .htaccess is created in the uploads directory, as it must make changes only to the files requested from that directory
    2) If you turn off the plugin, the cron job will stop, images that are already on the Amazon S3 remain there and are streamed from Amazon, new images that you will upload will be stored on your server and streamed from your server.

    If you want all your files to be again on your server, you will have to manually download them from Amazon S3 selected bucket (and subfolder if applied) to your uploads folder. Folders on your server and on Amazon S3 are maintained the same eg.
    http://example.com/wp-content/uploads/2011/10/some_file.jpg
    on Amazon S3 it is stored
    {amazon_bucket_name}/{chosen_subdirectory}/2011/10/some_file.jpg

    Cheers!

    Thread Starter Clifford Paulick

    (@cliffpaulick)

    Excellent. Thank you.

    Nice plugin. 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Amazon S3 Uploads] upload only to S3, not also to WordPress' server?’ is closed to new replies.