staticpress-s3 icon indicating copy to clipboard operation
staticpress-s3 copied to clipboard

[WordPress Plugin] Static Press to S3!

Results 4 staticpress-s3 issues
Sort by recently updated
recently updated
newest added

Amazon S3のAWS署名バーション2が2019年6月24日に廃止され、AWS SDK for PHP v1とv2はアップグレードが必要になるという記事を見かけました。 参考記事: https://dev.classmethod.jp/cloud/aws/s3-sigv2-abolition/ 公式: https://docs.aws.amazon.com/ja_jp/AmazonS3/latest/dev/UsingAWSSDK.html#UsingAWSSDK-sig2-deprecation > 署名バージョン 2 から署名バージョン 4 への移行 > > AWS SDK for PHP v1 | 主要バージョン V3 にアップグレード。 > AWS SDK...

AMIMOTO AMIを使ってEC2+RDS+Wordpress+S3の構成をAWSで作成いたしました。 再構築する際にauthorやwp-content/pluginsなどのフォルダを除外したいです。 いろいろ調べ、以下を/wp-content/plugins/staticpress/plugin.phpの末尾に 記述すれば除外できるというサイトを見つけたのですが、 実際に記述して再構築を行うとエラーになり、再構築自体が実行されませんでした。 ---------------------------------------------------------------------------- add_action('StaticPress::file_put', 'static_rm', 1); function static_rm($file_dest, $url){ if(strstr($file_dest, '/author/') or strstr($file_dest, '/wp-content/plugins/') or strstr($file_dest, '/wp-json/')){ unlink($file_dest); } } ---------------------------------------------------------------------------- どうすれば再構築時に一部のディレクトリ、ファイルを除外できますでしょうか?

content-typeにsvgを追加しました。

StaicPress is a cool plugin now. :kissing_heart: I hope that it will make good the missing piece and it will be more cool. :thumbsup: :thumbsup::thumbsup::thumbsup::thumbsup: