1 Answer
- Newest
- Most votes
- Most comments
0
So to hopefully assist someone else who runs into this. It turns out that when using the .Net API to add a redirect, you DO NOT add the metadata manually via a putRequest2.Metadata.Add("Website-Redirect-Location", URL) call as the documentation would lead you to believe.
Instead, add the WebsiteRedirectLocation = URL option to the PutObjectRequest. This works just fine.
Hope this saves the next person some time.
answered 5 years ago
Relevant content
- asked 3 years ago
- asked 8 months ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago