Hey @davidhauck! 
So a few things with the following -
http://archive.istio.io/ http://istio.io/archive 301!
http://archive.istio.io/* http://istio.io/:splat 301!
https://archive.istio.io/ https://istio.io/archive 301!
https://archive.istio.io/* https://istio.io/:splat 301!
For starters, you don’t ever need to write redirects from HTTP to HTTPS - Netlify does that automatically and the redirects engine begins after the request is transitioned to HTTPS. So we can always just write redirects assuming HTTPS
So that gets us to:
https://archive.istio.io/ https://istio.io/archive 301!
https://archive.istio.io/* https://istio.io/:splat 301!
So I checked some things from CLI and can confirm that hitting archive.istio.io/anything will do the splat redirect (second one) but just hitting the plain domain won’t redirect at all. Honestly I think there’s some clashing happening between those two rules because technically the from
in the first one (https://archive.istio.io/
) does actually meet the match pattern for the second (https://archive.istio.io/*
) since the wildcard can represent nothing.
Your specific redirection need - to redirect to /archive
if hitting the archive subdomain with no path, otherwise redirecting to /path
if hitting the archive subdomain with a path is unique for sure.
Is there a way you could refactor some things to fit this instead? I think this may be more effective, though I understand that could require some real work!
https://archive.istio.io/* https://istio.io/archive/:splat 301!
–
Jon