Sync media with AWS S3 CloudFront

描述

Plugin scans the media upload directory of your WordPress site and pushes media files from there to AWS S3 bucket. Thus files from wordpress upload directory (default it is wp-content/uploads) are moved to AWS S3 bucket. Besides it is possible to change your images files sources URLs to AWS ones – their src attribute in the HTML will have URLs of AWS bucket CloudFront. Finally you site performance will grow

屏幕截图

  • Configuration tab allows you to enter your AWS S3 “Bucket name”, “Access key” “Secret key”, “Location” and select the directories and file types, which you want to upload to S3.
  • If you want to use CloudFront service, just select “yes” for “Use Cloudfront” option and enter your CloudFront ID in the appropriate field.
  • You can test your AWS S3 credentials by clicking on the “Test link to AWS” button. An appropirate message will be shown.
  • General tab contains the “Upload file to S3” button, which starts the process of the file upload. Besides you can see observe the process thanks to progress bar with the list of the already uploaded files.
  • You will see the message about your invalidation ID if you have saved a configuration “Use Cloudfront” > “yes” and have indicated your CloudFront ID.
  • Src attribute of your images and the other media files depends on the “Use Cloudfront” settings in plugin. In case you do not activate this option, your images sources URLs will stay without changes.
  • In case you have activated “Use Cloudfront” > “yes” and have indicated the CloudFront ID, then the images sources URLs will be changed to the new ones, provided by AWS.

安装

  1. Log in to your WordPress dashboard, navigate to the Plugins menu, click on \”Add New\”
  2. Click on \”Upload Plugin\” and upload the archive \”Add-To-Cart-redirect-for-WooCommerce.zip\” then click on \”Install\”.
  3. Activate the plugin through the \”Plugins\” menu in WordPress.

常见问题

How can I know that my AWS bucket credentials and keys are valid?

There is a test link button to validate your data in advance

Which images will change their source URLs if CloudFront option is used?

Images that are initially called by wordpress methods from the media library will change their URLs to AWS CloudFront domain. CloudFront option will not work in case you have hardcoded content URLs in your template, etc.

Is there any conflicts with the plugin?

It can work wrong if there is already installed any other plugin which uses SDK AWS classes

Which types of images can I upload with this plugin?

Plugin uploads the next file types: gif, png, jpg, jpeg, svg, webp

评价

阅读所有5条评价

贡献者及开发者

“Sync media with AWS S3 CloudFront” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Sync media with AWS S3 CloudFront」插件已被翻译至 1 种本地化语言。 感谢所有译者为本插件所做的贡献。

将“Sync media with AWS S3 CloudFront”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0

  • Stable tested version with the latest WordPress