Following with this dicussion
Is it possible to add a redirect from /uploads/default/(*)
to https://kodular-community.s3.dualstack.eu-west-1.amazonaws.com/$1
?
This would fix all 404 requests to all posts in our community
Following with this dicussion
Is it possible to add a redirect from /uploads/default/(*)
to https://kodular-community.s3.dualstack.eu-west-1.amazonaws.com/$1
?
This would fix all 404 requests to all posts in our community
For that you want to do a remap.
Thanks, I made the following remap and it worked!
rake posts:remap["<a class=\"attachment\" href=\"/uploads/default/","<a class=\"attachment\" href=\"https://kodular-community.s3.dualstack.eu-west-1.amazonaws.com/"]