Uploads dumped static site by StaticPress into S3.
StaticPress2019-S3 transforms your WordPress into static websites and blogs.
This plugin is a revival of StaticPress-S3 by CI / CD pipeline and TDD, and maintained by volunteers instead of the original no longer maintained.
- Go to Admin page on your WordPress.
- Click [Plugins] -> [Add New].
- Search by keyword:
staticpress2019
. - Click [Install Now] button for
StaticPress2019
andStaticPress2019-S3
. - Click [Activate] button for
StaticPress2019
andStaticPress2019-S3
.
- Click [StaticPress2019] -> [StaticPress2019 Options]
- Set [Static URL] as URL to publish in S3
- Set [Save DIR (Document root)] as appropriate directory to dump static files
- Click [Save Changes]
- Set [AWS Access Key], [AWS Secret Key], [AWS Region] in [StaticPress S3 Option]
- Click [Save Changes]
- Choose [S3 Bucket]
- Click [Save Changes]
- Click [StaticPress2019] -> [StaticPress2019]
- Click [Rebuild]
This plugin uses magic file to detect mime type.
If mime type is not correct, you can specify different magic file from default by using environment variable MAGIC
.