Linux 软件免费装
Banner图

Zloj S3 – Offload Media to Amazon S3 & S3-Compatible Storage

开发者 zloj.ru
更新时间 2026年10月3日 23:21
PHP版本: 8.1 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

cdn s3 amazon s3 cloud storage offload media

下载

1.4.7 1.4.8

详情介绍:

Zloj S3 moves your media library to cloud object storage. Store uploads in Amazon S3, Cloudflare R2, DigitalOcean Spaces, Wasabi, Backblaze B2, MinIO or any other S3-compatible service, serve them from your bucket or CDN domain, and free up disk space on your server. Features Zloj S3 sends uploaded media to an S3-compatible bucket, rewrites attachment URLs, and removes objects when attachments are deleted. It is built for any S3-compatible endpoint (not only Amazon), can lock credentials with PHP constants, and can migrate existing uploads in AJAX batches with an optional cleanup of identical local copies. The plugin stays idle until the required settings are filled: API host, public host, bucket, access key, and secret key. You can lock any setting with a PHP constant. When a constant is defined it wins over the value on the settings screen, and that field becomes read-only. Access and secret keys are shown as asterisks in the admin, not as the real values. Constants AWS SDK If Aws\S3\S3Client is already loaded, that copy is used. Otherwise the plugin loads the trimmed AWS SDK bundled under vendor/ (S3 only, not the full 40+ MB package).

安装:

  1. Upload the zloj-s3 folder to /wp-content/plugins/.
  2. Activate the plugin.
  3. Open Settings → Zloj S3 and fill in the storage details, or define the constants above.
  4. Use the connection test button (no page reload). It uploads a random file, checks the public URL body for the random hash, then deletes the file.
  5. To migrate existing files, use Upload, keep local files or Upload and remove local files. Cleanup deletes the local file after a successful upload (or when it already matches storage). Find conflicts only compares local files with storage. The job runs in AJAX batches.

常见问题:

Does the plugin run without settings?

No. Offload does nothing until the required fields are filled and offload is enabled.

Why are some fields read-only?

Those values are defined as PHP constants. Remove or undefine the constant to edit the field on the settings screen.

Do I need the full AWS SDK?

No. The bundled copy is reduced to the S3 client. If your site already provides aws/aws-sdk-php, the bundled copy is not loaded.

更新日志:

1.4.8 1.4.7 1.4.6 1.4.5 1.4.4 1.4.3 1.4.2 1.4.1 1.4.0 1.3.3 1.3.2 1.3.1 1.3.0 1.2.1 1.2.0 1.1.0 1.0.0