mirror of https://github.com/istio/istio.io.git
redirect preliminary links to preliminary.istio.io (#7935)
This commit is contained in:
parent
06de861a7b
commit
b73bb6a5ed
|
|
@ -43,6 +43,11 @@ https://istio.netlify.com/* https://istio.io/:splat 301!
|
||||||
{{ strings.TrimPrefix "/latest" $p.Permalink }} {{ $p.Permalink}}
|
{{ strings.TrimPrefix "/latest" $p.Permalink }} {{ $p.Permalink}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
# redirect current version to /latest
|
||||||
/v{{ .Site.Data.args.version }}/* /latest/:splat
|
/v{{ .Site.Data.args.version }}/* /latest/:splat
|
||||||
|
|
||||||
|
#redirect next version to preliminary
|
||||||
|
/v{{ .Site.Data.versions.preliminary }}/* https://preliminary.istio.io/latest/:splat
|
||||||
|
|
||||||
http://archive.istio.io /archive 301!
|
http://archive.istio.io /archive 301!
|
||||||
http://archive.istio.io/* /:splat 301!
|
http://archive.istio.io/* /:splat 301!
|
||||||
Loading…
Reference in New Issue