前言介紹
- 這款 WordPress 外掛「Advanced Media Offloader」是 2024-06-19 上架。
- 目前有 600 個安裝啟用數。
- 上一次更新是 2025-04-13,距離現在已有 19 天。
- 外掛最低要求 WordPress 5.6 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 8.1 以上。
- 有 17 人給過評分。
- 論壇上目前有 11 個提問,問題解答率 82% ,不低,算是個很有心解決問題的開發者團隊了!
外掛協作開發者
masoudin | teledark | wpfitter | bahreynipour |
外掛標籤
s3 | offload | cloudflare | media library |
內容簡介
總結:Advanced Media Offloader 可自動將 WordPress 網站上的媒體附件上傳至 S3 相容的雲端儲存空間,並適當替換URL以從雲端提供媒體,有助於減輕伺服器負載、增加頁面速度並優化媒體傳遞。
問題與答案:
1. 這個外掛的主要功能是什麼?
- 自動將新的媒體附件上傳至 S3 相容的雲端儲存空間。
- 替換URL,使媒體直接從雲端提供。
- 提供進一步擴展的 hooks。
2. Advanced Media Offloader 使用什麼類型的 SDK 來與 S3 相容的雲端儲存空間互動?
- 使用 AWS SDK for PHP 來與 S3 相容的雲端儲存空間互動。
3. AWS SDK for PHP 提供了什麼功能?
- 提供易於使用的 API 來管理雲端儲存操作。
- 包括檔案上傳、下載等功能。
- 藉由 Amazon Web Services 維護,確保與 S3 服務的高相容性和效能。
原文外掛簡介
Advanced Media Offloader helps you optimize your WordPress media handling by automatically uploading your media files to S3-compatible cloud storage services.
Struggling with server space limitations? Want to improve your site’s performance by serving media through a CDN? This plugin handles the technical work of migrating your media to the cloud, rewriting URLs, and maintaining compatibility with your existing content.
Key Benefits
Reduce server storage requirements and costs
Decrease server load when serving media files
Improve global site loading speeds when combined with CDN services
Maintain full compatibility with WordPress media functions
No need to modify existing content – URLs are automatically rewritten
Supported Cloud Providers
Amazon S3 – The industry standard object storage service
Cloudflare R2 – S3-compatible storage with zero egress fees
DigitalOcean Spaces – Simple object storage from DigitalOcean
MinIO – Self-hosted, S3-compatible object storage
Wasabi – Hot cloud storage with predictable pricing
Features
Automatic Offloading – New media uploads are automatically sent to your cloud storage
Bulk Migration – Easily move existing media to the cloud (50 files per batch)
Smart URL Rewriting – All media URLs are automatically rewritten to serve from cloud storage
File Versioning – Add unique timestamps to media paths to prevent caching issues
Flexible Retention – Choose to keep local copies or remove them after successful offloading
Mirror Deletion – Optionally remove files from cloud storage when deleted from WordPress
Custom Paths – Configure custom path prefixes in your cloud storage
Developer-Friendly – Action hooks for extending functionality
Configuration
For security, cloud provider credentials are stored in your wp-config.php file rather than the database.
Cloudflare R2 Configuration
define('ADVMO_CLOUDFLARE_R2_KEY', 'your-access-key');
define('ADVMO_CLOUDFLARE_R2_SECRET', 'your-secret-key');
define('ADVMO_CLOUDFLARE_R2_BUCKET', 'your-bucket-name');
define('ADVMO_CLOUDFLARE_R2_DOMAIN', 'your-domain-url');
define('ADVMO_CLOUDFLARE_R2_ENDPOINT', 'your-endpoint-url');
DigitalOcean Spaces Configuration
define('ADVMO_DOS_KEY', 'your-access-key');
define('ADVMO_DOS_SECRET', 'your-secret-key');
define('ADVMO_DOS_BUCKET', 'your-bucket-name');
define('ADVMO_DOS_DOMAIN', 'your-domain-url');
define('ADVMO_DOS_ENDPOINT', 'your-endpoint-url');
MinIO Configuration
define('ADVMO_MINIO_KEY', 'your-access-key');
define('ADVMO_MINIO_SECRET', 'your-secret-key');
define('ADVMO_MINIO_BUCKET', 'your-bucket-name');
define('ADVMO_MINIO_DOMAIN', 'your-domain-url');
define('ADVMO_MINIO_ENDPOINT', 'your-endpoint-url');
Amazon S3 Configuration
define('ADVMO_AWS_KEY', 'your-access-key');
define('ADVMO_AWS_SECRET', 'your-secret-key');
define('ADVMO_AWS_BUCKET', 'your-bucket-name');
define('ADVMO_AWS_REGION', 'your-bukcet-region');
define('ADVMO_AWS_DOMAIN', 'your-domain-url');
Wasabi Configuration
define('ADVMO_WASABI_KEY', 'your-access-key');
define('ADVMO_WASABI_SECRET', 'your-secret-key');
define('ADVMO_WASABI_BUCKET', 'your-bucket-name');
define('ADVMO_WASABI_REGION', 'your-bukcet-region');
define('ADVMO_WASABI_DOMAIN', 'your-domain-url');
Using the S3 PHP SDK
The Advanced Media Offloader utilizes the AWS SDK for PHP to interact with S3-compatible cloud storage. This powerful SDK provides an easy-to-use API for managing your cloud storage operations, including file uploads, downloads, and more. The SDK is maintained by Amazon Web Services, ensuring high compatibility and performance with S3 services.
For more information about the AWS SDK for PHP, visit:
https://aws.amazon.com/sdk-for-php/
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Advanced Media Offloader」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
2.0.0 | 2.0.1 | 2.0.2 | 2.0.3 | 2.1.0 | 3.0.0 | 3.1.0 | 3.2.0 | 3.3.0 | 3.3.1 | 3.3.2 | 3.3.3 | trunk |
延伸相關外掛(你可能也想知道)
WP Offload Media Lite for Amazon S3, DigitalOcean Spaces, and Google Cloud Storage 》曾經叫做 WP Offload S3 Lite, , 這個外掛可自動複製透過 WordPress 媒體上傳工具新增的圖片、影片、文件或任何其他類型的媒體到Amazon S3、DigitalOcean Spa...。
Media Cloud for Bunny CDN, Amazon S3, Cloudflare R2, Google Cloud Storage, DigitalOcean and more 》Media Cloud 是 WordPress 的一款革命性外掛程式,可大幅提升您的網站效能,並徹底改變您在 WordPress 中處理媒體的方式。此外掛透過將圖像、媒體和其他檔案...。
SSU – WordPress Amazon S3 & Wasabi Smart File Uploads Plugin 》能夠直接使用自定義上傳來將本地文件直接上傳到您的 Amazon S3 & Wasabi 存儲桶中。不需要再先將文件上傳到服務器上。, , Amazon S3 & Wasabi Smart File U...。
Upcasted S3 Offload – AWS S3, Digital Ocean Spaces, Backblaze, Minio and more 》ucket directly from the plugin interface;, Migration tool: migrate all your existing media library files to S3 storage;, Auto-offload: automaticall...。
S3 Image Optimizer 》S3圖像優化程式將使用EWWW圖像優化器在1-1,000+個Amazon S3存儲桶中優化所有圖像。由於EWWW IO直接與像WP Offload Media這樣的插件集成,因此S3 IO通常適用於...。
Amazon S3 for WordPress 》這個 WordPress 外掛讓你可以使用 Amazon 的簡易儲存服務 (Amazon Simple Storage Service) 來主機你的 WordPress 博客的媒體檔案。, Amazon S3 是一個便宜而...。
ArvanCloud Object Storage 》使用 ArvanCloud 儲存外掛,您可以直接將 WordPress 檔案和資料庫備份、上傳至 ArvanCloud 的物件儲存桶。這個易於使用的外掛讓您能夠簡單又安全地備份、還原...。
Block Uploading Images for WP Offload Media 》, 這個外掛原來叫做 “WP Offload S3 – Filter Image File Types”,但因商標原因必須更名。, , 這個外掛只停止圖片直接上傳到您的Amazon S3、Digi...。
S3 Secure URL 》使用簡單的短代碼建立存儲在 Amazon S3 服務中的檔案的臨時連結。, 也提供短代碼產生器(見截圖)。, 閱讀詳細指南,以瞭解如何使用此外掛。, 短代碼用法, 以...。
Advanced S3 Destinations for BackWPup 》此外掛需要 BackWPup 或 BackWPup Pro!, 安裝此外掛後,在「BackWPup-> 設定」頁面中會新增一個名為「S3 目的地」的選項卡。, 在此您可以新增額外的 S3 目的...。
Sync media with AWS S3 CloudFront 》此外掛會掃描你的 WordPress 站點中的媒體上傳目錄,將媒體檔案推送到 AWS S3 存儲桶中。換句話說,WordPress 上傳目錄(預設為 wp-content/uploads)中的檔...。
AWS S3 Bucket Browser 》S3 Bucket Browser 允許您利用 Amazon Web Services 的 S3 儲存系統,直接從 S3 的伺服器將檔案提供給訪客使用,瀏覽效率快速且操作容易。您可以透過點擊或面...。
Advanced Custom Fields: ACF S3 Media Files 》您是 Advanced Custom Fields 的愛好者嗎?您已經試用過由 Codemenschen 開發的 Block ACF S3 Media Files 外掛了嗎?Advanced Custom Field (ACF) 是一個功...。
Cloud S3 Storage 》總結:Cloud S3 Storage 外掛能讓您的 WordPress 媒體庫與 S3 相容的雲端儲存方案無縫整合,將媒體檔案儲存至雲端可釋放伺服器空間、提升擴展性,並優化網站...。
Host your blog on S3 or Google Cloud Storage 》此外掛會捕獲您的網誌所有頁面,並將其上傳至 Amazon S3。這樣您可以以非常少的成本來作為靜態頁面方式來維護您的網誌。, 在使用此方式時,請確認您沒有使用...。