Bedrock File Proxy WP Registry grade B. Medium-severity findings · 2 findingsWP RegistryMedium-severity findings · 2 findingsOpen the reportB
Mirror (or header to) uploaded files from a remote production Bedrock-flavored WordPress site or multisite on your local development copy.
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/utcweb/bedrock-file-proxy/archive/refs/heads/main.zipWordPress Bedrock File Proxy
Mirror (or header to) uploaded files from a remote production Bedrock-flavored WordPress site or multisite on your local development copy. Saves the trouble of downloading a giant uploads directory without sacrificing the images that accompany content.
Installation
- Add the following snippet above the
"type": "composer"entry within the"repositories":section of yourcomposer.jsonfile:
{
"type": "vcs",
"url": "git@github.com:utcweb/bedrock-file-proxy.git"
},
- Install via composer using
--devso it only installs on non-production deployments:
composer require utcweb/bedrock-file-proxy:"*" --dev
No Composer Installation
- Clone this repository into your
plugins/directory. - If using version control, delete the
.git/directory to prevent issues within parent Git history.
Setup
Bedrock File Proxy runs when WordPress is serving a 404 response for a request to the web/app/uploads or wp-uploads directory.
There are four options for this plugin, though only two are currently available via the UI. WP-CLI can be used to tweak the setting though, such as adjusting the mode to header.
wp option update bfp_mode header
Multisite configuration
For a Bedrock multisite installation, set bfp_url to the remote network's uploads root. Do not include a site's sites/{blog_id} directory in this value; that path is part of the requested file path and is appended automatically.
For example, to proxy uploads from https://blog.example.com in a local multisite environment:
wp plugin activate bedrock-file-proxy --url=https://local.example/
wp option update bfp_url https://blog.example.com/app/uploads/ --url=https://local.example/
wp option update bfp_mode download --url=https://local.example/
The plugin and options must be configured on the main site. Multisite upload URLs are network-rooted, so a request such as:
https://local.example/app/uploads/sites/9/2026/08/Expedition-unknown.png
is handled by the main site even when the image belongs to site 9 (/news/). With the configuration above, the proxy downloads the missing file from:
https://blog.example.com/app/uploads/sites/9/2026/08/Expedition-unknown.png
Available options
-
bfp_mode: The method used to retrieve the remote image. Default isheader. One of:download(downloads the remote file to your machine)header(serves the remote file directly)local(likedownloadbut serves an image from a directory in the current parent theme if the download fails)photon(likeheaderbut uses arguments compatible with image resizing)
-
bfp_url: The absolute URL to the uploads directory on the source site. -
bfp_local_dir: The name of the directory in the parent theme where images are stored forlocalmode.
Legacy compatibility
Older sfp_* option values and filter names are still read as fallbacks during migration.
Releases
3 releases.
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.