Skip to content
/ wp-s3 Public

Stores WordPress uploads in an Amazon S3 bucket. Optionally, enables the use of a Cloudfront distribution.

License

Notifications You must be signed in to change notification settings

nowzoo/wp-s3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NowZoo WordPress S3

Stores WordPress uploads in an Amazon S3 bucket. Optionally, enables the use of a Cloudfront distribution.

##Features

  • Works on both network and single WordPress installations. The bucket directly mirrors the wp-content/uploads directory.
  • Syncs files immediately on upload, edit and delete.
  • Can sync all a site's uploads at once -- useful if you are importing a site.

Installation

$ composer require nowzoo/wp-s3

Instantiate the admin panels by including this code somewhere (e.g in wp-content/mu-plugins/index.php):

<?php
NowZoo\WPS3\Plugin::inst();

Setup

  • You need an Amazon S3 account.
  • Create an S3 bucket for your WordPress installation. Networked installations only need one bucket.
  • Recommended: Create a dedicated IAM user for the bucket, and attach a policy to the bucket that allows that user to upload and delete objects. Instructions for bucket policies.
  • Enter the AWS user credentials, bucket name and, optionally, a Cloudfront distribution domain...
    • Network installs: /wp-admin/network/settings.php?page=nowzoo-aws-s3
    • Single installs: /wp-admin/settings.php?page=nowzoo-aws-s3

About

Stores WordPress uploads in an Amazon S3 bucket. Optionally, enables the use of a Cloudfront distribution.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages