As an engineering team at @Close, we’re trying to write more about what we are learning/doing. I recently got to dabble in a little coding project, so I wrote it up. This post originally appeared on the Close Engineering Blog here.
We host our main marketing website, close.com, as a static site (in our case, generated via Lektor) served by AWS. We store all the staticly generated files in S3 and have a Cloudfront distribution in front as our CDN.
Occasionally, we’ll need to setup a redirect, to point an old URL to a new URL, for example when combining two pages.
In S3 hosted static websites like ours, there were basically two main ways to accomplish redirects…Read the rest of this entry »