Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

223
Views
AWS S3 - Website-Redirect-Location header ignoring all other metadata?

I have a bucket on S3 that is configured to be a static website. I'd like to have any requests to the root domain automatically redirect to a subfolder, for instance example.com => example.com/campaign.

This can be accomplished by applying the Website-Redirect-Location metadata to the root index.html object. However when I apply this all other metadata values I add appear to be getting ignored. Is this the intended behavior? Can I not apply other metadata if I'm doing a redirect?

In my particular use-case, I'd like to be able to apply Cache-Control and Expires headers on my index.html object so I can change the redirect value (for instance, change the redirect to example.com => example.com/new-campaign) and have browsers invalidate their cache. Is there any way to accomplish this with S3?

about 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!