Magzio Offload Media
WordPress plugin to automatically offload media files to an external FTP server.
by Alireza Hajizdeh · github.com/alireza-hajizadeh/magzio-offload-media · website
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/alireza-hajizadeh/magzio-offload-media/archive/refs/heads/main.zipMagzio Offload Media for WordPress
A lightweight and efficient WordPress plugin to automatically offload media library files to an external FTP server, rewrite their URLs, and sync deletions.
This plugin is designed for WordPress sites that need to reduce server load and storage usage by hosting media files on a separate download/FTP server or CDN.
Features
- Automatic Offloading: Uploads new media files and their thumbnails to an FTP server right after they are processed by WordPress.
- URL Rewriting: Seamlessly filters
wp_get_attachment_urlto serve files from your download host/CDN domain. - Deletion Sync: When a media file is deleted from the WordPress media library, it's also automatically deleted from the remote FTP server.
- Local File Cleanup: Option to delete files from the local server after a successful offload to save space.
- Recursive Directory Creation: Automatically creates the necessary directory structure on the remote server (e.g.,
/YYYY/MM/). - Easy Configuration: Simple settings page to manage FTP credentials, paths, and CDN URL.
- Connection Tester: A built-in AJAX tool to test FTP connection settings directly from the admin panel.
Installation
- Download the plugin ZIP file from the Releases page.
- In your WordPress admin panel, go to Plugins > Add New.
- Click Upload Plugin and select the downloaded ZIP file.
- Activate the plugin.
- Go to Settings > Magzio Offload to configure your FTP and CDN details.
Screenshots
(Optional: Add a screenshot of the plugin's settings page here. It makes the repository look much more professional.)

License
This plugin is licensed under the GPL v2 or later. See the LICENSE file for more details.