WP Manifestindependent plugin directory
manifest / developer / redirect-uploads

Redirect Uploads to Live Site WP Registry grade A-. Low-severity findings · 1 findingWP RegistryLow-severity findings · 1 findingOpen the reportA-

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.

★ 3stars
2.0latest · 2 years ago

Install

Download source zip No release zip yet

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/artemlytvynenko/redirect-uploads/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

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 domain of a live site?

Go to Settings > Redirect Uploads and change the domain in the Live Site Domain field.

Is the plugin compatible with caching?

Yes, the plugin is compatible with most popular caching plugins. However, if you experience problems, please clear your cache after changing the settings.

Support

If you have any questions or issues, please create a ticket on the plugin page in the WordPress repository or contact the developer.

License

This plugin is licensed under the GNU General Public License v3.0 or later. The full license is available at https://www.gnu.org/licenses/gpl-3.0.html.


Author: Artem Lytvynenko
Version: 2.0
License: GPL-3.0+

Releases

2 releases.

Tag
Published
2.0 latest
Sep 9, 2024 2 years ago
1.0
Jun 19, 2024 2 years ago

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.

A- grade

Security

Redirect Uploads to Live Site 2.0 · audited by WP Registry

Low-severity findings only.

1 low
Audited release
2.0
Findings
1
Worst severity
low
Content hash
0480a2a19c9cb96670d2d4e6…

Findings

  • low Cache clear accepts any logged-in user with valid nonce

    missing_capability

    redirect_uploads_clear_cache on admin_init verifies clear_cache_action nonce but never checks manage_options. Any authenticated user who can create that nonce can delete plugin transients. Blast radius is limited to cache flush.

    redirect-uploads.php:100-110

    Recommendation

    Require current_user_can('manage_options') before clearing transients.

WP Registry hashes the installable build and reports on that exact bytes-for-bytes copy. Embargoed findings are withheld until they are disclosed, so a clean verdict means nothing public is outstanding. WP Manifest does not audit code itself.