library wp-s3
Stores WordPress uploads on Amazon S3. Optionally allows you to use a Cloudfront distribution.
nowzoo/wp-s3
Stores WordPress uploads on Amazon S3. Optionally allows you to use a Cloudfront distribution.
- Wednesday, April 8, 2015
- by cdcarson
- Repository
- 1 Watchers
- 1 Stars
- 52 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 1 Forks
- 0 Open issues
- 4 Versions
- 0 % Grown
NowZoo WordPress S3
Stores WordPress uploads in an Amazon S3 bucket. Optionally, enables the use of a Cloudfront distribution., (*1)
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):, (*2)
<?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
dev-master
9999999-dev
https://github.com/nowzoo/wp-s3
Stores WordPress uploads on Amazon S3. Optionally allows you to use a Cloudfront distribution.
Sources
Download
MIT
The Requires
by
Christopher Carson
wordpress
s3
aws
cloudfront