Load Uploads From Production WP Registry grade B. Medium-severity findings · 1 findingWP RegistryMedium-severity findings · 1 findingOpen the reportB
This plugin rewrites attachment URLs to the production site if they are not found on the staging site. Please de-activate in production.
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/pie/load-uploads-from-production/archive/refs/heads/main.zipThis plugin checks to see if attachments are available via HTTP it your current site URL and, if they return a 404, it replaces the local domain in their URL with the production site URL.
Installation
- Upload the Latest Version, either the .zip file via the plugins page in WP Admin or directly to your plugins directory
- Activate the plugin
- Add your production site URL to WP Admin > Settings > General > Production Adress (URL)
Support
This plugin is offered as is with no warranty and without support. Please do not use it on production sites. If you find a bug or have any suggestions for improvements then please submit them via github issue at https://github.com/pie/load-uploads-from-production/issues
Releases
4 releases.
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.