Skip to content

theranger/DOSync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

This plugin captures all file uploads (images and attachments) and stores files in DigitalOcean Spaces container. Files are deleted from Wordpress upload directory to save disk space. File locations are changed accordingly to point to DigitalOcean Spaces container. When deleting files from media library, they will be removed from Spaces bucket as well.

This plugin has a basic support to move existing media library items to Spaces. Please be careful, making backups from existing library is highly recommended before trying this!

Installation

  1. Upload the plugin files to the /wp-content/plugins/dosync directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the Plugins screen in WordPress.
  3. Use the Settings -> DOSync page to configure the plugin (Digital Ocean API key required).

Credits