
外掛標籤
開發者團隊
② 後台搜尋「Ask the Origin – Remote Media Proxy」→ 直接安裝(推薦)
原文外掛簡介
Ask the Origin – Remote Media Proxy displays missing media on a local or staging WordPress site by retrieving it on demand from a configured source site—the origin.
Files already present on your site take precedence. Retrieved files are cached privately, without being added to the uploads directory or imported into the Media Library.
Configure the source and optional HTTP Basic Auth under Settings > Media. No plugin is needed on the source site. The proxy remains disabled until you enable it; it does not enable itself based on the WordPress environment type.
Features
Connect to sources protected by HTTP Basic Auth.
Integrate with Timber 1 and 2 resize filters and Flynt‘s resizeDynamic calls.
Enable or disable the proxy through a native Media toolbar menu, available to users who can manage settings.
Use per-site settings on Multisite or supply configuration in code.
Before you start
The source must use a different hostname and matching uploads paths relative to each site’s base URL. Different single-site, Multisite or CDN upload layouts cannot be mapped.
Protect your local or staging site separately. Authentication on the source does not restrict visitors to your site.
Remote requests
When enabled, the plugin requests missing media from your configured source site. Requests include the file path and any Basic Auth credentials you provide. Visitor cookies and authorization headers are not forwarded. No developer-operated service is used.
Want to contribute?
Report issues or contribute on GitHub.
