Skip to content

A WordPress plugin which rewrites media attachment URLs to S3.

Notifications You must be signed in to change notification settings

ministryofjustice/wp-rewrite-media-to-s3

Repository files navigation

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');

About

A WordPress plugin which rewrites media attachment URLs to S3.

Topics

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages