| 开发者 |
masoudin
wpfitter bahreynipour teledark |
|---|---|
| 更新时间 | 2026年1月6日 15:38 |
| 捐献地址: | 去捐款 |
| PHP版本: | 8.1 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
/wp-content/plugins/advanced-media-offloader/ or install directly through WordPresswp-config.php (see configuration examples below)Currently supports Amazon S3, Backblaze B2, Cloudflare R2, DigitalOcean Spaces, MinIO & Wasabi. Additional providers are on the roadmap based on user demand.
Existing files remain untouched until you explicitly use the bulk offload feature. New uploads are automatically processed based on your settings.
The plugin hooks into WordPress core media functions using wp_get_attachment_url and related filters. This ensures compatibility with themes, plugins, and core functions without modifying database URLs.
Files offloaded with "Retain Local Files" can be served locally by deactivating the plugin. For full cloud migrations, you'll need to re-download media files if you want to revert.
All generated image sizes are offloaded alongside the original. URL rewriting works for all sizes and srcset attributes.
Yes, since the plugin uses WordPress core hooks for URL rewriting, it's compatible with Elementor, Beaver Builder, WooCommerce, and most other plugins that use standard WordPress media functions.
The free version only supports publicly accessible files. Private files with authenticated access may be added in a future premium version.
With "Mirror Delete" enabled, corresponding cloud files are automatically removed. Otherwise, files remain in cloud storage, potentially creating orphaned objects.
The plugin logs errors to attachment metadata. Check the Media Overview page for detailed error reporting or enable WordPress debug logging for more information.
For optimal performance:
By default, the plugin sets public-read ACL on uploaded objects. However, some providers don't support ACLs, and AWS S3 has ACLs disabled by default on new buckets since April 2023. You should configure bucket-level public access using your provider's bucket policies.
If you encounter AccessControlListNotSupported errors or need to disable ACLs, add the following code to your theme's functions.php or a custom plugin:
add_filter('advmo_object_acl', '__return_false');
advmo_object_acl filter to customize or disable object-level ACL permissionswp-config.php constants (e.g. define('ADVMO_MINIO_PATH_STYLE_ENDPOINT', true);).wp media regenerate command and the Regenerate Thumbnails plugin. Regenerated thumbnails now automatically offload to cloud storage. Note: This feature does not work with Full Cloud Migration retention policy.https:// if missing, eliminating common configuration errorsadvmo_cloud_providers filter to allow adding, removing, or customizing the list of available cloud providersadvmo_aws_domain, advmo_cloudflare_r2_domain, advmo_dos_domain, advmo_minio_domain, advmo_wasabi_domain)advmo_should_upload_original_image filter to control whether original images should be uploaded to cloud (default: true)use_aws_shared_config_files option across all S3-compatible providers to prevent potential conflicts and security issueswp advmo offload for bulk operations and automation (Learn more)