Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 390 Bytes

README.md

File metadata and controls

12 lines (8 loc) · 390 Bytes

Rewrite Media to S3

A WordPress plugin which rewrites media attachment URLs to S3.

This plugin requires that the constant S3_UPLOADS_BASE_URL is defined. This should be the base URL of the uploads directory at S3, without a trailing slash.

Example to include in wp-config.php:

define('S3_UPLOADS_BASE_URL', 'https://s3-eu-west-1.amazonaws.com/bucketname/uploads');