{"id":402491,"date":"2024-06-20T08:00:00","date_gmt":"2024-06-20T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/advanced-media-offloader\/"},"modified":"2025-10-17T00:31:00","modified_gmt":"2025-10-17T00:31:00","slug":"advanced-media-offloader","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/advanced-media-offloader\/","title":{"rendered":"Advanced Media Offloader"},"content":{"rendered":"<p><strong>Advanced Media Offloader<\/strong> helps you optimize your WordPress media handling by automatically uploading your media files to S3-compatible cloud storage services.<\/p>\n<p>Struggling with server space limitations? Want to improve your site\u2019s 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.<\/p>\n<h4>Key Benefits<\/h4>\n<ul>\n<li>Reduce server storage requirements and costs<\/li>\n<li>Decrease server load when serving media files<\/li>\n<li>Improve global site loading speeds when combined with CDN services<\/li>\n<li>Maintain full compatibility with WordPress media functions<\/li>\n<li>No need to modify existing content \u2013 URLs are automatically rewritten<\/li>\n<\/ul>\n<h4>Supported Cloud Providers<\/h4>\n<ul>\n<li><strong>Amazon S3<\/strong> \u2013 The industry standard object storage service<\/li>\n<li><strong>Cloudflare R2<\/strong> \u2013 S3-compatible storage with zero egress fees<\/li>\n<li><strong>DigitalOcean Spaces<\/strong> \u2013 Simple object storage from DigitalOcean<\/li>\n<li><strong>MinIO<\/strong> \u2013 Self-hosted, S3-compatible object storage<\/li>\n<li><strong>Wasabi<\/strong> \u2013 Hot cloud storage with predictable pricing<\/li>\n<\/ul>\n<h3>Features<\/h3>\n<ul>\n<li><strong>Automatic Offloading<\/strong> \u2013 New media uploads are automatically sent to your cloud storage<\/li>\n<li><strong>Smart Policies<\/strong> \u2013 Create advanced rules to control exactly which files are offloaded and when, giving you granular control over your storage. (<a href=\"https:\/\/wpfitter.com\/blog\/implementing-smart-retention-policies-with-advanced-media-offloader\/\" rel=\"nofollow ugc\">Learn more<\/a>)<\/li>\n<li><strong>Bulk Migration & WP CLI<\/strong> \u2013 Easily move existing media to the cloud with powerful command-line support for bulk operations and automation (<a href=\"https:\/\/wpfitter.com\/blog\/advmo-bulk-offload-with-wp-cli\" rel=\"nofollow ugc\">Learn more<\/a>)<\/li>\n<li><strong>Smart URL Rewriting<\/strong> \u2013 All media URLs are automatically rewritten to serve from cloud storage<\/li>\n<li><strong>File Versioning<\/strong> \u2013 Add unique timestamps to media paths to prevent caching issues<\/li>\n<li><strong>Flexible Retention<\/strong> \u2013 Choose to keep local copies or remove them after successful offloading<\/li>\n<li><strong>Mirror Deletion<\/strong> \u2013 Optionally remove files from cloud storage when deleted from WordPress<\/li>\n<li><strong>Custom Paths<\/strong> \u2013 Configure custom path prefixes in your cloud storage<\/li>\n<li><strong>Developer-Friendly<\/strong> \u2013 Action hooks for extending functionality<\/li>\n<\/ul>\n<h3>Configuration<\/h3>\n<p>For security, cloud provider credentials are stored in your <code>wp-config.php<\/code> file rather than the database.<\/p>\n<p><strong><a href=\"https:\/\/developers.cloudflare.com\/r2\/\" rel=\"nofollow ugc\">Cloudflare R2<\/a> Configuration<\/strong><\/p>\n<pre><code>    define('ADVMO_CLOUDFLARE_R2_KEY', 'your-access-key');\n    define('ADVMO_CLOUDFLARE_R2_SECRET', 'your-secret-key');\n    define('ADVMO_CLOUDFLARE_R2_BUCKET', 'your-bucket-name');\n    define('ADVMO_CLOUDFLARE_R2_DOMAIN', 'your-domain-url');\n    define('ADVMO_CLOUDFLARE_R2_ENDPOINT', 'your-endpoint-url');\n<\/code><\/pre>\n<p><strong><a href=\"https:\/\/www.digitalocean.com\/products\/spaces\" rel=\"nofollow ugc\">DigitalOcean Spaces<\/a> Configuration<\/strong><\/p>\n<pre><code>    define('ADVMO_DOS_KEY', 'your-access-key');\n    define('ADVMO_DOS_SECRET', 'your-secret-key');\n    define('ADVMO_DOS_BUCKET', 'your-bucket-name');\n    define('ADVMO_DOS_DOMAIN', 'your-domain-url');\n    define('ADVMO_DOS_ENDPOINT', 'your-endpoint-url');\n<\/code><\/pre>\n<p><strong><a href=\"https:\/\/min.io\/docs\/minio\/linux\/administration\/identity-access-management\/minio-user-management.html\" rel=\"nofollow ugc\">MinIO<\/a> Configuration<\/strong><\/p>\n<pre><code>    define('ADVMO_MINIO_KEY', 'your-access-key');\n    define('ADVMO_MINIO_SECRET', 'your-secret-key');\n    define('ADVMO_MINIO_BUCKET', 'your-bucket-name');\n    define('ADVMO_MINIO_DOMAIN', 'your-domain-url');\n    define('ADVMO_MINIO_ENDPOINT', 'your-endpoint-url');\n    define('ADVMO_MINIO_PATH_STYLE_ENDPOINT', false); \/\/ Optional. Set to true if your MinIO server requires path-style URLs (most self-hosted MinIO setups). Default is false.\n    define('ADVMO_MINIO_REGION', 'your-bucket-region'); \/\/ Optional. Set your MinIO bucket region if needed. Default is 'us-east-1'.\n<\/code><\/pre>\n<p><strong><a href=\"https:\/\/aws.amazon.com\/s3\/\" rel=\"nofollow ugc\">Amazon S3<\/a> Configuration<\/strong><\/p>\n<pre><code>    define('ADVMO_AWS_KEY', 'your-access-key');\n    define('ADVMO_AWS_SECRET', 'your-secret-key');\n    define('ADVMO_AWS_BUCKET', 'your-bucket-name');\n    define('ADVMO_AWS_REGION', 'your-bukcet-region');\n    define('ADVMO_AWS_DOMAIN', 'your-domain-url');\n<\/code><\/pre>\n<p><strong><a href=\"https:\/\/docs.wasabi.com\/docs\/creating-a-new-access-key\" rel=\"nofollow ugc\">Wasabi<\/a> Configuration<\/strong><\/p>\n<pre><code>    define('ADVMO_WASABI_KEY', 'your-access-key');\n    define('ADVMO_WASABI_SECRET', 'your-secret-key');\n    define('ADVMO_WASABI_BUCKET', 'your-bucket-name');\n    define('ADVMO_WASABI_REGION', 'your-bukcet-region');\n    define('ADVMO_WASABI_DOMAIN', 'your-domain-url');\n<\/code><\/pre>\n<h3>Using the S3 PHP SDK<\/h3>\n<p>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.<\/p>\n<p>For more information about the AWS SDK for PHP, visit:<br \/>\n<a href=\"https:\/\/aws.amazon.com\/sdk-for-php\/\" rel=\"nofollow ugc\">https:\/\/aws.amazon.com\/sdk-for-php\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Offload WordPress media to cloud storage (Amazon S3, Cloudflare R2, DigitalOcean, MinIO, Wasabi) to reduce server load &#038; improve site performance.<\/p>\n","protected":false},"author":65,"featured_media":402492,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"Advanced Media Offloader - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"Offload WordPress media to cloud storage (Amazon S3, Cloudflare R2, DigitalOcean, MinIO, Wasabi) to reduce server load & improve site performance."},"footnotes":""},"categories":[1],"tags":[5475,787,5876,1453],"class_list":["post-402491","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-cloudflare","tag-media-library","tag-offload","tag-s3"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/402491","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=402491"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/402491\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/402492"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=402491"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=402491"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=402491"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}