Redirect Uploads to Live Site
This plugin redirects media file requests to a live site. Useful for local development when there is no need to store and upload all media files locally.
by Artem Lytvynenko · github.com/artemlytvynenko/redirect-uploads · website
★ 3stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/artemlytvynenko/redirect-uploads/archive/refs/heads/main.zipFrom the readme
Redirect Uploads to Live Site
Description:
This plugin redirects media file requests to a live site. Useful for local development when you don't need to store and upload all media files locally.
Features
- Automatically replace media file URLs on the local site with live site media file URLs.
- Supports live site domain customization via admin panel.
- URL replacement in any content.
- Support for domains with port.
- Handling URLs with and without protocols.
Installation
1. Upload the plugin to the /wp-content/plugins/ directory.
2. Activate the plugin via the Plugins'' menu in WordPress.
3. Go to Settings Redirect Uploads to configure the live site domain.
Customization
1. After activating the plugin, go to Settings "Redirect Uploads" menu.
2. Enter the live site domain (e.g. https://domain.com) in the "Live Site Domain" field.
3. Click the "Save Settings" button.
Requirements
- WordPress 4.6 or higher.
- PHP 5.6 or higher.
Frequently Asked Questions
How does this plugin work?
The plugin replaces media file URLs in your content with live site URLs, allowing you to display media files from a live site on your local WordPress installation.
What if I want to change the dom
Read the full README on GitHub →
Releases
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.