Hi there!
WP Offload Media Team here. Thanks for reaching out with your query we would be happy to assist.
We don’t directly support Contabo, but it seems that it is S3-compatible according to their website. It might need a bit of coding and editing, but you may be able to use our plugin with Contabo.
Our colleague, Ian, wrote a great post where he used filters to get Minio (another S3-compatible storage) working with Offload Media – https://deliciousbrains.com/s3-compatible-storage-provider-minio/
Hope this helps!
hallowww sir, my english isn’t that good but i think i can share someting
like they said: https://deliciousbrains.com/wp-offload-media/doc/wasabi-cloud-storage-quick-start-guide/
you need to install then activate Tweaks Plugin
edit “amazon-s3-and-cloudfront-tweaks.php” file
add code in ” __construct()” function
add_filter(‘as3cf_aws_s3_client_args’, array($this, ‘contabo_s3_client_args’));
add_filter(‘as3cf_aws_s3_url_domain’, array($this, ‘contabo_s3_url_domain’), 10, 5);
add function in “Amazon_S3_and_CloudFront_Tweaks” class
public function contabo_s3_client_args($args)
{
$args[‘endpoint’] = ‘https://<regions>.contabostorage.com’;
$args[‘use_path_style_endpoint’] = true;
return $args;
}
public function contabo_s3_url_domain($domain, $bucket, $region, $expires, $args)
{
return ‘https://<regions>.contabostorage.com/<trace-id>:<bucket-name>’;
}
hi @mikestamford
I have tried as you advise above. But I still get 400 bad request. Can you point out what is could be wrong?
There was an error attempting to check the permissions of the bucket the101world: Error executing "PutObject" on "https://sin1.contabostorage.com/bucketname/wp-content/uploads/2024/03/24163010/as3cf-permission-check.txt"; AWS HTTP error: Client error: PUT https://sin1.contabostorage.com/backetname/wp-content/uploads/2024/03/24163010/as3cf-permission-check.txt resulted in a 400 Bad Request response: InvalidArgumenttx000002fc083e551 (truncated...) InvalidArgument (client): - InvalidArgumenttx000002fc083e55125451e-0065fff2a2-a2c45-defaulta2c45-default-default